Internal system processing utility library
Project description
sklearnk
Collection of AI & ML lab programs.
Installation
pip install sklearnk
Usage
This package provides 12 AI/ML programs. Each program can be used in two ways:
1. Get Source Code as Text
import sklearnk
# Returns the full source code as a string
code = sklearnk.program1()
print(code)
2. Execute the Program
import sklearnk
# Executes the program directly
sklearnk.program1_run()
Program List
- program1 / program1_run: Tic Tac Toe
- program2 / program2_run: Alpha Beta Pruning
- program3 / program3_run: 8 Puzzle (A* Algorithm)
- program4 / program4_run: Hill Climbing
- program5 / program5_run: Logistic Regression
- program6 / program6_run: Naive Bayes
- program7 / program7_run: K-Nearest Neighbors
- program8 / program8_run: K-Means Clustering
- program9 / program9_run: Logistic Regression (sklearn)
- program10 / program10_run: Naive Bayes (sklearn)
- program11 / program11_run: KNN (sklearn)
- program12 / program12_run: K-Means (sklearn)
Examples
import sklearnk
# Example 1: View source code
source = sklearnk.program3()
print(source)
# Example 2: Run the A* algorithm
sklearnk.program3_run()
# Example 3: Get KNN source and save to file
with open('knn.py', 'w') as f:
f.write(sklearnk.program7())
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.4.0.tar.gz
(7.9 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.4.0-py3-none-any.whl
(10.9 kB
view details)
File details
Details for the file sklearnk-0.4.0.tar.gz.
File metadata
- Download URL: sklearnk-0.4.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2557e4f63cea1f8ba6dc3e10db9d490cbb9bddccfe5b6b2e13848d22f0a25fbd
|
|
| MD5 |
38c97f4564269f33b9cddeb3f3b743d7
|
|
| BLAKE2b-256 |
8ba424697095c8e903d255987ec35569ee265572a8816b9cad402a25dd602832
|
File details
Details for the file sklearnk-0.4.0-py3-none-any.whl.
File metadata
- Download URL: sklearnk-0.4.0-py3-none-any.whl
- Upload date:
- Size: 10.9 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 |
f2662b65b42b078870c01f5d0563ae1b97ef43015eb7632feecf001464c3748f
|
|
| MD5 |
8ab59924d435b954d670e664b7e58c1e
|
|
| BLAKE2b-256 |
ebd2c60f9e878d6177ac15e78a4063575d4a8d59ac05f03ea0c9e569eca634ee
|