Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
\# 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Database And Knowledge Base Systems

Authors: S Krishna

1st Edition

9810206208, 978-9810206208

More Books

Students also viewed these Databases questions

Question

What is topology? Explain with examples

Answered: 1 week ago