Skip to main content

Customized and Simplified package for Core Supervised Learning Algorithms

Project description

sketchml: Customized and Simplified package for Core Machine Learning Algorithms

Installation

Create and activate a Python environment, then install the required dependencies.

conda create -n sketchml python=3.10 -y
conda activate sketchml
pip install -r requirements.txt

Or install directly via pip:

pip install sketchml

Note that this package requires Python 3.8 or higher, but it is recommended to use Python 3.10 or higher for the best compatibility and performance.

Usage

The main function to evaluate a Pentagon Copying Test (PCT) image is eval_pct. Below is an example of how to use it:

from sketchml.classif.knn import KNN

knn = KNN(input_dimension="<insert_dimension>", k=3)
  • OUTPUT_DIR: Directory where the results will be saved.
  • IMG_SHAPE: Tuple specifying the desired image shape (height, width).
  • fpath: File path to the PCT image to be evaluated.

License

This project is released under the MIT License. See the LICENSE file for details.

Contact

For questions or feedback, feel free to open an issue on the GitHub repository: https://github.com/htdgv/sketchml/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sketchml-0.0.2.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sketchml-0.0.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file sketchml-0.0.2.tar.gz.

File metadata

  • Download URL: sketchml-0.0.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for sketchml-0.0.2.tar.gz
Algorithm Hash digest
SHA256 95ccba47e0c246ab5b641359130d9596e2285abce217cff6c2be0d3122c38037
MD5 f23bd820d5730f6f570f21159c420c9e
BLAKE2b-256 a2f2c24206870b34d66f4375462dba780ba8da7b39cab94b587a39e30eedb73b

See more details on using hashes here.

File details

Details for the file sketchml-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: sketchml-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for sketchml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 761c6599681931a565010f9535e20d54d82995ef37bcdd2a77d9bc328f2c8af5
MD5 1bbc407ec7d78660ae02a89c10b1f940
BLAKE2b-256 fabd3d939a17b1f5b2039d4effbfb96da4b878f0b35849ad4838b34f3ab100b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page