Skip to content

Instantly share code, notes, and snippets.

@Alakhator
Created May 18, 2020 05:34
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 Alakhator/7bd0ff55528afe3e09f6e2004c3f5aa8 to your computer and use it in GitHub Desktop.
Save Alakhator/7bd0ff55528afe3e09f6e2004c3f5aa8 to your computer and use it in GitHub Desktop.
#importing libraries
import numpy as np
import pandas as pd
from math import *
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import MinMaxScaler, LabelEncoder
from sklearn.tree import DecisionTreeRegressor
import xgboost as xgb
import matplotlib as plt
from sklearn.metrics import mean_squared_error, r2_score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment