Skip to content

Instantly share code, notes, and snippets.

@EdsonAvelar
Last active May 22, 2019 00:19
Show Gist options
  • Select an option

  • Save EdsonAvelar/d57419d873fe16f84aae9b907f1d4e4e to your computer and use it in GitHub Desktop.

Select an option

Save EdsonAvelar/d57419d873fe16f84aae9b907f1d4e4e to your computer and use it in GitHub Desktop.
from sklearn import metrics # Metricas para calcular accuracy score
from sklearn.linear_model import LogisticRegression # Modelo utilizado
from sklearn.model_selection import train_test_split # Separa dados de treinamento e teste
from sklearn.datasets import load_breast_cancer # Carrega o dataset Breast Cancer
import matplotlib.pyplot as plt # Plotagem de gráficos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment