How meetpatel-cyber/machine-learning-sem-3 works
This repository is a collection of standalone Python examples for CSV handling, pandas DataFrames and statistics, plotting, and introductory machine learning—not a single application with one user-to-result pipeline. The clearest connected workflow is the play-tennis example: one script writes a CSV that another reads to train and evaluate a Gaussian Naive Bayes classifier. Other training snippets demonstrate separate modeling approaches and steps; plotting and data-manipulation examples run independently. Relationships are limited to those visible in the supplied excerpts or explicitly shown by the source index.
Main entry points: Play_tennis_data_for_GaussianNB.py Write Play-Tennis Data · GaussianNB_for_play_tennis_data.py Gaussian NB Example
Components 31
CSV and DataFrames
- Append CSV Row
Add new row to csv.py - Create CSV Pandas
Create CSV pandas.py - Create CSV
Create CSV using CSV lib.py - Read CSV
Read CSV File.py - Comma to Tabs
Replace comma with Tab.py - Book DataFrame
Book DataFrame.py - Player DataFrame
Player DataFrame.py - DataFrame Operations
dataframe_operations.py - Delete Missing Rows
Delete row containg missing values.py - Replace Missing Values
Replace missing value (With GPA).py - Two-Way Crosstab
Two-way cross tabulation.py
Statistics
- Summary Statistics
mean_median_SD_Var.py - Mode
Mode.py
Visualization
- Bar Chart
Bar chart.py - Box Plot
Box Plot.py - Histogram
Histogram.py - Line Plot
Line Plot.py - Multi-Point Line
Line Plot using Multiple Points.py - Scatter Plot
Scatter Plot.py - Day Bill Scatter
Scatter Plot using Day and Total Bill.py - Weekday Bill Scatter
Scatter Plot using Week Day and Total Bill.py
Machine Learning
- Load Dataset
TRAIN MODEL step-1 Loading a DataSet.py - Split Dataset
TRAIN MODEL step-2 Splitting the dataset.py - Encode Categories
TRAIN MODEL step-3 Handling categorical data.py - Train Logistic Model
TRAIN MODEL step-4 Training the Model.py - Predict and Evaluate
TRAIN MODEL step-5,6 Make Prediction & Evalute Accuracy.py - KNN Classifier
K-Nearest Neighbors (KNN) Classification.py - Random Forest Example
Full Model Train Program.py - Write Play-Tennis Data
Play_tennis_data_for_GaussianNB.py - Gaussian NB Example
GaussianNB_for_play_tennis_data.py
Other components
- Learner
Connections 1
- Write Play-Tennis Data → Gaussian NB Example: writes dataset for
Play_tennis_data_for_GaussianNB.py