-
-
Save gustavoschmoeller/5ef4b00d88f43ab9577d064938ce0161 to your computer and use it in GitHub Desktop.
Importando
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Importando as bibliotecas | |
import numpy as np | |
import pandas as pd | |
# Visualização dos dados | |
import seaborn as sns | |
import matplotlib.pyplot as plt | |
import plotly.offline as py | |
import plotly.graph_objs as go | |
import plotly.io as pio | |
pio.templates.default = "plotly_white" | |
# Machine learning | |
from sklearn.model_selection import train_test_split | |
from sklearn.linear_model import LinearRegression | |
from sklearn.tree import DecisionTreeRegressor | |
from sklearn.ensemble import RandomForestRegressor | |
from sklearn import metrics | |
# Melhores parâmetros | |
from sklearn.model_selection import GridSearchCV |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment