Giter Site home page Giter Site logo

Comments (2)

joeanton719 avatar joeanton719 commented on September 8, 2024

I am having a similar error too.

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-117-fa33478a481d> in <module>
----> 1 from costcla.models import BayesMinimumRiskClassifier

~\anaconda3\lib\site-packages\costcla\__init__.py in <module>
     29 from .metrics import *
     30 from .datasets import *
---> 31 from .models import *
     32 

~\anaconda3\lib\site-packages\costcla\models\__init__.py in <module>
      4 
      5 from .directcost import BayesMinimumRiskClassifier, ThresholdingOptimization
----> 6 from .regression import CostSensitiveLogisticRegression
      7 from .cost_tree import CostSensitiveDecisionTreeClassifier
      8 

~\anaconda3\lib\site-packages\costcla\models\regression.py in <module>
     11 from sklearn.base import BaseEstimator
     12 # from sklearn.linear_model.logistic import _intercept_dot
---> 13 from pyea import GeneticAlgorithmOptimizer
     14 from ..metrics import cost_loss
     15 

~\anaconda3\lib\site-packages\pyea\__init__.py in <module>
     11 
     12 
---> 13 from .models import *

~\anaconda3\lib\site-packages\pyea\models\__init__.py in <module>
----> 1 from .ga import GeneticAlgorithmOptimizer

~\anaconda3\lib\site-packages\pyea\models\ga.py in <module>
     10 import pandas as pd
     11 from scipy.stats import norm
---> 12 from sklearn.externals.joblib import Parallel, delayed, cpu_count
     13 import itertools
     14 

ModuleNotFoundError: No module named 'sklearn.externals.joblib'

from costsensitiveclassification.

DanitShifmanAbukasis avatar DanitShifmanAbukasis commented on September 8, 2024

I solved it locally on my computer by changing the imports where needed.

from costsensitiveclassification.

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.