Skip to content

Commit be1907f

Browse files
srsaggamDmitry-A
authored andcommitted
Upgrade command-line-api and default folder name change (dotnet#258)
* change in defautl folderName * upgrade command line * Update src/mlnet/Program.cs Co-Authored-By: srsaggam <[email protected]>
1 parent 3702867 commit be1907f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/mlnet/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ public static void Main(string[] args)
3030
string outputBaseDir = string.Empty;
3131
if (options.Name == null)
3232
{
33-
var datasetName = Path.GetFileNameWithoutExtension(options.Dataset.FullName);
34-
options.Name = Utils.Sanitize(datasetName) + "_" + Utils.GetTaskKind(options.MlTask).ToString();
33+
34+
options.Name = "Sample" + Utils.GetTaskKind(options.MlTask).ToString();
3535
outputBaseDir = Path.Combine(options.OutputPath.FullName, options.Name);
3636
}
3737
else

src/mlnet/mlnet.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<ItemGroup>
1414
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.10.0" />
1515
<PackageReference Include="NLog" Version="4.5.11" />
16-
<PackageReference Include="System.CommandLine.Experimental" Version="0.1.0-alpha-63828-02" />
16+
<PackageReference Include="System.CommandLine.Experimental" Version="0.1.0-alpha-63904-01" />
1717
</ItemGroup>
1818

1919
<ItemGroup>

0 commit comments

Comments
 (0)