Comments (3)
I wasn't really planning doing that so if you could help with it, that would be awesome :)
from boruta_py.
Cool, I've forked your code. I'm testing Py3 now. I've also added the skeleton for setup tools so it can be installed as a package. Have you ever considered registering this on pypy?
Also, seems a bit brittle now. Know what's going on here? https://github.com/mbernico/boruta_py/blob/master/boruta/examples/iris.ipynb
ValueError Traceback (most recent call last)
in ()
----> 1 feat_selector.fit(X,y)
/home/mike/dev/boruta_py/boruta/boruta_py2.py in fit(self, X, y)
169 """
170
--> 171 return self._fit(X, y)
172
173 def transform(self, X, weak=False):
/home/mike/dev/boruta_py/boruta/boruta_py2.py in fit(self, X, y)
311 else:
312 # and 2 otherwise
--> 313 ranks = ranks - np.min(ranks) + 2
314 self.ranking[not_selected] = ranks
315
/home/mike/anaconda/envs/Python2.7/lib/python2.7/site-packages/numpy/core/fromnumeric.pyc in amin(a, axis, out, keepdims)
2357 else:
2358 return _methods._amin(a, axis=axis,
-> 2359 out=out, keepdims=keepdims)
2360
2361
/home/mike/anaconda/envs/Python2.7/lib/python2.7/site-packages/numpy/core/_methods.pyc in _amin(a, axis, out, keepdims)
27
28 def _amin(a, axis=None, out=None, keepdims=False):
---> 29 return umr_minimum(a, axis, None, out, keepdims)
30
31 def _sum(a, axis=None, dtype=None, out=None, keepdims=False):
ValueError: zero-size array to reduction operation minimum which has no identity
from boruta_py.
I'll hope to get it incorporated into scikit learn actually, but distributing it via pypy would be a nice planB..
Thanks for adding setup.py and fixing the bug when all features are selected.
from boruta_py.
Related Issues (20)
- ImportError: cannot import name 'BorutaPy' from 'boruta' HOT 1
- PKG for the survival analysis HOT 6
- Can I somehow speed the Borutapy process HOT 2
- Version update of Boruta on pypi? HOT 13
- What percentage of shadow features does each real feature outperform?
- AttributeError: module 'numpy' has no attribute 'int'. HOT 9
- Possible problems in installation HOT 1
- TypeError: BorutaPy.__init__() got an unexpected keyword argument 'early_stopping' HOT 1
- Kaggle n_estimators issue with DecisionTreeClassifier HOT 2
- Error when using BorutaPy with LogisticRegression
- AttributeError: module 'numpy' has no attribute 'bool' when using BorutaPy with RandomForestClassifier HOT 3
- BorutaPy selects different features in different iterations HOT 1
- AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. HOT 13
- Does boruta apply to time series data? HOT 1
- New release HOT 2
- Why does the number of total features (Confirmed + Tentative + Rejected) not equal to the input features?
- Error with package version specification upon installation HOT 1
- How to speed up the algorithm? HOT 1
- AttributeError: module 'numpy' has no attribute 'int'. HOT 4
- Error while using it with CatBoost
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boruta_py.