WillKoehrsen / feature-selector

Feature selector is a tool for dimensionality reduction of machine learning datasets
GNU General Public License v3.0
2.23k stars 769 forks source link

Upload feature-selector to pypi? #13

Open free-free opened 5 years ago

free-free commented 5 years ago

Hi @WillKoehrsen ! Thanks for your time to contribute such a good package to the community, it's very handy and well documented. I am wondering if you could upload feature-selector to pypi so that it will be very convenient to install directly from pypi. Appreciate a lot!

WillKoehrsen commented 5 years ago

Thanks for the suggestion! That is something I'm looking to do very soon. I'll keep everyone updated when it's available for installation via pypi.

Akashdesarda commented 5 years ago

@WillKoehrsen eagerly waiting for that day

yuanjie-ai commented 5 years ago

You may pip install feature_selector!

mldeveloper01 commented 5 years ago

Getting Below error while installing via pip as below:

pip install feature-selector Collecting feature-selector Using cached https://files.pythonhosted.org/packages/7c/d2/5448f8af6d3507f3c455429744c6436fdf3b91d10c75f4857d8e8bb4da1c/feature_selector-1.0.0-py3-none-any.whl Collecting numpy==1.14.5 (from feature-selector) Using cached https://files.pythonhosted.org/packages/a0/31/f01ac16f0e8adbb94cd4e3de4920b49a470cf4ca7d452eefd960d4b0248f/numpy-1.14.5-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Collecting scikit-learn==0.19.1 (from feature-selector) Using cached https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz Collecting seaborn==0.8.1 (from feature-selector) Collecting matplotlib==2.1.2 (from feature-selector) Using cached https://files.pythonhosted.org/packages/6d/bd/3e8cec37bcf71cfd81fe798cf733c046b1ceb123e7dddf6d3435cf03b506/matplotlib-2.1.2.tar.gz ERROR: Command errored out with exit status 1: command: /Users/sl1000253387/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3z/smdjyzsd1m7dfj76w3_c_my00000gp/T/pip-install-qxn5qusa/matplotlib/setup.py'"'"'; file='"'"'/private/var/folders/3z/smdjyzsd1m7dfj76w3_c_my00000gp/T/pip-install-qxn5qusa/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: /private/var/folders/3z/smdjyzsd1m7dfj76w3_c_my00000gp/T/pip-install-qxn5qusa/matplotlib/ Complete output (66 lines): IMPORTANT WARNING: pkg-config is not installed. matplotlib may not be able to find some of its dependencies

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [2.1.2]
                python: yes [3.7.3 (default, Mar 27 2019, 16:54:48)  [Clang
                        4.0.1 (tags/RELEASE_401/final)]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.16.4]
                   six: yes [using six version 1.12.0]
              dateutil: yes [using dateutil version 2.8.0]
backports.functools_lru_cache: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [using pytz version 2019.2]
                cycler: yes [using cycler version 0.10.0]
               tornado: yes [using tornado version 6.0.3]
             pyparsing: yes [using pyparsing version 2.4.2]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.37]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
                qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6; PySide2 not
                        found]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: no
                 latex: no
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype * Try installing freetype with `brew
                        * install freetype`
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Tried installing matplotlib required version but its failing Installing on Mac OS Mojave 10.14.6 Need help pls!

et2010 commented 4 years ago

You may pip install feature_selector!

Hey, @Jie-Yuan I don't think it's a proper way to submit a python package. You could PR to the original repo instead of copy all the stuff into your own repo and submit. This is confusing (if not stealing). I thought it was a different package. Plus you are not maintaining it anymore. Did you get permission from the repo owner? @WillKoehrsen

image

MatthewZMD commented 4 years ago

This is confusing (stealing). I thought it was a different package. Plus you are not maintaining it anymore. Did you get permission from the repo owner?

According to either MIT or GPL3.0, no maintainance (warranty) or author's permission are required to copy and redistribute a package. It does not violate any open source license and certainly does not classify as stealing.

Whether this creates some degree of confusion, this is another question.

WillKoehrsen commented 4 years ago

I don't consider what @Jie-Yuan did stealing, but the standard way to do this would be through a PR to this repo as mentioned by @et2010. Either way, I'm happy for feature_selector to be on pypi provided it will be maintained.

charmby commented 3 years ago

Getting Below error while installing via pip as below:

pip install feature-selector Collecting feature-selector Using cached https://files.pythonhosted.org/packages/7c/d2/5448f8af6d3507f3c455429744c6436fdf3b91d10c75f4857d8e8bb4da1c/feature_selector-1.0.0-py3-none-any.whl Collecting numpy==1.14.5 (from feature-selector) Using cached https://files.pythonhosted.org/packages/a0/31/f01ac16f0e8adbb94cd4e3de4920b49a470cf4ca7d452eefd960d4b0248f/numpy-1.14.5-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl Collecting scikit-learn==0.19.1 (from feature-selector) Using cached https://files.pythonhosted.org/packages/f5/2c/5edf2488897cad4fb8c4ace86369833552615bf264460ae4ef6e1f258982/scikit-learn-0.19.1.tar.gz Collecting seaborn==0.8.1 (from feature-selector) Collecting matplotlib==2.1.2 (from feature-selector) Using cached https://files.pythonhosted.org/packages/6d/bd/3e8cec37bcf71cfd81fe798cf733c046b1ceb123e7dddf6d3435cf03b506/matplotlib-2.1.2.tar.gz ERROR: Command errored out with exit status 1: command: /Users/sl1000253387/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/3z/smdjyzsd1m7dfj76w3_c_my00000gp/T/pip-install-qxn5qusa/matplotlib/setup.py'"'"'; file='"'"'/private/var/folders/3z/smdjyzsd1m7dfj76w3_c_my00000gp/T/pip-install-qxn5qusa/matplotlib/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info cwd: /private/var/folders/3z/smdjyzsd1m7dfj76w3_c_my00000gp/T/pip-install-qxn5qusa/matplotlib/ Complete output (66 lines): IMPORTANT WARNING: pkg-config is not installed. matplotlib may not be able to find some of its dependencies

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [2.1.2]
                python: yes [3.7.3 (default, Mar 27 2019, 16:54:48)  [Clang
                        4.0.1 (tags/RELEASE_401/final)]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.16.4]
                   six: yes [using six version 1.12.0]
              dateutil: yes [using dateutil version 2.8.0]
backports.functools_lru_cache: yes [Not required]
          subprocess32: yes [Not required]
                  pytz: yes [using pytz version 2019.2]
                cycler: yes [using cycler version 0.10.0]
               tornado: yes [using tornado version 6.0.3]
             pyparsing: yes [using pyparsing version 2.4.2]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.37]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
                qt5agg: yes [installing, Qt: 5.9.6, PyQt: 5.9.6; PySide2 not
                        found]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: no
                 latex: no
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype * Try installing freetype with `brew
                        * install freetype`
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Tried installing matplotlib required version but its failing Installing on Mac OS Mojave 10.14.6 Need help pls!

This is a bug, How did you solve it?