Skip to content
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

Rename package to sknnr and prep for alpha release #65

Merged
merged 1 commit into from
Mar 20, 2024
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,5 @@ Thanks to Andrew Hudak (USDA Forest Service Rocky Mountain Research Station) for
- Ohmann JL, Gregory MJ. 2002. Predictive Mapping of Forest Composition and Structure with Direct Gradient Analysis and Nearest Neighbor Imputation in Coastal Oregon, USA. Canadian Journal of Forest Research, 32, 725–741.

[^imputation]: In a mapping context, kNN imputation refers to predicting feature values for a target from its k-nearest neighbors, and should not be confused with the usual `scikit-learn` usage as a pre-filling strategy for missing input data, e.g. [`KNNImputer`](https://scikit-learn.org/stable/modules/generated/sklearn.impute.KNNImputer.html).
[^rfnn]: In [development](https://github.com/lemma-osu/scikit-learn-knn-regression/issues/24)!
[^rfnn]: In [development](https://github.com/lemma-osu/sknnr/issues/24)!
[^validation]: All estimators and parameters with equivalent functionality in `yaImpute` are tested to 3 decimal places against the R package.
4 changes: 2 additions & 2 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
site_name: sknnr
repo_url: https://github.com/lemma-osu/scikit-learn-knn-regression
repo_name: lemma-osu/scikit-learn-knn-regression
repo_url: https://github.com/lemma-osu/sknnr
repo_name: lemma-osu/sknnr
docs_dir: pages/

nav:
Expand Down
8 changes: 4 additions & 4 deletions docs/pages/installation.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Installation

!!! info
`sknnr` will be available through PyPI and conda-forge once it is ready for release. Until then, you can install it from source.
## From PyPI

## From Source
!!! info
`sknnr` is currently in pre-release on PyPI, so you'll need to use the `--pre` flag to install it.

```bash
pip install git+https://github.com/lemma-osu/scikit-learn-knn-regression@main
pip install sknnr --pre
```

## Dependencies
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "scikit-learn-knn-regression"
name = "sknnr"
dynamic = ["version"]
description = "Scikit-learn estimators for kNN regression methods"
readme = "README.md"
Expand All @@ -20,8 +20,8 @@ dependencies = [
]

[project.urls]
Homepage = "https://github.com/lemma-osu/scikit-learn-knn-regression"
Source = "https://github.com/lemma-osu/scikit-learn-knn-regression"
Homepage = "https://github.com/lemma-osu/sknnr"
Source = "https://github.com/lemma-osu/sknnr"

[tool.hatch.version]
path = "src/sknnr/__about__.py"
Expand Down
2 changes: 1 addition & 1 deletion src/sknnr/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.1.0-alpha"
Loading