Metadata-Version: 2.4
Name: npsai
Version: 1.1.2
Summary: Question and full-code reference for AI assignments 2 3 4 6 8 9
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: numpy<3,>=1.26
Requires-Dist: pandas<4,>=2.2
Requires-Dist: scikit-learn<2,>=1.5
Requires-Dist: matplotlib<4,>=3.8
Requires-Dist: networkx<4,>=3.2
Requires-Dist: pgmpy<2,>=1.0

# Complete AI lab cell code

```bash
pip install --upgrade npsai
```

Restart Python/Jupyter after upgrading, then:

```python
import Num as NPS
print(NPS.__version__)  # 1.1.2
NPS.show()
NPS.assignment2()       # ALL original cells and code, with no output sections
NPS.assignment2(cell=3) # one cell
NPS.assignment6()       # all 37 cells
NPS.cells(9)            # all original cells of lab 9
print(NPS.code(2))      # all original code cells as a string
NPS.export(2, directory="lab2") # code-only notebook, transcript and code files
NPS.run(2)              # execute corrected study solution
```

All 63 original cells from labs 2, 3, 4, 6, 8 and 9 are preserved in order,
including markdown questions and empty cells. Assignment functions display cell
sources only. Saved results, plots and output sections have been removed.
The `outputs` keyword is accepted for compatibility but no longer displays results.
`run()` explicitly executes the corrected study code and naturally prints runtime
results. `solution_code()` returns the corrected study source.

Student identity comments and private metadata are removed; the CSV path is now
spam.csv. Original code can include original bugs and notebook-only !pip commands.
Lab 8's original first cell uses df before loading it. Use
NPS.run(8, csv_path="spam.csv") for the corrected real-dataset workflow; its default
uses synthetic demo data. Question summaries for labs 8 and 9 are reconstructed
from their code because original question sheets were unavailable.
Python 3.10+; Python 3.12 recommended. Import is case-sensitive: import Num as NPS.
