Skip to main content

A CLI package manager for Jupyter Notebook ML/DA templates

Project description

notebookpkg v3.0.0

A CLI tool to instantly generate ready-to-run Jupyter Notebook templates for Machine Learning and Data Analytics.

Installation

pip install notebookpkg

CLI Commands

Install a template wired to your dataset

notebookpkg install <template> --dataset data.csv

Options

Option Default Description
--dataset required Path to your CSV file
--target last column Target/label column name
--drop none Columns to drop (comma-separated)
--degree 2 Polynomial degree
--clusters 3 Number of clusters
--output <template>_notebook.ipynb Output filename

List all templates

notebookpkg list

View template code without installing

notebookpkg syntax linear-regression

Available Templates (25)

Template Description
eda-basic Basic EDA: shape, info, describe, nulls
eda-visual Visual EDA: pairplot, heatmap, distributions
eda-full Full EDA: outliers, skewness, duplicates, value counts
linear-regression Linear Regression with MSE and R²
polynomial-regression Polynomial Regression with smooth curve
logistic-regression Logistic Regression with confusion matrix
knn-classifier K-Nearest Neighbors Classifier
naive-bayes Gaussian Naive Bayes
lasso-ridge Lasso + Ridge + ElasticNet + GridSearchCV
decision-tree Decision Tree with tree plot
random-forest-regressor Random Forest Regressor
random-forest-classifier Random Forest Classifier
svm-classifier SVM Linear + RBF with decision boundaries
kmeans-clustering KMeans with elbow method
multi-model-compare LR + KNN + NB comparison
cross-validation KFold cross-validation
dbscan-clustering DBSCAN vs KMeans with PCA view
pca PCA dimensionality reduction + clustering
association-rules Apriori market basket analysis
arima-forecasting ARIMA time series forecasting
text-classification CountVectorizer + Multinomial NB
ensemble-methods RF + Bagging + AdaBoost + Stacking
hierarchical-clustering Agglomerative with dendrogram
moving-average SMA + WMA + EMA
anomaly-detection IsolationForest anomaly detection

Example Usage

# Basic EDA
notebookpkg install eda-basic --dataset iris.csv

# Linear Regression
notebookpkg install linear-regression --dataset housing.csv --target price

# Classification
notebookpkg install random-forest-classifier --dataset titanic.csv --target Survived --drop "PassengerId,Name,Ticket,Cabin"

# Clustering
notebookpkg install kmeans-clustering --dataset customers.csv --clusters 5

# Polynomial Regression with degree 3
notebookpkg install polynomial-regression --dataset data.csv --target y --degree 3

Author

Priyansu Pattanaik — priyansupattanaikwork@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notebookpkg-3.0.0.tar.gz (26.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notebookpkg-3.0.0-py3-none-any.whl (67.2 kB view details)

Uploaded Python 3

File details

Details for the file notebookpkg-3.0.0.tar.gz.

File metadata

  • Download URL: notebookpkg-3.0.0.tar.gz
  • Upload date:
  • Size: 26.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for notebookpkg-3.0.0.tar.gz
Algorithm Hash digest
SHA256 0bf7792e5cc966ef9a853d689795d0341dc897beaa2fa5487d49b5c1238a686c
MD5 0269270d867e471a06588adad0eeb9da
BLAKE2b-256 eedf255c2614e8f7187be1cbb96d958aa4b2b51da2180192d4dec822b6b5952a

See more details on using hashes here.

File details

Details for the file notebookpkg-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: notebookpkg-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 67.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for notebookpkg-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccc3402f0d5ed982c7969e7ace4c97fad9b335e18b20c80ab0a6fb8a8a25c5be
MD5 6b076437fe407d298e425120ebc091da
BLAKE2b-256 f219bf2442faab3af0e05fe81f464f8f34bd5bf592eae4f3accce5efc9fff832

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page