Git Product home page Git Product logo

Comments (7)

serengil avatar serengil commented on May 12, 2024

What about this?

model = chef.fit(df, config,  target_label = "result")

from chefboost.

sachinlodhi avatar sachinlodhi commented on May 12, 2024

What about this?

model = chef.fit(df, config,  target_label = "result")

Still I see same error.

from chefboost.

VPK02 avatar VPK02 commented on May 12, 2024

I also got same error. Please help to solve this error.

from chefboost.

sachinlodhi avatar sachinlodhi commented on May 12, 2024

I got it working but it is not consistent. Sometimes it works sometimes it doesn't. So I took these steps:

  1. Clone the repository.
  2. Create the virtual environment. You can also activate the existing one.
  3. Install the requirements.
  4. Run the script.
  5. NOW, IF you get the error then do a thing.... As you installed chefboost by cloning your package is basically located in the cloned directory. What I did is that I was backtracking the calls made and I used print("some random text") in Chefboost.py at line #274, #155, in Training.py at line #395.
  6. I am pretty sure this may seem really ridiculous but I do not know once I started printing the status or some random text it started working. But it is not consistent. Sometimes it fails.

from chefboost.

serengil avatar serengil commented on May 12, 2024

package on pip is old. i need to publish the recent changes. meanwhile, you can pull the source code and run it instead of pip package.

git clone https://github.com/serengil/chefboost.git
cd chefboost
pip install -e .

from chefboost.

sachinlodhi avatar sachinlodhi commented on May 12, 2024

package on pip is old. i need to publish the recent changes. meanwhile, you can pull the source code and run it instead of pip package.

git clone https://github.com/serengil/chefboost.git
cd chefboost
pip install -e .

Yes I tried that and sometimes it works but sometimes everything freezes and I have to stop and run the cell again and then it gives some output. For large dataframes like with like 20k rows it freezes. Number of features are like 10-15.

from chefboost.

serengil avatar serengil commented on May 12, 2024

would you please try to set parallelism false as

config = {'algorithm': 'C4.5', 'enableParallelism': False}

from chefboost.

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.