You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
v 0.2.0 does not support BinaryLogisticRegressor and LogisticRegressor #328
using Microsoft.ML;
using Microsoft.ML.Data;
using Microsoft.ML.Models;
using Microsoft.ML.Trainers;
using Microsoft.ML.Transforms;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace mlnettest
{
class Program
{
static void Main(string[] args)
{
test1();
test2();
}
static void test1()
{
var pipeline = new LearningPipeline();
pipeline.Add(new BinaryLogisticRegressor());
}
static void test2()
{
var pipeline = new LearningPipeline();
pipeline.Add(new LogisticRegressor());
}
}
}
Program.cs(23,30): error CS0246: The type or namespace name 'BinaryLogisticRegressor' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\guo\Desktop\mlnettest\mlnettest.csproj]
Program.cs(29,30): error CS0246: The type or namespace name 'LogisticRegressor' could not be found (are you missing a using directive or an assembly reference?) [C:\Users\guo\Desktop\mlnettest\mlnettest.csproj]
What did you expect?
If I use v0.1.0 <PackageReference Include="Microsoft.ML" Version="0.1.0" />, the code can run without any issue. I was wondering why v0.2.0 does not support these two learners?
Source code / logs
Please paste or attach the code or logs or traces that would be helpful to diagnose the issue you are reporting.
Hi @helloguo , the names have changed(see #139 ) for these learners. Try LogisticRegressionClassifier and LogisticRegressionBinaryClassifier. The documentation seems to not have been updated for 0.2 either. @aditidugar can you please see that documentation is updated?
Activity
codemzs commentedon Jun 8, 2018
Hi @helloguo , the names have changed(see #139 ) for these learners. Try LogisticRegressionClassifier and LogisticRegressionBinaryClassifier. The documentation seems to not have been updated for 0.2 either. @aditidugar can you please see that documentation is updated?
helloguo commentedon Jun 8, 2018
@codemzs Thank you for pointing it out. I agree it would be very helpful if the doc can be updated.
Closing this issue.
Mem leak fix (dotnet#328)
code migration from machinelearning-automl to machinelearning repo fe…
Mem leak fix (dotnet#328)
Added onnx export functionality for LpNormNormalizingTransformer (#4161)
Added Onnx export functionality to PCATransformer (#4188)