Comments (6)
It worked great!
Thank you so much!
from lightgbm.net.
Would you please provide an example of what you would like to do? An easy way to do this might be to add a failing test to the test project. Thanks
from lightgbm.net.
Thank you for your reply.
My requirement is to update an existing model with new data (large and numerous). But after further consideration, there appears to be no support in this implementation for loading a model and using it to continue training.
Please let me know if there is a way to do it.
Thanks
from lightgbm.net.
I've added a new constructor to the trainer types to allow you to specify an existing model and a new dataset for training here: 22a5381
Please note that LightGBM does not allow the validation data set to be reset on an existing booster object, so the dataset you pass into the new constructor is required to have null for the validation dataset object.
Would you please try this out and let me know how you get on?
from lightgbm.net.
Thank you for the update.
On the test I am getting:
System.AccessViolationException: 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.'
on the call to PInvoke.BoosterResetTrainingData() below:
public void ResetTrainingData(Dataset trainset)
{
Check.NonNull(trainset, nameof(trainset));
PInvokeException.Check(PInvoke.BoosterResetTrainingData(Handle, trainset.Handle),
nameof(PInvoke.BoosterResetTrainingData));
}
Both the Handle and the trainset.Handle look good.
Please let me know if I can assist in any way.
Thank you
from lightgbm.net.
Ok, I've found a way that works now, see changes here: 063309a
Instead of trying to load the model and reset the training data, I've created a new empty model with the new training AND validation data, and then merged in all the trees from the existing model.
from lightgbm.net.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightgbm.net.