@@ -79,7 +79,7 @@ module SmokeTest1 =
79
79
let data = ml.Data.LoadFromTextFile< SentimentData>( testDataPath, hasHeader = true , allowQuoting = true )
80
80
81
81
let pipeline = ml.Transforms.Text.FeaturizeText( " Features" , " SentimentText" )
82
- .Append( ml.BinaryClassification.Trainers.FastTree( numLeaves = 5 , numTrees = 5 ))
82
+ .Append( ml.BinaryClassification.Trainers.FastTree( numberOfLeaves = 5 , numberOfTrees = 5 ))
83
83
84
84
let model = pipeline.Fit( data)
85
85
@@ -119,7 +119,7 @@ module SmokeTest2 =
119
119
let data = ml.Data.LoadFromTextFile< SentimentData>( testDataPath, hasHeader = true , allowQuoting = true )
120
120
121
121
let pipeline = ml.Transforms.Text.FeaturizeText( " Features" , " SentimentText" )
122
- .Append( ml.BinaryClassification.Trainers.FastTree( numLeaves = 5 , numTrees = 5 ))
122
+ .Append( ml.BinaryClassification.Trainers.FastTree( numberOfLeaves = 5 , numberOfTrees = 5 ))
123
123
124
124
let model = pipeline.Fit( data)
125
125
@@ -156,7 +156,7 @@ module SmokeTest3 =
156
156
let data = ml.Data.LoadFromTextFile< SentimentData>( testDataPath, hasHeader = true , allowQuoting = true )
157
157
158
158
let pipeline = ml.Transforms.Text.FeaturizeText( " Features" , " SentimentText" )
159
- .Append( ml.BinaryClassification.Trainers.FastTree( numLeaves = 5 , numTrees = 5 ))
159
+ .Append( ml.BinaryClassification.Trainers.FastTree( numberOfLeaves = 5 , numberOfTrees = 5 ))
160
160
161
161
let model = pipeline.Fit( data)
162
162
0 commit comments