summaryrefslogtreecommitdiff
path: root/RhSolutions.ML.Tests
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2024-01-12 00:01:11 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2024-01-12 00:01:11 +0300
commite0931c2e5f3f4897a634e5f8de015370bf010628 (patch)
tree8588d5de502df6bf2a2b790137a6f3a735c2e702 /RhSolutions.ML.Tests
parentac86f7ff2856c0d97798e1dc2974a02d63269a51 (diff)
Fix typo
Diffstat (limited to 'RhSolutions.ML.Tests')
-rw-r--r--RhSolutions.ML.Tests/TestBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/RhSolutions.ML.Tests/TestBase.cs b/RhSolutions.ML.Tests/TestBase.cs
index 6295c3f..04bc4a3 100644
--- a/RhSolutions.ML.Tests/TestBase.cs
+++ b/RhSolutions.ML.Tests/TestBase.cs
@@ -10,8 +10,8 @@ public abstract class TestBase
public TestBase()
{
_mlContext = new MLContext(seed: 0);
- ITransformer loadedNodel = _mlContext.Model.Load(_dataPath, out var _);
- _predEngine = _mlContext.Model.CreatePredictionEngine<Product, TypePrediction>(loadedNodel);
+ ITransformer loadedModel = _mlContext.Model.Load(_dataPath, out var _);
+ _predEngine = _mlContext.Model.CreatePredictionEngine<Product, TypePrediction>(loadedModel);
}
public void Execute(string name, string expectedGroup)