Skip to main content

cvip_labs

CVIP 6th sem lab helpers.

Install

pip install cvip_labs

Exp 4 - MNIST SVM + Neural Network

from cvip_labs import run_exp4 X_train, X_test, y_train, y_test = run_exp4.load_data() svm_model = run_exp4.train_svm(X_train, y_train) svm_acc = run_exp4.evaluate(svm_model, X_test, y_test) nn_model = run_exp4.train_nn(X_train, y_train, epochs=5) nn_acc = run_exp4.evaluate_nn(nn_model, X_test, y_test) run_exp4.plot_results()

Exp 5 - CNN Image Classifier

from cvip_labs import run_exp5 train, val, test, class_names = run_exp5.load_data(data_dir='exp5') model = run_exp5.build_model() model.summary() hist = run_exp5.train_model(model, train, val, epochs=20) run_exp5.plot_results(hist) run_exp5.evaluate(model, test) run_exp5.predict(model, class_names, img_path='images6.jpg') run_exp5.save_model(model)

Metadata

Release files for cvip-labs 0.5.0

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

Source distribution (sdist)

Source distribution for cvip-labs 0.5.0
File Size Uploaded Provenance Actions
cvip_labs-0.5.0.tar.gz 4.6 kB Without provenance Details for cvip_labs-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cvip-labs 0.5.0
File Interpreter ABI Platform Actions
cvip_labs-0.5.0-py3-none-any.whl Python 3 none any Details for cvip_labs-0.5.0-py3-none-any.whl

Total release size: 9.9 kB

Release files / cvip_labs-0.5.0.tar.gz

Download URL cvip_labs-0.5.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05e511085d86d0b6853a7798c4e19090db94b6ca0198d3b3c6ba49e011ff0797
BLAKE2b-256 checksum
How to use checksums
b10dd3663c3f0a957e520caa4da4010e68fbc409fe4bcc871b6ff5eb5112cf30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Release files / cvip_labs-0.5.0-py3-none-any.whl

Download URL cvip_labs-0.5.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f65c091f967f036ec2990688ddec9815c4f80fbf2174e68caa1739c7b872a7d
BLAKE2b-256 checksum
How to use checksums
f5cea086fa0571ee35c93a2e636700105a8717037eec2c52803bf6d6780809d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.11

Security for cvip-labs 0.5.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.

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