Pimpri Chinchwad Education Trust’s
Pimpri Chinchwad College of Engineering & Research
Ravet, Pune
AY:2025-26 Lab Experiment – Mini Project on application Term–I
Department: Mechanical Engineering Class: TE Div: A
Subject: Numerical and Statistical Methods
Subject Code: 302041 Marks - 10
Note: 1. Give explanation or justification wherever required.
a r
Course Outcomes:
C302041.4
n k
APPLY numerical methods for curve fitting and regression analysis. (Apply)
y a
Title: Mini Project on Mechanical Engineering application
a
Write computer programs in PYTHON language.
r
a
Application - Tool Wear Prediction using Regression
Problem Statement
y N
In machining operations, tool wear directly affects product quality, surface finish, and machining cost.
In this project, machining parameters (cutting speed, feed rate, depth of cut, and machining time) are
j a
used to build Linear and Multiple Regression models to estimate tool wear.
n r
a a
Objective
k
1. To apply Linear Regression (time vs tool wear) and estimate the tool wear trend.
S 2. To apply Multiple Regression (cutting speed, feed rate, depth of cut, time vs tool wear) for
improved prediction.
n
3. To compare both models using metrics (R², RMSE) and plots.
4. To identify the better model for tool wear prediction.
y a
Steps to follow:
r a
1. Dataset Preparation
o Read tool_wear_dataset.csv.
N a
o Check Variables: cutting speed, feed rate, depth of cut, machining time, tool wear.
o Check missing, duplicate values
2. Data Analysis
j a y
n
o Plot scatter plots of tool wear vs each parameter.
a
3. Linear Regression Model
o X = Input: machining time.
S
o y = Output: tool wear.
o Fit model
o Plot regression line and display equation.
4. Multiple Regression Model
o Xm = Inputs: cutting speed, feed rate, depth of cut, time.
o ym = Output: tool wear.
o Fit Model
o Display regression equation with coefficients.
5. Model Evaluation
Page 1 of 2
o Compute R² (goodness of fit) and RMSE (error).
o Compare Linear vs Multiple regression performance.
6. Visualization
o Plot actual vs predicted tool wear for both models.
o Use a diagonal line to show perfect prediction.
7. Conclusion
o Identify the better model (expected: multiple regression).
a r
S. M. Narayankar
Subject Teacher
n k
y a
r a
N a
j a y
a n a r
S n k
y a
r a
N a
j a y
a n
S
Page 2 of 2