Skip to content

Commit 5912c61

Browse files
author
Ron Petrusha
authored
Merge pull request #726 from dotnet/master
Update Live with current Master
2 parents eed4b2c + 4b4adb9 commit 5912c61

File tree

16 files changed

+13
-293
lines changed

16 files changed

+13
-293
lines changed

machine-learning/tutorials/IrisFlowerClustering/IrisFlowerClustering.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
@@ -10,7 +10,7 @@
1010
</ItemGroup>
1111

1212
<ItemGroup>
13-
<PackageReference Include="Microsoft.ML" Version="0.10.0" />
13+
<PackageReference Include="Microsoft.ML" Version="0.11.0" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

machine-learning/tutorials/IrisFlowerClustering/Program.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,8 @@ static void Main(string[] args)
2424
var mlContext = new MLContext(seed: 0);
2525
// </SnippetCreateContext>
2626

27-
// <SnippetSetupTextLoader>
28-
TextLoader textLoader = mlContext.Data.CreateTextLoader<IrisData>(hasHeader: false, separatorChar: ',');
29-
// </SnippetSetupTextLoader>
30-
3127
// <SnippetCreateDataView>
32-
IDataView dataView = textLoader.Read(_dataPath);
28+
IDataView dataView = mlContext.Data.LoadFromTextFile<IrisData>(_dataPath, hasHeader: false, separatorChar: ',');
3329
// </SnippetCreateDataView>
3430

3531
// <SnippetCreatePipeline>

snippets/csharp/concepts/lambda-expressions/async1.cs

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

snippets/csharp/concepts/lambda-expressions/expression3.cs

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

snippets/csharp/concepts/lambda-expressions/infer1.cs

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

snippets/csharp/concepts/lambda-expressions/lambda1.cs

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

snippets/csharp/concepts/lambda-expressions/lambda2.cs

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

snippets/csharp/concepts/lambda-expressions/query1.cs

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

snippets/csharp/concepts/lambda-expressions/scope.cs

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

snippets/csharp/concepts/lambda-expressions/statement1.cs

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

0 commit comments

Comments
 (0)