Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created January 15, 2021 06:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/529b753c40da8f4e85b77d5d218e5677 to your computer and use it in GitHub Desktop.
Save amankharwal/529b753c40da8f4e85b77d5d218e5677 to your computer and use it in GitHub Desktop.
import numpy as np # linear algebra
import pandas as pd # data processing
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
%matplotlib inline
import seaborn as sns
import matplotlib.style as style
from matplotlib import pyplot
from matplotlib.ticker import ScalarFormatter
from sklearn.preprocessing import LabelEncoder
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score
from sklearn.model_selection import GridSearchCV
import lightgbm as lgb
from lightgbm import LGBMClassifier
import random
pd.set_option("display.max_rows",None)
pd.set_option("display.max_columns",None)
train_data = pd.read_csv("train.csv.zip")
test_data = pd.read_csv("test.csv.zip")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment