• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/3

Click to flip

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