Skip to main content

fcaisemone

Print the complete Python source for any of nine FCAI semester-one practicals in a Jupyter cell's output or a terminal. Printing does not execute the code. No CSV datasets are included. The code is based on the supplied practical notebooks, with duplicate blocks removed and syntax corrected.

Jupyter usage

After publication:

%pip install fcaisemone
import fcaisemone as fc
fc.practical1()          # Print practical 1
fc.print_code(5)         # Print practical 5
fc.print_all()           # Print all nine practicals

practical1() through practical9() are available.

fc.list_practicals()     # Return a dictionary of practical titles
code = fc.get_code(3)    # Return source as a string
print(code)

Optional dependencies are only needed if you copy and run the printed code:

%pip install "fcaisemone[practicals]"

Practicals 1–3 retain /content paths; the other practicals use the current folder. Supply the relevant CSV datasets: Motor_Claims.csv, Titanic-Dataset.csv, BANK LOAN.csv, Employee Churn.csv, Performance Index.csv, BANK LOAN KNN.csv, K MEANS DATA.csv. Practical 2 retains the journal's CSV save path and overwrites its input file. Original-data execution was not tested because the datasets were not provided. Practical 5 reports training metrics and OOB metrics separately; its ROC does not measure performance on unseen data.

Terminal usage

python -m fcaisemone
python -m fcaisemone 1
python -m fcaisemone --all

Local installation

From the folder containing pyproject.toml:

python -m pip install .
python -m unittest discover -s tests -v

For a Jupyter kernel, run %pip install /absolute/path/to/fcaisemone in a cell.

Files

The fcaisemone/ directory contains the importable package and all nine code resources. pyproject.toml defines the project metadata and build configuration. setup.py is a compatibility shim. requirements.txt lists publishing tools. README.md, LICENSE, tests/, and PUBLISHING.md complete the source project. Generated egg-info is build metadata; it need not be created manually. The starter project uses the MIT license; review it and adjust the copyright holder and optional author metadata before publication.

See PUBLISHING.md for step-by-step publishing instructions.

Version 0.1.1 uses the code re-extracted from the original journal. See EXTRACTION_NOTES.md for corrections and retained source behaviour.

Metadata

Release files for fcaisemone 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fcaisemone 0.1.1
File Size Uploaded
fcaisemone-0.1.1.tar.gz 14.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fcaisemone 0.1.1
File Interpreter ABI Platform
fcaisemone-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.4 kB

Release files / fcaisemone-0.1.1.tar.gz

Download URL fcaisemone-0.1.1.tar.gz
Size 14.6 kB
Tags Source
SHA-256 checksum
How to use checksums
680dd0f6b70d7a887b930e375d6f83fce682527fa5755f91d5dba2830a5cb87b
BLAKE2b-256 checksum
How to use checksums
b00a3294bf7ba6b554b97ff312210d9a4feda62e0580e1034c6f55aded04671c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release files / fcaisemone-0.1.1-py3-none-any.whl

Download URL fcaisemone-0.1.1-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13cb88bbeeb10efdf9e1198cfecd739cf08785df2b7ae2066c60c421a51e664a
BLAKE2b-256 checksum
How to use checksums
0208688f0bf011a348372b3a004f17751371b0d0c04cdde408659cb4a9843dde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page