Question: please explain this code # Fitting the ANN to the Training set model.fit(X_train, Y_train , batch_size =15, epochs =5, verbose=0) # Generating Predictions on testing

please explain this code
please explain this code \# Fitting the ANN to the Training set

\# Fitting the ANN to the Training set model.fit(X_train, Y_train , batch_size =15, epochs =5, verbose=0) \# Generating Predictions on testing data Predictions=model.predict(X_test) \# Scaling the predicted Price data back to original price scale Predictions=TargetVarScalerFit.inverse_transform(Predictions) \# Scaling the y_test Price data back to original price scale Y_test_orig=TargetVarScalerFit.inverse_transform(y_test) \# Scaling the test data back to original scale Test_Data=PredictorScalerFit.inverse_transform(X_test) TestingData=pd.DataFrame(data=Test_Data, columns=Predictors) TestingData['Price']=y_test_orig TestingData['PredictedPrice']=Predictions TestingData.head()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!