Skip to content

Commit

Permalink
Update histories
Browse files Browse the repository at this point in the history
  • Loading branch information
yu9824 committed Sep 18, 2023
1 parent 28f5f72 commit cc5f3da
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ conda install -c conda-forge kennard-stone

The project site is [here](https://anaconda.org/conda-forge/kennard-stone).

You need `numpy` and `scikit-learn` to run.
You need `numpy>=1.20` and `scikit-learn` to run.

## How to use

Expand Down Expand Up @@ -178,6 +178,13 @@ X_train, X_test, y_train, y_test = train_test_split(
)
```

The parallelization is used when calculating the distance matrix,
so it doesn't conflict with something like `cross_validate` in parallel when using `KFold`.

```python
# OK: does not conflict each other
cross_validate(estimator, X, y, cv=KFold(5, n_jobs=-1), n_jobs=-1)
```

## LICENSE

Expand Down Expand Up @@ -240,3 +247,7 @@ Copyright (c) 2021 yu9824
### v2.1.5

- Delete "klusinski" metric to support scipy>=1.11

### v2.1.6

- Improve typing in `kennard_stone.train_test_split`

0 comments on commit cc5f3da

Please sign in to comment.