Menu

Comparing Actual and Predicted Prices

Comparing Actual and Predicted Prices

Create a comparison table to evaluate predictions.

Code

results = pd.DataFrame({
'Actual Price': Y_test,
'Predicted Price': predictions
})
results.head()

Explanation

This comparison allows us to observe how closely the predicted prices match the actual closing prices.


Stock Price Prediction for Beginners using Data Science

VA

Vishalini A





Get in Touch For Details