diff --git a/README.md b/README.md index 95840d1..dd37e25 100644 --- a/README.md +++ b/README.md @@ -20,17 +20,12 @@ iterative-stratification is currently available on the PyPi repository and can b ``` pip install iterative-stratification ``` -\ -The package is also installable from the Anaconda Cloud platform: -``` -conda install -c trent-b iterative-stratification -``` ## Toy Examples The multilabel cross validators that this package provides may be used with the scikit-learn API in the same manner as any other cross validators. For example, these cross validators may be passed to [cross_val_score](http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.cross_val_score.html) or [cross_val_predict](http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.cross_val_predict.html). Below are some toy examples of the direct use of the multilabel cross validators. ### MultilabelStratifiedKFold -``` +```python from iterstrat.ml_stratifiers import MultilabelStratifiedKFold import numpy as np @@ -50,7 +45,7 @@ TRAIN: [0 3 4 6] TEST: [1 2 5 7] TRAIN: [1 2 5 7] TEST: [0 3 4 6] ``` ### RepeatedMultilabelStratifiedKFold -``` +```python from iterstrat.ml_stratifiers import RepeatedMultilabelStratifiedKFold import numpy as np @@ -72,7 +67,7 @@ TRAIN: [0 1 4 5] TEST: [2 3 6 7] TRAIN: [2 3 6 7] TEST: [0 1 4 5] ``` ### MultilabelStratifiedShuffleSplit -``` +```python from iterstrat.ml_stratifiers import MultilabelStratifiedShuffleSplit import numpy as np diff --git a/iterstrat/__init__.py b/iterstrat/__init__.py index fffddac..6975832 100644 --- a/iterstrat/__init__.py +++ b/iterstrat/__init__.py @@ -9,7 +9,7 @@ MultilabelRepeatedStratifiedKFold, and MultilabelStratifiedShuffleSplit. """ -__version__ = '0.1.6' +__version__ = '0.1.7' # list all submodules available in iterstrat and version __all__ = ['ml_stratifiers', '__version__']