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
- program1: Tic Tac Toe (Minimax)
- program2: Alpha Beta Pruning
- program3: 8 Puzzle (A* Algorithm)
- program4: Hill Climbing
- program5: Logistic Regression (from scratch)
- program6: Naive Bayes (from scratch)
- program7: K-Nearest Neighbors (from scratch)
- program8: K-Means Clustering (from scratch)
- program9: Logistic Regression (using sklearn)
- program10: Naive Bayes (using sklearn)
- program11: KNN (using sklearn)
- program12: K-Means (using sklearn)
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sklearnk-0.1.0-py3-none-any.whl
(10.3 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a04c45c5cc8cd9bedab9772ae83f7d2f49ba3efc302b723cb103442b9f236ae6
|
|
| MD5 |
d804921c4fd0ec29ef8c00caa01a4814
|
|
| BLAKE2b-256 |
e85453a481987873da0c8ca8f78819f93f31c2aba50deb914e67b48de68ebbc1
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80c3523938429f909632aa2af604070c09674250e8eb8b507841bd5b8b4c46ef
|
|
| MD5 |
46460f53741733aaaf45e177b42d3e93
|
|
| BLAKE2b-256 |
7fe85c25ef096152c4eda32a31ecc7b7b9c98a2acba6dd8368713d028bc80631
|