Skip to content

Commit

Permalink
Merge pull request #9 from yu9824/dev
Browse files Browse the repository at this point in the history
v2.1.0 release.
  • Loading branch information
yu9824 authored May 1, 2023
2 parents 27ca644 + daa5543 commit 016571c
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 98 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Regrences
# - https://enu23456.hatenablog.com/entry/2022/11/24/195744
name: Python Package using Conda
name: Test on each version

on: [push]

Expand Down
23 changes: 20 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Kennard Stone

[![python_badge](https://img.shields.io/pypi/pyversions/kennard-stone)](https://pypi.org/project/kennard-stone/)
[![license_badge](https://img.shields.io/pypi/l/kennard-stone)](https://pypi.org/project/kennard-stone/)
[![PyPI version](https://badge.fury.io/py/kennard-stone.svg)](https://pypi.org/project/kennard-stone/)
[![Downloads](https://pepy.tech/badge/kennard-stone)](https://pepy.tech/project/kennard-stone)

[![Python Package using Conda](https://github.com/yu9824/kennard_stone/actions/workflows/python-package-conda.yaml/badge.svg)](https://github.com/yu9824/kennard_stone/actions/workflows/python-package-conda.yaml)
[![Test on each version](https://github.com/yu9824/kennard_stone/actions/workflows/pytest-on-each-version.yaml/badge.svg)](https://github.com/yu9824/kennard_stone/actions/workflows/pytest-on-each-version.yaml)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Anaconda-Server Badge](https://anaconda.org/conda-forge/kennard-stone/badges/version.svg)](https://anaconda.org/conda-forge/kennard-stone)
[![Anaconda-platform badge](https://anaconda.org/conda-forge/kennard-stone/badges/platforms.svg)](https://anaconda.org/conda-forge/kennard-stone)
Expand Down Expand Up @@ -133,6 +134,13 @@ If these arguments are included, they do not cause an error. They simply have no

If you want to run the notebook in example directory, you will need to additionally download `pandas`, `matplotlib`, `seaborn`, `tqdm`, and `jupyter` other than the packages in requirements.txt.

## Parallelization (since v2.1.0)

This algorithm is very computationally intensive and takes a lot of computation time.
To solve this problem, we have implemented parallelization and optimized the algorithm since v2.1.0.
`n_jobs` can be specified for parallelization as in the scikit-learn-like api.


## LICENSE

MIT Licence
Expand All @@ -141,13 +149,14 @@ Copyright (c) 2021 yu9824


## References

### Papers

* R. W. Kennard & L. A. Stone (1969) Computer Aided Design of Experiments, Technometrics, 11:1, 137-148, DOI: [10.1080/00401706.1969.10490666](https://doi.org/10.1080/00401706.1969.10490666)
- R. W. Kennard & L. A. Stone (1969) Computer Aided Design of Experiments, Technometrics, 11:1, 137-148, DOI: [10.1080/00401706.1969.10490666](https://doi.org/10.1080/00401706.1969.10490666)

### Sites

* [https://datachemeng.com/trainingtestdivision/](https://datachemeng.com/trainingtestdivision/) (Japanese site)
- [https://datachemeng.com/trainingtestdivision/](https://datachemeng.com/trainingtestdivision/) (Japanese site)


## Histories
Expand All @@ -161,3 +170,11 @@ Copyright (c) 2021 yu9824
### v2.0.1

- Fix bug with Python3.7.

### v2.1.0

- Optimize algorithm
- Deal with Large number of data.
- parallel calculation when calculating distance (Add `n_jobs` argument)
- recursion number settings
- Add other than "euclidean" calculation methods (Add `metric` argument)
2 changes: 1 addition & 1 deletion kennard_stone/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .kennard_stone import KFold, train_test_split

__version__ = "2.0.1"
__version__ = "2.1.0"
__license__ = "MIT"
__author__ = "yu9824"
__copyright__ = "Copyright © 2021 yu9824"
Expand Down
Loading

0 comments on commit 016571c

Please sign in to comment.