Skip to content

Commit f68bf14

Browse files
author
oliag
committed
Reorganized datasets
Moved datasets from tests to examples Removed model files
1 parent 5bd3ec9 commit f68bf14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+37
-2048904
lines changed
-74.4 KB
Binary file not shown.
-2.82 KB
Binary file not shown.

Samples/GitHubLabeler/.gitignore

Lines changed: 0 additions & 288 deletions
This file was deleted.

datasets/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,20 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.ML" Version="0.1.0" />
10+
<Content Include="..\..\datasets\imdb_labeled.txt" Link="datasets\imdb_labeled.txt">
11+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
12+
</Content>
13+
<Content Include="..\..\datasets\yelp_labeled.txt" Link="datasets\yelp_labeled.txt">
14+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
15+
</Content>
1116
</ItemGroup>
1217

1318
<ItemGroup>
14-
<Folder Include="Models\" />
19+
<PackageReference Include="Microsoft.ML" Version="0.1.0" />
1520
</ItemGroup>
1621

1722
<ItemGroup>
18-
<None Update="Models\SentimentModel.zip">
19-
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
20-
</None>
23+
<Folder Include="datasets\" />
2124
</ItemGroup>
2225

2326
</Project>

Samples/GettingStarted/BinaryClassification_SentimentAnalysis/Program.cs renamed to examples/GettingStarted/BinaryClassification_SentimentAnalysis/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ namespace BinaryClassification_SentimentAnalysis
1313
internal static class Program
1414
{
1515
private static string AppPath => Path.GetDirectoryName(Environment.GetCommandLineArgs()[0]);
16-
private static string TrainDataPath => Path.Combine(AppPath, "..", "..", "..", "..", "datasets", "imdb_labeled.txt");
17-
private static string TestDataPath => Path.Combine(AppPath, "..", "..", "..", "..", "datasets", "yelp_labeled.txt");
18-
private static string ModelPath => Path.Combine(AppPath, "Models", "SentimentModel.zip");
16+
private static string TrainDataPath => Path.Combine(AppPath, "datasets", "imdb_labeled.txt");
17+
private static string TestDataPath => Path.Combine(AppPath, "datasets", "yelp_labeled.txt");
18+
private static string ModelPath => Path.Combine(AppPath, "SentimentModel.zip");
1919

2020
private static async Task Main(string[] args)
2121
{
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)