GithubHelp home page GithubHelp logo

Comments (3)

shlomibabluki avatar shlomibabluki commented on August 20, 2024 1

RandomForestRegressor has a built-in support for multiple outputs (no need to use MultiOutputRegressor).

I think it is more important to add support for that case, before implementing the MultiOutputRegressor meta-regressor.

from sklearn2pmml.

NicoleLee918 avatar NicoleLee918 commented on August 20, 2024

Here is my environment:

print(sklearn.version)
0.18.2
print(sklearn.externals.joblib.version)
0.10.3
print(sklearn_pandas.version)
1.5.0
print(sklearn2pmml.version)
0.20.4
Python 2.7.13

from sklearn2pmml.

vruusmann avatar vruusmann commented on August 20, 2024

Exception in thread "main" java.lang.IllegalArgumentException
at sklearn2pmml.PMMLPipeline.encodePMML(PMMLPipeline.java:74)

This exception means that PMMLPipeline does not recognize the enclosed estimator object.

Class MultiOutputRegressor is currently not supported (for a list of supported estimator and transformer classes, see the README file of the JPMML-SkLearn project). According to the Scikit-Learn documentation, it can be implemented fairly easily, because "under the hood" it is just constructing and fitting multiple copies of the argument estimator type.

Is there any plan to support this function?

Sure. But the timeline is unclear, as I have more important things to do in the near future.

from sklearn2pmml.

Related Issues (20)

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.