Skip to main content

A collection of AI & ML lab programs

Project description

sklearnk

A collection of AI & ML lab programs extracted from the ScalarVerse project.

Installation

pip install .

For Older Computers

If pip is not working or if the computer is very old, you can use the traditional setup script:

python setup.py install

Usage

Each program is exposed as a function in the sklearnk package. You can run them sequentially:

import sklearnk

# Run Tic Tac Toe
sklearnk.program1()

# Run Alpha Beta Pruning
sklearnk.program2()

# Run 8 Puzzle (A* Algorithm)
sklearnk.program3()

# Run Hill Climbing
sklearnk.program4()

# Run Logistic Regression
sklearnk.program5()

# Run Naive Bayes
sklearnk.program6()

# Run K-Nearest Neighbors
sklearnk.program7()

# Run K-Means Clustering
sklearnk.program8()

# Run Logistic Regression (sklearn version)
sklearnk.program9()

# Run Naive Bayes (sklearn version)
sklearnk.program10()

# Run KNN (sklearn version)
sklearnk.program11()

# Run K-Means (sklearn version)
sklearnk.program12()

Programs Included

  1. program1: Tic Tac Toe (Minimax)
  2. program2: Alpha Beta Pruning
  3. program3: 8 Puzzle (A* Algorithm)
  4. program4: Hill Climbing
  5. program5: Logistic Regression (from scratch)
  6. program6: Naive Bayes (from scratch)
  7. program7: K-Nearest Neighbors (from scratch)
  8. program8: K-Means Clustering (from scratch)
  9. program9: Logistic Regression (using sklearn)
  10. program10: Naive Bayes (using sklearn)
  11. program11: KNN (using sklearn)
  12. program12: K-Means (using sklearn)

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

sklearnk-0.1.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

sklearnk-0.1.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file sklearnk-0.1.0.tar.gz.

File metadata

  • Download URL: sklearnk-0.1.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sklearnk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a04c45c5cc8cd9bedab9772ae83f7d2f49ba3efc302b723cb103442b9f236ae6
MD5 d804921c4fd0ec29ef8c00caa01a4814
BLAKE2b-256 e85453a481987873da0c8ca8f78819f93f31c2aba50deb914e67b48de68ebbc1

See more details on using hashes here.

File details

Details for the file sklearnk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sklearnk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sklearnk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80c3523938429f909632aa2af604070c09674250e8eb8b507841bd5b8b4c46ef
MD5 46460f53741733aaaf45e177b42d3e93
BLAKE2b-256 7fe85c25ef096152c4eda32a31ecc7b7b9c98a2acba6dd8368713d028bc80631

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