heroalgorithm 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. heroalgorithm-0.1.0/LICENSE +21 -0
  2. heroalgorithm-0.1.0/PKG-INFO +165 -0
  3. heroalgorithm-0.1.0/README.md +138 -0
  4. heroalgorithm-0.1.0/pyproject.toml +58 -0
  5. heroalgorithm-0.1.0/setup.cfg +4 -0
  6. heroalgorithm-0.1.0/src/heroalgorithm/__init__.py +6 -0
  7. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-1/README.md +11 -0
  8. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-1/dataset/data.csv +7 -0
  9. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-1/notebook.ipynb +32 -0
  10. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-1/solution.py +28 -0
  11. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-2/README.md +5 -0
  12. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-2/dataset/housing.csv +5 -0
  13. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-2/notebook.ipynb +32 -0
  14. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-2/solution.py +10 -0
  15. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-3/README.md +5 -0
  16. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-3/dataset/iris.csv +4 -0
  17. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-3/notebook.ipynb +32 -0
  18. heroalgorithm-0.1.0/src/heroalgorithm/assignments/PS-3/solution.py +10 -0
  19. heroalgorithm-0.1.0/src/heroalgorithm/assignments/README.md +28 -0
  20. heroalgorithm-0.1.0/src/heroalgorithm/cli.py +293 -0
  21. heroalgorithm-0.1.0/src/heroalgorithm/config.py +132 -0
  22. heroalgorithm-0.1.0/src/heroalgorithm/downloader.py +270 -0
  23. heroalgorithm-0.1.0/src/heroalgorithm.egg-info/PKG-INFO +165 -0
  24. heroalgorithm-0.1.0/src/heroalgorithm.egg-info/SOURCES.txt +27 -0
  25. heroalgorithm-0.1.0/src/heroalgorithm.egg-info/dependency_links.txt +1 -0
  26. heroalgorithm-0.1.0/src/heroalgorithm.egg-info/entry_points.txt +3 -0
  27. heroalgorithm-0.1.0/src/heroalgorithm.egg-info/top_level.txt +1 -0
  28. heroalgorithm-0.1.0/tests/test_cli.py +52 -0
  29. heroalgorithm-0.1.0/tests/test_downloader.py +66 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AssignVault Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,165 @@
