File tree Expand file tree Collapse file tree 5 files changed +9
-67
lines changed
docs/samples/Microsoft.ML.AutoML.Samples Expand file tree Collapse file tree 5 files changed +9
-67
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ namespace Microsoft.ML.AutoML.Samples
88{
99 public static class BinaryClassificationExperiment
1010 {
11- private static string BaseDatasetsLocation = "Data" ;
12- private static string TrainDataPath = Path . Combine ( BaseDatasetsLocation , "wikipedia-detox-250-line-data.tsv" ) ;
13- private static string TestDataPath = Path . Combine ( BaseDatasetsLocation , "wikipedia-detox-250-line-test.tsv" ) ;
14- private static string ModelPath = Path . Combine ( BaseDatasetsLocation , "SentimentModel.zip" ) ;
11+ private static string TrainDataPath = "<Path to your train dataset goes here>" ;
12+ private static string TestDataPath = "<Path to your test dataset goes here>" ;
13+ private static string ModelPath = @"<Desired model output directory goes here>\SentimentModel.zip" ;
1514 private static uint ExperimentTime = 60 ;
1615
1716 public static void Run ( )
Original file line number Diff line number Diff line change 99 <ProjectReference Include =" ..\..\..\src\Microsoft.ML.Auto\Microsoft.ML.Auto.csproj" />
1010 </ItemGroup >
1111
12- <ItemGroup >
13- <Folder Include =" Data\" />
14- </ItemGroup >
15-
16- <ItemGroup >
17- <None Include =" ..\..\..\test\data\taxi-fare-test.csv" Link =" Data\taxi-fare-test.csv" >
18- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
19- </None >
20- <None Include =" ..\..\..\test\data\taxi-fare-train.csv" Link =" Data\taxi-fare-train.csv" >
21- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
22- </None >
23- <None Include =" ..\..\..\test\data\wikipedia-detox-250-line-data.tsv" Link =" Data\wikipedia-detox-250-line-data.tsv" >
24- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
25- </None >
26- <None Include =" ..\..\..\test\data\wikipedia-detox-250-line-test.tsv" Link =" Data\wikipedia-detox-250-line-test.tsv" >
27- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
28- </None >
29- </ItemGroup >
30-
3112</Project >
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ namespace Microsoft.ML.AutoML.Samples
88{
99 public static class MulticlassClassificationExperiment
1010 {
11- private static string BaseDatasetsLocation = "Data" ;
12- private static string TrainDataPath = SamplesDatasetUtils . DownloadOptDigitsTrain ( ) ;
13- private static string TestDataPath = SamplesDatasetUtils . DownloadOptDigitsTest ( ) ;
14- private static string ModelPath = Path . Combine ( BaseDatasetsLocation , "OptDigits.zip" ) ;
11+ private static string TrainDataPath = "<Path to your train dataset goes here>" ;
12+ private static string TestDataPath = "<Path to your test dataset goes here>" ;
13+ private static string ModelPath = @"<Desired model output directory goes here>\OptDigitsModel.zip" ;
1514 private static string LabelColumnName = "Number" ;
1615 private static uint ExperimentTime = 60 ;
1716
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ namespace Microsoft.ML.AutoML.Samples
88{
99 public static class RegressionExperiment
1010 {
11- private static string BaseDatasetsLocation = "Data" ;
12- private static string TrainDataPath = Path . Combine ( BaseDatasetsLocation , "taxi-fare-train.csv" ) ;
13- private static string TestDataPath = Path . Combine ( BaseDatasetsLocation , "taxi-fare-test.csv" ) ;
14- private static string ModelPath = Path . Combine ( BaseDatasetsLocation , "TaxiFareModel.zip" ) ;
11+ private static string TrainDataPath = "<Path to your train dataset goes here>" ;
12+ private static string TestDataPath = "<Path to your test dataset goes here>" ;
13+ private static string ModelPath = @"<Desired model output directory goes here>\TaxiFareModel.zip" ;
1514 private static string LabelColumnName = "FareAmount" ;
1615 private static uint ExperimentTime = 60 ;
1716
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments