Comments (5)
@ChristianSch thank you for the fix!
from scikit-multilearn.
Hey there,
the docs are wrong, you can load arff data sets like this:
from skmultilearn.dataset import load_dataset
d = load_dataset('enron', 'undivided')
d
is a dictionary which (in the case of enron) gives you X
, y
or features
and labels
as keys:
X, y = d['X'], d['y']
Available data sets can be listed like this:
from skmultilearn.dataset import available_data_sets
available_data_sets()
For more information please see here.
from scikit-multilearn.
Not working here either, on Python 3.5 with Anaconda. First time, it failed with trying to load the Standard Library from future. Monkeypatched that import out with a comment.
Now I'm getting this:
from skmultilearn.dataset import available_data_sets
available_data_sets()
TypeError Traceback (most recent call last)
<ipython-input-73-c3b496b1614f> in <module>()
1 from skmultilearn.dataset import available_data_sets
----> 2 available_data_sets()
~/miniconda3/envs/py35/lib/python3.5/site-packages/skmultilearn/dataset.py in available_data_sets()
106 archives = get_dataset_list()
107 archives = [x.split(';')[-1].split('.')[0].split('-') for x in archives.split('\n')]
--> 108 variants = set()
109 for a in archives:
110 if a[0] not in variants:
TypeError: a bytes-like object is required, not 'str'
from scikit-multilearn.
I think this is the same bytes/string issue regarding the incompatibility between Python 2 and 3.
To the creators, I'm wondering if you are doing an integration test (like with travis-ci) to atleast check the compatibility.
from scikit-multilearn.
I can replicate this problem for a clean install of python 3.6
, however not for python 2
. I'll look into it.
from scikit-multilearn.
Related Issues (20)
- predict_proba() with LinearSVC as classifier HOT 1
- MLkNN breaks when sklearn >= 1.0 HOT 3
- Random state parameter doomed to fail in IterativeStratification HOT 3
- how meka classifier can use predict_proba?
- IterativeStratification use in medical and some datasets ValueError: Only one class present in y_true. ROC AUC score is not defined in that case HOT 1
- Proposal for small bug resolval in MEKA wrapper HOT 1
- smaller support in function "_get_most_desired_combination"
- Upgrade to tensorflow 2
- ditch python 2
- Some tests are failing
- model_selection/iterative_stratification.py throws AttributeError: 'numpy.ndarray' object has no attribute 'iloc' HOT 2
- Next release to Pypi HOT 9
- Shuffle data in `iterative_train_test_split` beforehand (with solution) HOT 8
- how to implement kernal trick in MLTSVM
- fit() method for ChainClassifier() doesn't save classifiers in self.classifiers_ dictionary
- Incorrect link on authors page in the docs
- refer to igraph instead of python-igraph in docs
- `skmultilearn.dataset` missing `arff` dependency
- Performance on the MEKA wrapper
- iterative_train_test_split assumes dataframe when numpy array is allowable HOT 1
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 scikit-multilearn.