Initialising MLPRegressor with precomputed matrices of weights and biases #970
Replies: 3 comments 1 reply
-
Hello 👋 This is not a use case we support as of now. In theory you could do this by accessing the Maybe the way to go is to add some GPU support to River's I hope that helps! The |
Beta Was this translation helpful? Give feedback.
-
related question to MLPRegressors: is it possible to have a multi-output neural network (basically where the Y vector has more than one column )? and more in general: what are the current multi-output regressors supported by river? Regards UPDATE: i have had a look at the multioutput.RegressorChain class, and it seems not to work for the MLPRegressor. My question above refers to whether there is any Model currently supported that can handle multiple output natively. In case this needs always to be achieved with RegressorChains: is it possible to prevent the output from the first regressor to become a feature in the second one ? or would this make no sense at all, as doing so would practically result in having N completely independent regressors, one for every N target variable ? |
Beta Was this translation helpful? Give feedback.
-
Yes, it's possible, but not very well tested. Some work is needed here.
For now, there's only
That would indeed result in independent regressors. We could add a parameter to RegressorChain that allows this behavior though. But why would you want it? Because you have a model with a fixed number of inputs? |
Beta Was this translation helpful? Give feedback.
-
Is it possible to initiate an MLPRegressor with pre-computed weights and biases?
I am working on a problem where I am using an online MLPRegressor. Initially, I have some data with which I can pre-train the model. I am using
learn_many
for this. Since River has no GPU support, the process exclusively runs on the CPU and takes a good amount of time when the data set is large enough. This can be avoided if the regressor is initiated with weights and biases computed using a GPU-enabled library.Beta Was this translation helpful? Give feedback.
All reactions