File tree 2 files changed +4
-4
lines changed
Microsoft.ML.Predictor.Tests
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ public void CV_Multiclass_Digits_RffTransform_OVAAveragedPerceptron()
47
47
. AppendCacheCheckpoint ( mlContext )
48
48
. Append ( mlContext . Transforms . Concatenate ( "Features" , "FeaturesRFF" ) )
49
49
. Append ( new ValueToKeyMappingEstimator ( mlContext , "Label" ) )
50
- . Append ( mlContext . MulticlassClassification . Trainers . OneVersusAll ( mlContext . BinaryClassification . Trainers . AveragedPerceptron ( numberOfIterations : 10 ) ) ) ;
50
+ . Append ( mlContext . MulticlassClassification . Trainers . OneVersusAll ( mlContext . BinaryClassification . Trainers . AveragedPerceptron ( numberOfIterations : 10 ) , useProbabilities : false ) ) ;
51
51
52
52
var cvResults = mlContext . MulticlassClassification . CrossValidate ( data , pipeline , numberOfFolds : 5 ) ;
53
53
}
Original file line number Diff line number Diff line change @@ -220,9 +220,9 @@ public void MulticlassCVTest()
220
220
[ TestCategory ( "Multiclass" ) ]
221
221
public void MulticlassReductionTest ( )
222
222
{
223
- RunOneAllTests ( TestLearners . Ova , TestDatasets . iris , digitsOfPrecision : 6 ) ;
224
- RunOneAllTests ( TestLearners . OvaWithFastForest , TestDatasets . iris , digitsOfPrecision : 6 ) ;
225
- RunOneAllTests ( TestLearners . Pkpd , TestDatasets . iris , digitsOfPrecision : 6 ) ;
223
+ RunOneAllTests ( TestLearners . Ova , TestDatasets . iris , digitsOfPrecision : 5 ) ;
224
+ RunOneAllTests ( TestLearners . OvaWithFastForest , TestDatasets . iris , digitsOfPrecision : 5 ) ;
225
+ RunOneAllTests ( TestLearners . Pkpd , TestDatasets . iris , digitsOfPrecision : 5 ) ;
226
226
227
227
Done ( ) ;
228
228
}
You can’t perform that action at this time.
0 commit comments