Skip to content

Instantly share code, notes, and snippets.

@cereniyim
Created April 29, 2020 11:00
Show Gist options
  • Save cereniyim/9a78be867d4521e1d59b379fa18b5995 to your computer and use it in GitHub Desktop.
Save cereniyim/9a78be867d4521e1d59b379fa18b5995 to your computer and use it in GitHub Desktop.
libraries for wine rating predictor part one
# data manipulation libraries
import pandas as pd
import numpy as np
pd.set_option('display.max_columns', 60)
# data visualization libraries
import matplotlib.pyplot as plt
import seaborn as sns
from IPython.core.pylabtools import figsize
%matplotlib inline
# to display visuals in the notebook
%config InlineBackend.figure_format='retina'
#to enable high resolution plots
# feature extraction and preprocessing
import re
import datetime
# feature transformation and preprocessing
from category_encoders.ordinal import OrdinalEncoder
from sklearn.model_selection import train_test_split
from sklearn.impute import SimpleImputer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment