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
8
8
{
9
9
public static class BinaryClassificationExperiment
10
10
{
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" ;
15
14
private static uint ExperimentTime = 60 ;
16
15
17
16
public static void Run ( )
Original file line number Diff line number Diff line change 9
9
<ProjectReference Include =" ..\..\..\src\Microsoft.ML.Auto\Microsoft.ML.Auto.csproj" />
10
10
</ItemGroup >
11
11
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
-
31
12
</Project >
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ namespace Microsoft.ML.AutoML.Samples
8
8
{
9
9
public static class MulticlassClassificationExperiment
10
10
{
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" ;
15
14
private static string LabelColumnName = "Number" ;
16
15
private static uint ExperimentTime = 60 ;
17
16
Original file line number Diff line number Diff line change @@ -8,10 +8,9 @@ namespace Microsoft.ML.AutoML.Samples
8
8
{
9
9
public static class RegressionExperiment
10
10
{
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" ;
15
14
private static string LabelColumnName = "FareAmount" ;
16
15
private static uint ExperimentTime = 60 ;
17
16
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments