Esempio n. 1
0
        private async Task SaveModel(PredictionModel <SalesData, SalesPrediction> model)
        {
            ConsoleWriteHeader("Save model to local file");
            ModelHelpers.DeleteAssets(modelLocation);
            await model.WriteAsync(modelLocation);

            Console.WriteLine($"Model saved: {modelLocation}");
        }