Giter VIP home page Giter VIP logo

lightgbm.net's People

Contributors

mjmckp avatar rca22 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lightgbm.net's Issues

Multi-threaded access to the model

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.

Using LightGBM CLI Models in C# - Seeking Guidance

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

Continue training

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

GPU binary for .Net

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.