Easily: Practical Machine Learning Algorithms with Python by Thomas Darrin
Author:Thomas, Darrin [Thomas, Darrin]
Language: eng
Format: epub
Publisher: SuJinSoLa
Published: 2020-03-30T16:00:00+00:00
The MSE is slightly higher than the previous model. There’s little difference. For the test data, we will use the first model with the linear kernel.
Model Testing
The code below shows the performance of the first model with the test data. First we make the predictions and calculate the correlation.
y_pred=h1.predict(X_test)
np.corrcoef(y_pred,y_test)
0.40
The correlation is actually a little better than the training data. Below is the scatterplot for visualization purposes.
Lastly, here is the MSE
round(mean_squared_error(y_test, y_pred),5)
0.01832
The MSE is almost the same. It appears that this model would generalize to other data.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6210)
Weapons of Math Destruction by Cathy O'Neil(5785)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4460)
Descartes' Error by Antonio Damasio(3141)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(3084)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(3029)
TCP IP by Todd Lammle(2987)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2874)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2837)
The Tyranny of Metrics by Jerry Z. Muller(2822)
The Book of Numbers by Peter Bentley(2747)
The Great Unknown by Marcus du Sautoy(2518)
Once Upon an Algorithm by Martin Erwig(2459)
Easy Algebra Step-by-Step by Sandra Luna McCune(2437)
Lady Luck by Kristen Ashley(2388)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2361)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2335)
All Things Reconsidered by Bill Thompson III(2244)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(2214)
