Skip to content

Instantly share code, notes, and snippets.

@cereniyim
Created May 21, 2020 17:32
Show Gist options
  • Save cereniyim/abca8f9940bf11e08068ffeb16cdf9f2 to your computer and use it in GitHub Desktop.
Save cereniyim/abca8f9940bf11e08068ffeb16cdf9f2 to your computer and use it in GitHub Desktop.
libraries used in WineRatingPredictor-2 notebook
# manipulation libraries
import pandas as pd
import numpy as np
# visualization libraries
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
# to display visuals in the notebook
%config InlineBackend.figure_format='retina'
#to enable high resolution plots
# normalization and random-search and error metric
from sklearn.model_selection import RandomizedSearchCV
from sklearn.preprocessing import StandardScaler
from sklearn.metrics import mean_squared_error
# potential machine Learning Models
from sklearn.linear_model import LinearRegression
from sklearn.neighbors import KNeighborsRegressor
from sklearn.svm import SVR
from sklearn.ensemble import RandomForestRegressor
import lightgbm as lgb
# to save machine learning Models
import pickle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment