Skip to content

Determining the strength of the concrete with respect to its ingredients using a regression model built in keras.

Notifications You must be signed in to change notification settings

Ghaayathri-Devi-K/concrete-strength-prediction-neural-networks

Repository files navigation

Predicting the strength of the concrete using Neural Networks

Determining the strength of the concrete with respect to its ingredients using a regression model built in keras. The accuracy of the model is evaluated in 4 test cases.

Description of the dataset

The dataset describes the strength of the concrete for different proportions of its ingredients. The various ingredients that helps to determine the strength of the concrete includes:

  • Cement
  • Blast Furnace Slag
  • Fly Ash
  • Water
  • Superplasticizer
  • Coarse Aggregate
  • Fine Aggregate

PART A

---------Building a BASE LINE MODEL------------
Charecteristics of the neural network:

  • 1 hidden layer - with 10 nodes
  • Activation Function: ReLU
  • Optimizer used: Adam
  • Loss Function: Mean Squared Error (MSE)

The data is randomly split into test sets (30%) and train sets (70%) and fed into the Base Line Model. The model is trained using 50 epochs. Using the test data the model is evaluated and Mean Sqaured Error (MSE) is computed.
The baseline model is trained and tested 50 times each time a different train and test data randomly fed from the dataset, thus computing a set of 50 mean squared errors. Hence the best value of mean squared error is computed and standard deviation is also computed from it.

PART B

Reporting mean of the mean squared error using normalized version of the data with same base line model. Then the mean of the MSE of normalized and unnormalized data fed into the base line model is comapred with one another.
image

PART C

Reporting mean of the MSE using normalized version of the data by increasing the number of epochs to 100 Then the mean of the MSE of the predictions of base line model is computed by increasing the epochs (100)and comapred with that of case B where it is with 50 epochs.
image

PART D

Here, a new neural network model that performs regression is built. The charecteristics of the new model are bleow:

  • Number of hidden layers: 3
  • Number of nodes in each of the hidden layer: 10
  • Activation function: ReLU
  • Rest of the features are same as the Base Line Model
Then the mean of the MSE of the normalized data is reported. Also the mean of the MSE when the model has 1 hidden layer and when the model has 3 hidden layer is compared with one another.

image

Observations

Thus it can be onserved that, the mean of the MSE is reduced and accuracy of the prediction is increased when,

  1. the data fed into the model is normalized
  2. the number of epochs is increased
  3. the number of hidden layer in the model is incresed.

About

Determining the strength of the concrete with respect to its ingredients using a regression model built in keras.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published