regression functions

Solutions on MaxInterview for regression functions by the best coders in the world

showing results for - "regression functions"
Philipp
21 Oct 2017
1import numpy as np
2import pandas as pd
3import matplotlib.pyplot as plt
4import warnings
5warnings.filterwarnings('ignore')
6import seaborn as sns
7
8from sklearn.preprocessing import StandardScaler
9
10from sklearn.neighbors import KNeighborsRegressor
11from sklearn.svm import SVR
12from sklearn.linear_model import LinearRegression
13from sklearn.linear_model import Lasso
14from sklearn.tree import DecisionTreeRegressor
15from sklearn.ensemble import GradientBoostingRegressor
16from sklearn.ensemble import RandomForestRegressor
17from sklearn.ensemble import AdaBoostRegressor
18from xgboost import XGBRegressor
19
20from sklearn.metrics import mean_absolute_error
21from sklearn.metrics import mean_squared_error
22from sklearn.metrics import r2_score
23from sklearn.model_selection import train_test_split
24from sklearn.model_selection import cross_val_score
25
26from sklearn.externals import joblib