SharpLearning | Machine learning for C # .Net | Machine Learning library
kandi X-RAY | SharpLearning Summary
kandi X-RAY | SharpLearning Summary
Machine learning for C# .Net
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SharpLearning
SharpLearning Key Features
SharpLearning Examples and Code Snippets
Community Discussions
Trending Discussions on SharpLearning
QUESTION
I have a machine learning problem where I have obtained very good results on training/test data using both LightGBM
and XGBoost
. The next step is to obtain predictions from one of these models into an existing C# application (.NET Framework 4.6.1) Is there any library that can help me do this? What I have tried so far:
- ML.NET: Should work for
LigthGBM
, but due to this bug it works only for .NET Core. - Windows.ML: This should be able to predict an ONNX model, and I managed to create an ONNX model from my
XGBoost
model. But Windows.ML seems to work only for UWP apps, at least all samples are UWP. - SharpLearning: This library has an interface to
XGBoost
. Unfortunately, it does not support sample weights, which I rely upon. - CNTK: Tried to load the ONNX file (similar to this example), but get: Error: ONNX (TreeEnsembleClassifier) is not supported in CNTK.
Any suggestions, or do I have to wait for ML.NET to fix the bug?
...ANSWER
Answered 2019-Jul-11 at 23:29I was able to use LightGBM in a net461
console application. The above bug only occurs if you are using packages.config
to manage your NuGet packages. In order to work around the listed bug in the LightGBM nuget package, you can take one of the following approaches:
- Use a new "SDK-style" .csproj, but set the TargetFramework to
net461
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SharpLearning
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page