1
+ Metadata-Version: 2.4
2
+ Name: heroalgorithm
3
+ Version: 0.1.0
4
+ Summary: Instant AI/ML lab problem sheets, datasets, notebooks, and algorithms vault.
5
+ Author: HeroAlgorithm Maintainer
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/AdityaxDeore/heroalgorithm
8
+ Project-URL: Repository, https://github.com/AdityaxDeore/heroalgorithm.git
9
+ Keywords: heroalgorithm,aiml,machine-learning,problem-sheets,datasets,jupyter-notebook,algorithms,cli
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Environment :: Console
12
+ Classifier: Intended Audience :: Education
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Operating System :: OS Independent
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.9
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Topic :: Education
22
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
23
+ Requires-Python: >=3.9
24
+ Description-Content-Type: text/markdown
25
+ License-File: LICENSE
26
+ Dynamic: license-file
27
+
28
+ # ⚡ HeroAlgorithm
29
+
30
+ > **Instant AI/ML Problem Sheets, Datasets & Code Vault**
31
+ > Download, extract, and organize all your AI & Machine Learning lab assignments, problem sheets, datasets, Jupyter Notebooks (`.ipynb`), and Python scripts cleanly onto your PC with a single command.
32
+
33
+ [![PyPI Version](https://img.shields.io/pypi/v/heroalgorithm.svg)](https://pypi.org/project/heroalgorithm/)
34
+ [![Python Version](https://img.shields.io/badge/python-3.9%2B-blue.svg)](https://www.python.org/)
35
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
36
+ [![Zero Dependencies](https://img.shields.io/badge/dependencies-0%20runtime-brightgreen.svg)]()
37
+
38
+ ---
39
+
40
+ ## 🌟 The Magic Experience
41
+
42
+ Install and organize all your AI/ML lab problem sheets into `C:\AIML_Assignments` in one step:
43
+
44
+ ```powershell
45
+ pip install heroalgorithm; heroalgorithm
46
+ ```
47
+
48
+ Or run `heroalgorithm` anytime in your terminal:
49
+
50
+ ```powershell
51
+ heroalgorithm
52
+ ```
53
+
54
+ And your C: drive folder is cleanly populated:
55
+
56
+ ```text
57
+ C:\AIML_Assignments\
58
+ ├── PS-1/
59
+ │ ├── dataset/
60
+ │ │ └── data.csv
61
+ │ ├── notebook.ipynb
62
+ │ ├── solution.py
63
+ │ └── README.md
64
+ ├── PS-2/
65
+ │ ├── dataset/
66
+ │ │ └── housing.csv
67
+ │ ├── notebook.ipynb
68
+ │ ├── solution.py
69
+ │ └── README.md
70
+ └── PS-3/
71
+ ├── dataset/
72
+ │ └── iris.csv
73
+ ├── notebook.ipynb
74
+ ├── solution.py
75
+ └── README.md
76
+ ```
77
+
78
+ > **Clean & Quiet by Design:** No noisy spam or "installing file x" lines. Everything stays hidden and extracts quietly into your folder!
79
+
80
+ ---
81
+
82
+ ## 🚀 Key Features
83
+
84
+ - ⚡ **Bundled Offline Vault**: Problem sheets, datasets, notebooks, and solutions are packaged directly inside the package. Works 100% offline without needing GitHub.
85
+ - 📁 **Automatic C: Drive Placement**: Automatically organizes files into `C:\AIML_Assignments` on Windows (or `~/AIML_Assignments`).
86
+ - 🎯 **Selective Extraction**: Run `heroalgorithm 1` or `heroalgorithm ps-1` to unpack just Problem Sheet 1.
87
+ - 🤫 **Silent Mode**: Zero annoying logs. Use `-q` or `--quiet` for 100% silent execution.
88
+ - 🔄 **GitHub Sync (Optional)**: Connect to a remote GitHub repository anytime with `heroalgorithm config --set-repo <user>/<repo>` to sync the latest assignments.
89
+ - 🪶 **Zero Dependencies**: 100% built on Python's standard library. Instant installation.
90
+
91
+ ---
92
+
93
+ ## 🛠️ Usage Examples
94
+
95
+ ### 1. Extract All Problem Sheets to C:\AIML_Assignments
96
+ ```powershell
97
+ heroalgorithm
98
+ ```
99
+
100
+ ### 2. Extract Only Problem Sheet 1
101
+ ```powershell
102
+ # Shorthand:
103
+ heroalgorithm 1
104
+
105
+ # Or:
106
+ heroalgorithm ps-1
107
+ ```
108
+
109
+ ### 3. Choose a Custom Output Folder
110
+ ```powershell
111
+ heroalgorithm -o "D:\MyCollege\AI_Lab"
112
+ ```
113
+
114
+ ### 4. Run Completely Silently
115
+ ```powershell
116
+ heroalgorithm -q
117
+ ```
118
+
119
+ ### 5. Preview Available Problem Sheets
120
+ ```powershell
121
+ heroalgorithm list
122
+ ```
123
+
124
+ ### 6. Configure Default Destination or Remote Repo
125
+ ```powershell
126
+ # Change default destination:
127
+ heroalgorithm config --set-dest "D:\AIML_Lab"
128
+
129
+ # Connect to a GitHub repository:
130
+ heroalgorithm config --set-repo your-username/aiml-assignments
131
+
132
+ # Check active configuration:
133
+ heroalgorithm config
134
+ ```
135
+
136
+ ---
137
+
138
+ ## 🚢 Publishing to PyPI (Step-by-Step)
139
+
140
+ The package name **`heroalgorithm`** is verified available on PyPI!
141
+
142
+ ### Step 1: Build the Package
143
+ ```powershell
144
+ python -m build
145
+ ```
146
+ This creates the distribution files in `dist/`:
147
+ - `heroalgorithm-0.1.0-py3-none-any.whl`
148
+ - `heroalgorithm-0.1.0.tar.gz`
149
+
150
+ ### Step 2: Upload to PyPI
151
+ ```powershell
152
+ python -m twine upload dist/*
153
+ ```
154
+ *(Enter `__token__` as the username, and paste your PyPI API Token as the password).*
155
+
156
+ Once published, anyone in the world can run:
157
+ ```powershell
158
+ pip install heroalgorithm; heroalgorithm
159
+ ```
160
+
161
+ ---
162
+
163
+ ## 📄 License
164
+
165
+ This project is licensed under the [MIT License](LICENSE).
@@ -0,0 +1,138 @@
1
+ # ⚡ HeroAlgorithm
2
+
3
+ > **Instant AI/ML Problem Sheets, Datasets & Code Vault**
4
+ > Download, extract, and organize all your AI & Machine Learning lab assignments, problem sheets, datasets, Jupyter Notebooks (`.ipynb`), and Python scripts cleanly onto your PC with a single command.
5
+
6
+ [![PyPI Version](https://img.shields.io/pypi/v/heroalgorithm.svg)](https://pypi.org/project/heroalgorithm/)
7
+ [![Python Version](https://img.shields.io/badge/python-3.9%2B-blue.svg)](https://www.python.org/)
8
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
9
+ [![Zero Dependencies](https://img.shields.io/badge/dependencies-0%20runtime-brightgreen.svg)]()
10
+
11
+ ---
12
+
13
+ ## 🌟 The Magic Experience
14
+
15
+ Install and organize all your AI/ML lab problem sheets into `C:\AIML_Assignments` in one step:
16
+
17
+ ```powershell
18
+ pip install heroalgorithm; heroalgorithm
19
+ ```
20
+
21
+ Or run `heroalgorithm` anytime in your terminal:
22
+
23
+ ```powershell
24
+ heroalgorithm
25
+ ```
26
+
27
+ And your C: drive folder is cleanly populated:
28
+
29
+ ```text
30
+ C:\AIML_Assignments\
31
+ ├── PS-1/
32
+ │ ├── dataset/
33
+ │ │ └── data.csv
34
+ │ ├── notebook.ipynb
35
+ │ ├── solution.py
36
+ │ └── README.md
37
+ ├── PS-2/
38
+ │ ├── dataset/
39
+ │ │ └── housing.csv
40
+ │ ├── notebook.ipynb
41
+ │ ├── solution.py
42
+ │ └── README.md
43
+ └── PS-3/
44
+ ├── dataset/
45
+ │ └── iris.csv
46
+ ├── notebook.ipynb
47
+ ├── solution.py
48
+ └── README.md
49
+ ```
50
+
51
+ > **Clean & Quiet by Design:** No noisy spam or "installing file x" lines. Everything stays hidden and extracts quietly into your folder!
52
+
53
+ ---
54
+
55
+ ## 🚀 Key Features
56
+
57
+ - ⚡ **Bundled Offline Vault**: Problem sheets, datasets, notebooks, and solutions are packaged directly inside the package. Works 100% offline without needing GitHub.
58
+ - 📁 **Automatic C: Drive Placement**: Automatically organizes files into `C:\AIML_Assignments` on Windows (or `~/AIML_Assignments`).
59
+ - 🎯 **Selective Extraction**: Run `heroalgorithm 1` or `heroalgorithm ps-1` to unpack just Problem Sheet 1.
60
+ - 🤫 **Silent Mode**: Zero annoying logs. Use `-q` or `--quiet` for 100% silent execution.
61
+ - 🔄 **GitHub Sync (Optional)**: Connect to a remote GitHub repository anytime with `heroalgorithm config --set-repo <user>/<repo>` to sync the latest assignments.
62
+ - 🪶 **Zero Dependencies**: 100% built on Python's standard library. Instant installation.
63
+
64
+ ---
65
+
66
+ ## 🛠️ Usage Examples
67
+
68
+ ### 1. Extract All Problem Sheets to C:\AIML_Assignments
69
+ ```powershell
70
+ heroalgorithm
71
+ ```
72
+
73
+ ### 2. Extract Only Problem Sheet 1
74
+ ```powershell
75
+ # Shorthand:
76
+ heroalgorithm 1
77
+
78
+ # Or:
79
+ heroalgorithm ps-1
80
+ ```
81
+
82
+ ### 3. Choose a Custom Output Folder
83
+ ```powershell
84
+ heroalgorithm -o "D:\MyCollege\AI_Lab"
85
+ ```
86
+
87
+ ### 4. Run Completely Silently
88
+ ```powershell
89
+ heroalgorithm -q
90
+ ```
91
+
92
+ ### 5. Preview Available Problem Sheets
93
+ ```powershell
94
+ heroalgorithm list
95
+ ```
96
+
97
+ ### 6. Configure Default Destination or Remote Repo
98
+ ```powershell
99
+ # Change default destination:
100
+ heroalgorithm config --set-dest "D:\AIML_Lab"
101
+
102
+ # Connect to a GitHub repository:
103
+ heroalgorithm config --set-repo your-username/aiml-assignments
104
+
105
+ # Check active configuration:
106
+ heroalgorithm config
107
+ ```
108
+
109
+ ---
110
+
111
+ ## 🚢 Publishing to PyPI (Step-by-Step)
112
+
113
+ The package name **`heroalgorithm`** is verified available on PyPI!
114
+
115
+ ### Step 1: Build the Package
116
+ ```powershell
117
+ python -m build
118
+ ```
119
+ This creates the distribution files in `dist/`:
120
+ - `heroalgorithm-0.1.0-py3-none-any.whl`
121
+ - `heroalgorithm-0.1.0.tar.gz`
122
+
123
+ ### Step 2: Upload to PyPI
124
+ ```powershell
125
+ python -m twine upload dist/*
126
+ ```
127
+ *(Enter `__token__` as the username, and paste your PyPI API Token as the password).*
128
+
129
+ Once published, anyone in the world can run:
130
+ ```powershell
131
+ pip install heroalgorithm; heroalgorithm
132
+ ```
133
+
134
+ ---
135
+
136
+ ## 📄 License
137
+
138
+ This project is licensed under the [MIT License](LICENSE).
@@ -0,0 +1,58 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0.0", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "heroalgorithm"
7
+ version = "0.1.0"
8
+ description = "Instant AI/ML lab problem sheets, datasets, notebooks, and algorithms vault."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = "MIT"
12
+ authors = [
13
+ { name = "HeroAlgorithm Maintainer" }
14
+ ]
15
+ keywords = [
16
+ "heroalgorithm",
17
+ "aiml",
18
+ "machine-learning",
19
+ "problem-sheets",
20
+ "datasets",
21
+ "jupyter-notebook",
22
+ "algorithms",
23
+ "cli"
24
+ ]
25
+ classifiers = [
26
+ "Development Status :: 4 - Beta",
27
+ "Environment :: Console",
28
+ "Intended Audience :: Education",
29
+ "Intended Audience :: Developers",
30
+ "Operating System :: OS Independent",
31
+ "Programming Language :: Python :: 3",
32
+ "Programming Language :: Python :: 3.9",
33
+ "Programming Language :: Python :: 3.10",
34
+ "Programming Language :: Python :: 3.11",
35
+ "Programming Language :: Python :: 3.12",
36
+ "Programming Language :: Python :: 3.13",
37
+ "Topic :: Education",
38
+ "Topic :: Scientific/Engineering :: Artificial Intelligence"
39
+ ]
40
+ dependencies = []
41
+
42
+ [project.scripts]
43
+ heroalgorithm = "heroalgorithm.cli:main"
44
+ hero = "heroalgorithm.cli:main"
45
+
46
+ [project.urls]
47
+ Homepage = "https://github.com/AdityaxDeore/heroalgorithm"
48
+ Repository = "https://github.com/AdityaxDeore/heroalgorithm.git"
49
+
50
+
51
+ [tool.setuptools.packages.find]
52
+ where = ["src"]
53
+
54
+ [tool.setuptools.package-data]
55
+ heroalgorithm = [
56
+ "assignments/**/*",
57
+ "assignments/**/.*"
58
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,6 @@
1
+ """
2
+ HeroAlgorithm - Instant AI/ML Lab Problem Sheets, Datasets & Code Manager.
3
+ """
4
+
5
+ __version__ = "0.1.0"
6
+ __all__ = ["__version__"]
@@ -0,0 +1,11 @@
1
+ # Problem Sheet 1 (PS-1)
2
+
3
+ ## Objectives
4
+ - Load and preprocess tabular dataset from `dataset/data.csv`.
5
+ - Implement simple classification model.
6
+ - Analyze feature correlation and accuracy metrics.
7
+
8
+ ## Files
9
+ - `dataset/data.csv`: Input training data.
10
+ - `notebook.ipynb`: Interactive analysis & visualization.
11
+ - `solution.py`: Standalone Python implementation script.
@@ -0,0 +1,7 @@
1
+ feature1,feature2,target
2
+ 1.2,3.4,0
3
+ 2.5,1.1,0
4
+ 5.8,7.9,1
5
+ 6.1,8.3,1
6
+ 1.9,2.4,0
7
+ 7.3,9.1,1
@@ -0,0 +1,32 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "# PS-1: Linear Classification\n",
8
+ "\n",
9
+ "Jupyter Notebook for AIML Lab.\n"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": null,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "import pandas as pd\n",
19
+ "import numpy as np\n",
20
+ "df = pd.read_csv(\"dataset/data.csv\")\n",
21
+ "df.head()\n"
22
+ ]
23
+ }
24
+ ],
25
+ "metadata": {
26
+ "language_info": {
27
+ "name": "python"
28
+ }
29
+ },
30
+ "nbformat": 4,
31
+ "nbformat_minor": 5
32
+ }
@@ -0,0 +1,28 @@
1
+ """
2
+ AIML Problem Sheet 1 (PS-1)
3
+ Linear Regression / Classification Implementation
4
+ """
5
+
6
+ import pandas as pd
7
+ from pathlib import Path
8
+
9
+
10
+ def load_dataset():
11
+ data_path = Path(__file__).parent / "dataset" / "data.csv"
12
+ if not data_path.exists():
13
+ raise FileNotFoundError(f"Dataset not found at: {data_path}")
14
+ df = pd.read_csv(data_path)
15
+ print(f"Loaded dataset with {len(df)} rows:")
16
+ print(df.head())
17
+ return df
18
+
19
+
20
+ def main():
21
+ print("Executing PS-1 Solution...")
22
+ df = load_dataset()
23
+ print("Features:", [c for c in df.columns if c != "target"])
24
+ print("Target distribution:", df["target"].value_counts().to_dict())
25
+
26
+
27
+ if __name__ == "__main__":
28
+ main()
@@ -0,0 +1,5 @@
1
+ # Problem Sheet 2 (PS-2)
2
+
3
+ ## Objectives
4
+ - Decision Trees and Random Forests on housing data.
5
+ - Evaluate MAE, RMSE, and R2 score.
@@ -0,0 +1,5 @@
1
+ area,bedrooms,price
2
+ 1200,2,250000
3
+ 1800,3,380000
4
+ 2400,4,520000
5
+ 850,1,160000
@@ -0,0 +1,32 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "# PS-2: Decision Trees & Regression\n",
8
+ "\n",
9
+ "Jupyter Notebook for AIML Lab.\n"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": null,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "import pandas as pd\n",
19
+ "import numpy as np\n",
20
+ "df = pd.read_csv(\"dataset/housing.csv\")\n",
21
+ "df.head()\n"
22
+ ]
23
+ }
24
+ ],
25
+ "metadata": {
26
+ "language_info": {
27
+ "name": "python"
28
+ }
29
+ },
30
+ "nbformat": 4,
31
+ "nbformat_minor": 5
32
+ }
@@ -0,0 +1,10 @@
1
+ """AIML Problem Sheet 2 (PS-2): Decision Trees & Regression"""
2
+ import pandas as pd
3
+ from pathlib import Path
4
+
5
+ def main():
6
+ df = pd.read_csv(Path(__file__).parent / "dataset" / "housing.csv")
7
+ print("PS-2 Housing dataset loaded:", df.shape)
8
+
9
+ if __name__ == "__main__":
10
+ main()
@@ -0,0 +1,5 @@
1
+ # Problem Sheet 3 (PS-3)
2
+
3
+ ## Objectives
4
+ - Clustering (K-Means) and Classification on Iris dataset.
5
+ - Dimensionality Reduction with PCA.
@@ -0,0 +1,4 @@
1
+ sepal_length,sepal_width,petal_length,petal_width,species
2
+ 5.1,3.5,1.4,0.2,setosa
3
+ 7.0,3.2,4.7,1.4,versicolor
4
+ 6.3,3.3,6.0,2.5,virginica
@@ -0,0 +1,32 @@
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "metadata": {},
6
+ "source": [
7
+ "# PS-3: Clustering & PCA\n",
8
+ "\n",
9
+ "Jupyter Notebook for AIML Lab.\n"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": null,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "import pandas as pd\n",
19
+ "import numpy as np\n",
20
+ "df = pd.read_csv(\"dataset/iris.csv\")\n",
21
+ "df.head()\n"
22
+ ]
23
+ }
24
+ ],
25
+ "metadata": {
26
+ "language_info": {
27
+ "name": "python"
28
+ }
29
+ },
30
+ "nbformat": 4,
31
+ "nbformat_minor": 5
32
+ }
@@ -0,0 +1,10 @@
1
+ """AIML Problem Sheet 3 (PS-3): Neural Networks / Clustering"""
2
+ import pandas as pd
3
+ from pathlib import Path
4
+
5
+ def main():
6
+ df = pd.read_csv(Path(__file__).parent / "dataset" / "iris.csv")
7
+ print("PS-3 Iris dataset loaded:", df.shape)
8
+
9
+ if __name__ == "__main__":
10
+ main()
@@ -0,0 +1,28 @@
1
+ # 🤖 AI / ML Lab Assignments Repository
2
+
3
+ This repository hosts all AI & Machine Learning lab problem sheets and code.
4
+
5
+ Each problem sheet follows a consistent structure:
6
+ ```text
7
+ PS-X/
8
+ ├── dataset/
9
+ │ └── dataset.csv
10
+ ├── psX_notebook.ipynb
11
+ ├── psX_solution.py
12
+ └── README.md
13
+ ```
14
+
15
+ ## Quick Download with AssignVault
16
+ Students can download and organize everything locally with a single terminal command:
17
+
18
+ ```bash
19
+ # 1. Download all Problem Sheets
20
+ assignvault download
21
+
22
+ # 2. Or download a specific Problem Sheet (e.g. PS-1)
23
+ assignvault download ps-1
24
+ # or: assignvault download 1
25
+
26
+ # 3. List all available problem sheets
27
+ assignvault list
28
+ ```