Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[MRG+1] Remove the MLComp text categorization example #8264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
145 changes: 0 additions & 145 deletions examples/text/mlcomp_sparse_document_classification.py

This file was deleted.

4 changes: 4 additions & 0 deletions sklearn/datasets/mlcomp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os
import numbers
from sklearn.datasets.base import load_files
from sklearn.utils import deprecated


def _load_document_classification(dataset_path, metadata, set_=None, **kwargs):
Expand All @@ -19,6 +20,9 @@ def _load_document_classification(dataset_path, metadata, set_=None, **kwargs):
}


@deprecated("since the http://mlcomp.org/ website will shut down "
"in March 2017, the load_mlcomp function was deprecated "
"in version 0.19 and will be removed in 0.21.")
def load_mlcomp(name_or_id, set_="raw", mlcomp_root=None, **kwargs):
"""Load a datasets as downloaded from http://mlcomp.org

Expand Down