We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Vectors
import numpy as np
Dataframes
import pandas as pd
Plotting
import matplotlib.pyplot as plt
import seaborn as sns
Seaborn and matplotlib work well together though they are both plotting
Fancy plotting
!pip install plotly
import plotly as py
!pip install cufflinks
import cufflinks as cf
Machine Learning
from sklearn.preprocessing import Imputer from sklearn.linear_model import logistic regression(scikit learn)
Preprocessing Label Encoder Scikit learn requires numbers You label encode your target, not your features. For features, you should one-hot encode
Diff between dummy variables and label encoding is 'it doesn't create the columns'