Relative Content

Tag Archive for pythonscikit-learnscipymathematical-optimizationdifferential-evolution

Is there a way to use SciPy’s differential evolution, or another library, to minimize one of a multi-output regressor’s outs and bound the others?

I am using a simple RandomForestRegressor from sklearn to predict 3 outputs, and it works well. The problem is that I now need to optimize one of the outputs to be as low as possible, while ensuring the other two predictions don’t escape a couple of bounds in the process. I know I could pass the prediction function to something like differential_evolution to minimize the output I need, but my understanding is that you can only enforce bounds on the inputs and not other outputs.