ML.cs 682 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Application.ATG_Classic_App
  5. {
  6. public class ML
  7. {
  8. public void Go()
  9. {
  10. //CreateEmptyDataView();
  11. ////Create ML Context object
  12. //MLContext mlContext = new MLContext();
  13. ////STEP 1: Create Esimtator
  14. //var estimator =
  15. // mlContext.Transforms.DetectIidSpike(
  16. // outputColumnName: nameof(ProductSalesPrediction.Prediction),
  17. // inputColumnName: nameof(ProductSalesData.numSales),
  18. // confidence: 95, pvalueHistoryLength: size / 4);
  19. }
  20. }
  21. }