Skip to content

Commit d285582

Browse files
committed
Simplified development and deployment.
1 parent 16ca770 commit d285582

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

src/AutoML.CodeGenerator.Blazor/Pages/Index.razor

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,19 @@
1111
@inject GenerateAutoMLTrainingSampleQuery generateAutoMlTrainingSample
1212
@inject GenerateAutoMLConsumingSampleQuery generateAutoMlConsumingSample
1313

14-
<h1>Generate multi-classification AutoML code (<a href="https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet">ML.NET</a> 1.4)!</h1>
14+
<h1>Generate multi-classification AutoML code (<a href="https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet">ML.NET</a> 1.3+)!</h1>
1515

16+
<br />
1617
<h2>CSV (headers only)</h2>
1718

19+
Enter CSV headers (comma separated) which will be used to generate the columns.
20+
1821
<input type="text" @bind-value="@csv" style="width: 80%" />
1922
<button class="btn btn-primary" @onclick="ReadCsv">Read CSV</button>
2023

2124
@if (metadata != null)
2225
{
26+
<br />
2327
<h2>Parameters for code generation</h2>
2428

2529
<b>Column definitions:</b>
@@ -40,7 +44,7 @@
4044
<option value=@ColumnMLType.Categorical>Categorical (hash)</option>
4145
<option value=@ColumnMLType.Text>Text (tokenization)</option>
4246
<option value=@ColumnMLType.Numeric>Numeric</option>
43-
<option value=@ColumnMLType.Label>Label</option>
47+
<option value=@ColumnMLType.Label>Label (predicted value)</option>
4448
<option value=@ColumnMLType.Ignored>Ignored</option>
4549
<option value=@ColumnMLType.ExampleWeight>Example Weight</option>
4650
<option value=@ColumnMLType.SamplingKey>Sampling key</option>
@@ -111,6 +115,9 @@ using Microsoft.ML.AutoML;
111115
<h2>Sample Console consumption app</h2>
112116

113117
<pre><code>@sampleConsumingCode</code></pre>
118+
119+
<br />
120+
114121
}
115122

116123
@code {

src/AutoML.CodeGenerator.Blazor/Properties/launchSettings.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,14 @@
88
}
99
},
1010
"profiles": {
11-
"IIS Express": {
12-
"commandName": "IISExpress",
13-
"launchBrowser": true,
14-
"environmentVariables": {
15-
"ASPNETCORE_ENVIRONMENT": "Development"
16-
}
17-
},
1811
"AutoML.CodeGenerator.Blazor": {
1912
"commandName": "Project",
2013
"launchBrowser": true,
2114
"environmentVariables": {
2215
"ASPNETCORE_ENVIRONMENT": "Development"
2316
},
17+
"commandLineArgs": "--pathbase=/AutoML.CodeGenerator",
18+
"launchUrl": "http://localhost:51929/AutoML.CodeGenerator",
2419
"applicationUrl": "http://localhost:51929/"
2520
}
2621
}

0 commit comments

Comments
 (0)