Machine Learning Practicals (ml1-practicals)
A complete collection of 9 Machine Learning practicals with built-in graph visualizations and instant one-word download commands (ml-1 to ml-9).
⚡ Instant One-Word Commands
Once installed, just type the practical number you want:
| Command | Action | Output Files in Downloads |
|---|---|---|
ml-1 |
Downloads Practical 1 (Simple Linear Regression) | practical_1.py + salary.csv |
ml-2 |
Downloads Practical 2 (Simple Linear Regression) | practical_2.py + rent.csv |
ml-3 |
Downloads Practical 3 (Simple Linear Regression) | practical_3.py + sales.csv |
ml-4 |
Downloads Practical 4 (Multiple Linear Regression) | practical_4.py + house.csv |
ml-5 |
Downloads Practical 5 (Multiple Linear Regression) | practical_5.py + income.csv |
ml-6 |
Downloads Practical 6 (Logistic Regression on Digits) | practical_6.py |
ml-7 |
Downloads Practical 7 (Support Vector Machine on Iris) | practical_7.py |
ml-8 |
Downloads Practical 8 (Bagging Ensemble on Wine) | practical_8.py |
ml-9 |
Downloads Practical 9 (PCA 2D on Wine) | practical_9.py |
Running any command like
ml-1orml-2immediately puts the clean.pyfile and dataset into your Downloads folder and pops open Windows Explorer so you can view, edit, and run the code!
Download All Practicals at Once:
ml-1 all
# OR
ml1-practicals all
📊 Graphs Included in Every Practical
Every practical script includes visualization:
- Practical 1 (
salary.csv): Actual vs Predicted scatter points + Continuous red regression line. - Practical 2 (
rent.csv): Actual vs Predicted scatter points + Continuous red regression line. - Practical 3 (
sales.csv): Actual vs Predicted scatter points + Continuous red regression line. - Practical 4 (
house.csv): Actual vs Predicted Price scatter plot with ideal $y=x$ reference diagonal. - Practical 5 (
income.csv): Actual vs Predicted Income scatter plot with ideal $y=x$ reference diagonal. - Practical 6 (Digits): 10×10 Colored Confusion Matrix heatmap (
ConfusionMatrixDisplay). - Practical 7 (Iris): 3×3 Colored Confusion Matrix heatmap with Iris class labels.
- Practical 8 (Wine): 3×3 Colored Confusion Matrix heatmap with Wine class labels.
- Practical 9 (PCA): 2D Principal Component scatter plot colored by wine class with a legend.
🚀 How to Run on Any Computer
- Open Terminal or Command Prompt:
pip install ml1-practicals
- Download any practical:
ml-1 # (Or ml-2, ml-3, ml-4, etc.) - Open the folder and run:
python practical_1.pyThe script prints all metrics and opens the interactive graph window!
License
MIT License
Metadata
Release files for ml1-practicals 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ml1_practicals-0.2.0.tar.gz | 35.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ml1_practicals-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 78.9 kB
Release files / ml1_practicals-0.2.0.tar.gz
| Download URL | ml1_practicals-0.2.0.tar.gz |
|---|---|
| Size | 35.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
143293d5cb25b20c28edd5080aaaf9636c34850875e51ff913c05c265fa399da
|
|
BLAKE2b-256 checksum How to use checksums |
77d52be9e37291ddea3e439c8b84e15df6595df7fbd944967fa39ce0b52694e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / ml1_practicals-0.2.0-py3-none-any.whl
| Download URL | ml1_practicals-0.2.0-py3-none-any.whl |
|---|---|
| Size | 43.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba9d042b0ce78769aed410133d7d4cb1a76a0360f2f620db557121b7e1b5267a
|
|
BLAKE2b-256 checksum How to use checksums |
8f98211731bfd3432cd779f7e40fac93338349b57154d53289366ed8e2f91c30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for ml1-practicals 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.