machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

Can ML.NET be used in Windows Forms Application?

Open lessenko opened this issue 5 years ago • 1 comments

System Information (please complete the following information):

  • OS & Version: Windows 10
  • ML.NET Version: ML.NET v1.6.0
  • .NET Version: .NET Framework 4.7.2

Describe the bug The error appears during the building solution of windows forms application: _ error CS1061: 'TransformsCatalog' does not contain a definition for 'DetectSpikeBySsa' and no accessible extension method 'DetectSpikeBySsa' accepting a first argument of type 'TransformsCatalog' could be found (are you missing a using directive or an assembly reference?_

To Reproduce Steps to reproduce the behavior:

  1. Create sample Windows Forms App.
  2. Add code from Power Consumption Anomaly Detection project
  3. Build Solution
  4. See the error

Thanks.

lessenko avatar Oct 06 '21 06:10 lessenko

Current solution is to use Microsoft.ML.TimeSeries (NuGet) instead of Microsoft.ML(NuGet).

Thanks.

lessenko avatar Oct 06 '21 08:10 lessenko