Giter VIP home page Giter VIP logo

featureselectionga's Issues

TypeError: unhashable type: 'slice'

Hello, when I ran your code got "TypeError: unhashable type: 'slice' ".Can you help me analyze the problem?thanks

import pandas as pd from sklearn.linear_model import LogisticRegression from feature_selection_ga import FeatureSelectionGA data = pd.read_excel("D:\\Project_CAD\\ๅฎž้ชŒ6\\data\\train_data_1\\train_1.xlsx") x, y = data.iloc[:, :53], data.iloc[:, 56] model = LogisticRegression() fsga = FeatureSelectionGA(model, x, y) pop = fsga.generate(100)

example

hi,
can you provide us with an example of using the featureselectionGA

C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory

plz help to time run
error
C:\Python27\lib\site-packages\deap\tools_hypervolume\pyhv.py:33: ImportWarning: Falling back to the python version of hypervolume module. Expect this to be very slow.
"module. Expect this to be very slow.", ImportWarning)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Users\taha\AppData\Roaming\Python\Python27\site-packages\mpl_toolkits': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'c:\users\taha\appdata\roaming\python\python27\site-packages\mpl_toolkits': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'c:\python27\lib\site-packages\google': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud\proto': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud\proto\pubsub': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud\proto\datastore': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\pubsub': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\logging': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\iam': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud\logging': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud\gapic': missing init.py
file, filename, etc = imp.find_module(subname, path)
C:\Python27\lib\pkgutil.py:183: ImportWarning: Not importing directory 'C:\Python27\lib\site-packages\google\cloud\gapic\pubsub': missing init.py
file, filename, etc = imp.find_module(subname, path)

plz help tanks
plz exampl for run program send for me . tanks

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.