rca22 / lightgbm.net Goto Github PK
View Code? Open in Web Editor NEW.Net wrapper around the LightGBM library
License: MIT License
.Net wrapper around the LightGBM library
License: MIT License
I've created a .NET Web API project and written an API handler that successfully calls Booster.PredictForMat(...).
I've taken great care to ensure that each call to the API gets access to a Booster instance that is guaranteed to only be used with that particular API client, i.e. using object pools to have short-term leases on instances of Booster.
Do I actually need to ensure that each client has its own Booster instance, or can I share a single Booster instance across all clients?
Having one instance would vastly improve the runtime performance of my API, but I need to be sure it's a safe thing to do.
Hello,
I have trained a model using LightGBM CLI, and I am interested in using this model from a C# program. Unfortunately, I haven't been able to find an example of how to do this. Could you please point me in the right direction or provide some guidance?
I assume the code for using the model in C# should resemble something like this:
Booster booster = new Booster(@"path to my model from LightGBM CLI");
double[] desiredOutput = null;
var inputData = LoadInputs(@"path to my testing data", out desiredOutput);
var prediction = booster.Predict(inputData);
Console.WriteLine("Prediction: " + prediction);
Console.ReadLine();
Your assistance is greatly appreciated.
Thanks,
Wil
After loading previously saved model a call to ContinueTraining results in exception: No existing booster to train.
Is this a bug or a feature?
Thanks
Hi,
Would you please include GPU Binaries in the nuget package then Microsoft ML.net team would be able to add GPU support to their wrapper.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.