Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created July 12, 2019 17:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/245792498da19ff2f9247c00548bc703 to your computer and use it in GitHub Desktop.
Save NMZivkovic/245792498da19ff2f9247c00548bc703 to your computer and use it in GitHub Desktop.
// Set the training algorithm
var trainer = mlContext.Regression.Trainers.FastTree(
new FastTreeRegressionTrainer.Options() {
NumberOfLeaves = 98,
MinimumExampleCountPerLeaf = 10,
NumberOfTrees = 500,
LearningRate = 0.07655732f,
Shrinkage = 0.2687001f,
LabelColumnName = "season",
FeatureColumnName = "Features"
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment