File tree 4 files changed +12
-7
lines changed
test/Microsoft.ML.Tests/Scenarios
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
+ using Microsoft . ML . Models ;
5
6
using Microsoft . ML . Runtime . Api ;
6
7
using Microsoft . ML . TestFramework ;
8
+ using Microsoft . ML . Trainers ;
9
+ using Microsoft . ML . Transforms ;
7
10
using Xunit ;
8
11
using Xunit . Abstractions ;
9
12
10
13
namespace Microsoft . ML . Scenarios
11
14
{
12
- public partial class Top5Scenarios : BaseTestClass
15
+ public partial class ScenariosTests : BaseTestClass
13
16
{
14
17
/*
15
18
A real-estate firm Contoso wants to add a house price prediction to their ASP.NET/Xamarin application.
@@ -121,7 +124,7 @@ public class HousePricePrediction
121
124
public float Price ;
122
125
}
123
126
124
- public Top5Scenarios ( ITestOutputHelper output ) : base ( output )
127
+ public ScenariosTests ( ITestOutputHelper output ) : base ( output )
125
128
{
126
129
}
127
130
}
Original file line number Diff line number Diff line change 1
- // Licensed to the .NET Foundation under one or more agreements.
1
+ // Licensed to the .NET Foundation under one or more agreements.
2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
5
using Microsoft . ML . Models ;
6
+ using Microsoft . ML . Runtime . Api ;
7
+ using Microsoft . ML . TestFramework ;
6
8
using Microsoft . ML . Trainers ;
7
9
using Microsoft . ML . Transforms ;
8
10
using Xunit ;
11
+ using Xunit . Abstractions ;
9
12
10
13
namespace Microsoft . ML . Scenarios
11
14
{
12
- public partial class Top5Scenarios
15
+ public partial class ScenariosTests
13
16
{
14
17
[ Fact ( Skip = "Missing data set. See https://github.com/dotnet/machinelearning/issues/3" ) ]
15
18
public void TrainAndPredictHousePriceModelTest ( )
@@ -70,4 +73,3 @@ public void TrainAndPredictHousePriceModelTest()
70
73
}
71
74
}
72
75
}
73
-
Original file line number Diff line number Diff line change 10
10
11
11
namespace Microsoft . ML . Scenarios
12
12
{
13
- public partial class Top5Scenarios
13
+ public partial class ScenariosTests
14
14
{
15
15
[ Fact ]
16
16
public void TrainAndPredictIrisModelTest ( )
Original file line number Diff line number Diff line change 13
13
14
14
namespace Microsoft . ML . Scenarios
15
15
{
16
- public partial class Top5Scenarios
16
+ public partial class ScenariosTests
17
17
{
18
18
public const string SentimentDataPath = "wikipedia-detox-250-line-data.tsv" ;
19
19
public const string SentimentTestPath = "wikipedia-detox-250-line-test.tsv" ;
You can’t perform that action at this time.
0 commit comments