Our current template for trainer API reference samples is as follows: 1) Create in-memory random training data (as discussed in #2726 we're avoiding complex datasets and text-loader). 2) Create a pipeline with just the trainer (i.e. focusing only on the API that this sample is about without getting into complex featurization pipeline). 3) Fit the trainer. 4) Generate 5 predictions and output results. 5) Evaluate with in-memory test data and output metrics. Below are some examples: * Binary classification: [FastTree](https://github.com/dotnet/machinelearning/blob/master/docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/FastTree.cs), [FastTreeWithOptions](https://github.com/dotnet/machinelearning/blob/master/docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/BinaryClassification/FastTreeWithOptions.cs) * Regression: [PoissonRegression](https://github.com/dotnet/machinelearning/blob/master/docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/Regression/PoissonRegression.cs), [PoissonRegressionWithOptions](https://github.com/dotnet/machinelearning/blob/master/docs/samples/Microsoft.ML.Samples/Dynamic/Trainers/Regression/PoissonRegressionWithOptions.cs). Other samples will be added using this template. If you want to make any changes please mention them here so that we can finalize the sample. /cc @shauheen @glebuk
Our current template for trainer API reference samples is as follows:
Below are some examples:
Other samples will be added using this template. If you want to make any changes please mention them here so that we can finalize the sample.
/cc @shauheen @glebuk