Skip to main content

scikit-tools

scikit-tools provides 13 standalone, runnable Python examples for machine learning and data analysis. Each topic contains its own imports, dataset setup, and analysis code.

Installation

pip install scikit-tools

Or from a local checkout:

python -m pip install -e .

How to Use

1. Inspect the Raw Source Code Without Running

Importing scikit_tools does not execute any calculations or open plots. You can access the complete standalone source code of any topic using inspect:

import inspect
import scikit_tools as st

# Prints the full raw code to the terminal
print(inspect.getsource(st.pca))
print(inspect.getsource(st.linear_regression))

2. Run Directly in Python

Call any topic function directly:

import scikit_tools as st

st.pca()
st.numpy_stats()

3. Run from Command Line

Run any topic as a standalone module:

python -m scikit_tools.pca
python -m scikit_tools.numpy_stats

Topics Available

  1. NumPy statistics (st.numpy_stats)
  2. Inspecting the Iris dataset (st.inspect_dataset)
  3. Handling missing values (st.missing_values)
  4. Data transformation (st.data_transformation)
  5. Histogram and scatter-plot EDA (st.eda_plots)
  6. Box plot and IQR outlier detection (st.outlier_detection)
  7. Descriptive statistics (st.descriptive_stats)
  8. Correlation and covariance (st.correlation_covariance)
  9. Independent-samples t-test (st.hypothesis_testing)
  10. Linear regression (st.linear_regression)
  11. Logistic-regression classification (st.logistic_regression)
  12. K-means clustering (st.kmeans_clustering)
  13. PCA and classification (st.pca)

All examples load the Iris dataset via sklearn.datasets.load_iris(as_frame=True) with standardized column names (SepalLengthCm, SepalWidthCm, PetalLengthCm, PetalWidthCm, Species).

Metadata

Release files for scikit-tools 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scikit-tools 0.2.1
File Size Uploaded Provenance Actions
scikit_tools-0.2.1.tar.gz 8.9 kB Without provenance Details for scikit_tools-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scikit-tools 0.2.1
File Interpreter ABI Platform Actions
scikit_tools-0.2.1-py3-none-any.whl Python 3 none any Details for scikit_tools-0.2.1-py3-none-any.whl

Total release size: 20.3 kB

Release files / scikit_tools-0.2.1.tar.gz

Download URL scikit_tools-0.2.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2a8f80d09e8fd6d5fc435eea1b88eb933b91bb8a215f072d9dcbe7177c6a67b9
BLAKE2b-256 checksum
How to use checksums
eccf55cfc59765fbe788df378a0423cc038f3110f66f0655a2bb0b25dd62083c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / scikit_tools-0.2.1-py3-none-any.whl

Download URL scikit_tools-0.2.1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19741fb61757b6037361968c7d169c84b9bab8db82765f04e744ff15e3757913
BLAKE2b-256 checksum
How to use checksums
59d3a59415d16f7a2fdc0ce6c74e15a03f9c7dd0260e5971c90a63191992a51a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for scikit-tools 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page