BIS602 Machine Learning Lab Programs - NIE Mysuru (4NI23IS104)
Project description
NIE ML Labs (nie-ml-labs)
BIS602 Machine Learning Lab Programs
4NI23IS104 | The National Institute of Engineering, Mysuru (VTU)
Install
pip install nie-ml-labs
Or install locally (editable):
git clone <your-repo-url>
cd nie_ml_labs
pip install -e .
Usage
import nie_ml_labs
# Lab 1 - ADALINE
from nie_ml_labs import Adaline
import numpy as np
m = Adaline(lr=0.01, epochs=10)
m.fit(np.array([[1,2],[2,3]]), np.array([1,0]))
# Run any lab demo directly
from nie_ml_labs import lab1, lab2, lab3, lab4, lab5, lab6, lab7
lab1.run() # ADALINE demo
lab2.run() # FIND-S
lab3.run() # Candidate Elimination
lab4.run() # Decision Tree
lab5.run() # Naive Bayes (Gaussian)
lab6.run() # Naive Bayes (Sentiment)
lab7.run() # Bayesian Network
# Use your own CSV
lab4.run(csv_path="path/to/your/data.csv")
# Lab 6 with custom sentences
lab6.run(test_sentences=["This is great", "Horrible experience"])
Labs
| Lab | Algorithm |
|---|---|
| lab1 | ADALINE |
| lab2 | FIND-S |
| lab3 | Candidate Elimination |
| lab4 | Decision Tree (ID3/Entropy) |
| lab5 | Naive Bayes — Gaussian |
| lab6 | Naive Bayes — Text/Sentiment |
| lab7 | Bayesian Network (Heart Disease) |
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
nie_ml_labs-1.0.2.tar.gz
(5.2 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
File details
Details for the file nie_ml_labs-1.0.2.tar.gz.
File metadata
- Download URL: nie_ml_labs-1.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d585acaf9065f2c9f9a97242f50c11a5e18954118cb714fd4fc378844ba623ec
|
|
| MD5 |
5ee7196077a2c3341883f90d88643202
|
|
| BLAKE2b-256 |
4ed9e0bbc656556a23878d0efea6fd062baf3fe7a9043d2a8f3735b87def4220
|
File details
Details for the file nie_ml_labs-1.0.2-py3-none-any.whl.
File metadata
- Download URL: nie_ml_labs-1.0.2-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c851a4994a69e8d19a1e6a3bc56d0c626007f857e684636d2562d66ad06035b
|
|
| MD5 |
6e2a4269f8e41fc41d0b9a5e2aa90073
|
|
| BLAKE2b-256 |
da3bf168abc7e361679aefa1fe77cb8220a46d763f73b9b7a2fd4b594e7fab70
|