Skip to main content

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.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

nie_ml_labs-1.0.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file nie_ml_labs-1.0.0.tar.gz.

File metadata

  • Download URL: nie_ml_labs-1.0.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for nie_ml_labs-1.0.0.tar.gz
Algorithm Hash digest
SHA256 16b625a2302f07bbff7ff4d55f8d7bf0dd65694e5000bed0bd400fc1f69f3609
MD5 69edcc5fa66fa3a671376b8836cfd0aa
BLAKE2b-256 b1ba2a897a1ec1cb53dfda6e5e79a4ac2552450f901c6a79c01fa824f252475a

See more details on using hashes here.

File details

Details for the file nie_ml_labs-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nie_ml_labs-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for nie_ml_labs-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27e8dd07e07e6185fd8297d7e81eee8c6890f53281037b569ba76c466a82bb63
MD5 3b9d9c25148ff285bab3c3c0d6a727cc
BLAKE2b-256 595430830b8c58ed3d53597db6694c362867a5f63a442d18b3c261bf852ecce1

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