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.
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
---------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.
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.
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.
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
Thus it can be onserved that, the mean of the MSE is reduced and accuracy of the prediction is increased when,
- the data fed into the model is normalized
- the number of epochs is increased
- the number of hidden layer in the model is incresed.