Comments (4)
HI @arjay55 👍
This problem has been fixed. Please upgrade via:
pip install featurewiz --upgrade
Then let us know if it works.
AutoViML team
from featurewiz.
Hi. I'm still encountering an error.
Skipping feature engineering since no feature_engg input...
Skipping category encoding since no category encoders specified in input...
Loading train data...
Shape of your Data Set loaded: (143974, 2880)
Loading test data...
No file given. Continuing...
Classifying features using 10000 rows...
loading a random sample of 10000 rows into pandas for EDA
ValueError Traceback (most recent call last)
/tmp/ipykernel_328/641257510.py in
----> 1 outputs = featurewiz(dataset, collist, corr_limit=0.93, verbose=1, dask_xgboost_flag=False)
~/miniconda3/envs/CS280/lib/python3.7/site-packages/featurewiz/featurewiz.py in featurewiz(dataname, target, corr_limit, verbose, sep, header, test_data, feature_engg, category_encoders, dask_xgboost_flag, nrows, **kwargs)
1082 targets = copy.deepcopy(target)
1083 ##### you can use
-> 1084 train_small = select_rows_from_dataframe(dataname, targets, nrows_limit, DS_LEN=dataname.shape[0])
1085 features_dict = classify_features(train_small, target)
1086 else:
/miniconda3/envs/CS280/lib/python3.7/site-packages/featurewiz/featurewiz.py in select_rows_from_dataframe(train_dataframe, targets, nrows_limit, DS_LEN)(train_dataframe[each_target].isin(list_of_few_classes))]
4001 list_of_few_classes = train_dataframe[each_target].value_counts()[train_dataframe[each_target].value_counts()<=3].index.tolist()
4002 train_dataframe = train_dataframe.loc[
-> 4003 train_small, _ = train_test_split(train_dataframe, test_size=test_size, stratify=train_dataframe[targets])
4004 else:
4005 ### For Regression problems: load a small sample of data into a pandas dataframe ##
~/miniconda3/envs/CS280/lib/python3.7/site-packages/sklearn/model_selection/_split.py in train_test_split(*arrays, **options)
2129 n_samples = _num_samples(arrays[0])
2130 n_train, n_test = _validate_shuffle_split(n_samples, test_size, train_size,
-> 2131 default_test_size=0.25)
2132
2133 if shuffle is False:
~/miniconda3/envs/CS280/lib/python3.7/site-packages/sklearn/model_selection/_split.py in _validate_shuffle_split(n_samples, test_size, train_size, default_test_size)
1812 'resulting train set will be empty. Adjust any of the '
1813 'aforementioned parameters.'.format(n_samples, test_size,
-> 1814 train_size)
1815 )
1816
ValueError: With n_samples=0, test_size=0.9 and train_size=None, the resulting train set will be empty. Adjust any of the aforementioned parameters.
from featurewiz.
Hi @arjay55 👍
Sorry I cannot tell where this error is coming from without the data. I also noticed that you have not provided the version number of featurewiz you are using.
Please note that the latest version is 0.0.70 and you need to show me you have upgraded to this version and if you can attach a small sample dataset (via zip file) here.
Thanks
AutoViML
from featurewiz.
Hi. Already my run on my dataset I confirmed that the bug is resolved. Thanks!
from featurewiz.
Related Issues (20)
- Category type, indexes don't match on AutoEncoding HOT 3
- Issue with working with Featureviz HOT 1
- Comment has incorrect code ( verbose=0. imbalanced=False [verbose=0, imbalanced=False]) HOT 1
- make tensorflow optional HOT 4
- lazytransform.py float to integer error HOT 2
- Dealing with a Numpy array as features HOT 1
- Convert binary columns to categorical HOT 1
- featurewiz ignores category columns HOT 2
- dont show chart for more than 1000 features HOT 1
- featurewiz ignores category columns with an example HOT 5
- Universal API required for smooth working HOT 4
- Unpin requirements? HOT 2
- Conda package outdated
- TypeError: expected string or bytes-like object on int type column name HOT 2
- Conflict Error Among Poetry Package Dependencies: lazytransform, tqdm, featurewiz HOT 8
- TYPO ERROR
- Typo Error
- Version Conflict for scikit-learn - Bump to 1.3.2 possible? HOT 1
- Can't get featurewiz to work HOT 1
- ValueError: Length mismatch: Expected axis has X elements, new values have Y elements HOT 3
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 featurewiz.