Skip to main content

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


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.1.tar.gz (8.2 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.4.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sklearnk-0.4.1.tar.gz
Algorithm Hash digest
SHA256 7409c09f3225a7989e3230d46abe381c5b3cf404fa046089a1dd956c3d38e369
MD5 77d70cde2c1932fb5bd9bfe8ac5b4136
BLAKE2b-256 2a626adf5316403098f06c729372e25b9e185b6c86d70c72c00eba476199c090

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sklearnk-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 11.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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3fdd102eab79b6d71d8c1be84d46235cb4044b7f567f21514c04c87dafa05639
MD5 c4faf5fef8c5c76932e8cc4c6c2135e5
BLAKE2b-256 d4982afe947b021b22d62cfebef6fb48d39c011ddfcdce65b470a4d7b3310005

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