Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
3 Cards in this Set
- Front
- Back
LINEAR REGRESSION MISCELLANEOUS |
1)A=B.columns[rfe.support] 2)Add constant to X if using stats model package 3)sns.distplot((ytest-ypred),bins=50)#plotting error terms 4)RMSE-np.sqrt(metrics.mean_squared_error(ytest,ypred))) |
|
SUPRESS WARNINGS |
import warnings warnings.fliterwarnings('ignore') |
|
PAIRPLOT |
sns.pairplot(advertising,x=['A','B'],y='C',size=4,aspect=1,kind='scatter') plt.show |