Coder Social home page Coder Social logo

Comments (9)

dogefeeder avatar dogefeeder commented on June 14, 2024 1

@ZebinYang I have tried in Colab and now receiving this error. The installed version is piml-0.2.2. image

Now you have the same error with mine.

from piml-toolbox.

ZebinYang avatar ZebinYang commented on June 14, 2024

Hi @munchcrunch, it seems that you are using the old version of PiML (0.1.4). Can you try it again using the latest version?
I can help debug if you could provide a reproducible colab notebook.

from piml-toolbox.

dogefeeder avatar dogefeeder commented on June 14, 2024

I am applying PiML models to my custom data in Jupyter notebook and receiving the attached error. Please help and guid me in this regard. Thank you

image

image

You have to set the name of the target column as 'FlagDefault'.

from piml-toolbox.

munchcrunch avatar munchcrunch commented on June 14, 2024

@ZebinYang I have tried in Colab and now receiving this error. The installed version is piml-0.2.2.
image

from piml-toolbox.

munchcrunch avatar munchcrunch commented on June 14, 2024

@dogefeeder I tried with this modification and still receiving the same error.

from piml-toolbox.

ZebinYang avatar ZebinYang commented on June 14, 2024

@munchcrunch Can you share the data or the notebook link so that I can do some debugging? My email address is [email protected]

from piml-toolbox.

munchcrunch avatar munchcrunch commented on June 14, 2024

@ZebinYang I have sent data and notebook via email. Thank you

from piml-toolbox.

ZebinYang avatar ZebinYang commented on June 14, 2024

Hi @munchcrunch.

This is due to we treat the last column of data as the target variable by default. If it is identified as "categorical", we will treat it as a classification problem. Here the feature "Posted Speed Limit" has 4 distinct values. Hence it is automatically treated as a multi-classification task, which is not supported yet.

Two methods can avoid this from happening.

  1. Specify the target variable, e.g., by exp.data_prepare(target="0/1"). Not sure if "0/1" is the expected target.
  2. Manually change the feature type of "Posted Speed Limit" to numerical in exp.data_summary(), and then select the true target and task type in exp.data_prepare().

Thanks for pointing out this important issue, and we will improve this module in the next release soon.

from piml-toolbox.

munchcrunch avatar munchcrunch commented on June 14, 2024

from piml-toolbox.

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.