Skip to content

Instantly share code, notes, and snippets.

@oguzhari
Created June 23, 2022 11:27
Show Gist options
  • Select an option

  • Save oguzhari/bff3a1074d0f649d37eae4e5f6ea749f to your computer and use it in GitHub Desktop.

Select an option

Save oguzhari/bff3a1074d0f649d37eae4e5f6ea749f to your computer and use it in GitHub Desktop.
Gerekli kütüphanelerin import edilmesi
#Gerekli Kütüphanelerin import edilmesi
import warnings
warnings.filterwarnings("ignore", category=FutureWarning)
warnings.filterwarnings("ignore", category=UserWarning)
from sklearn.metrics import classification_report, f1_score, confusion_matrix, accuracy_score, roc_auc_score,roc_curve, precision_score, recall_score
from sklearn.model_selection import cross_val_score
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LogisticRegression
from sklearn.tree import DecisionTreeClassifier
from sklearn.naive_bayes import MultinomialNB
from xgboost import XGBClassifier
from sklearn.ensemble import RandomForestClassifier, GradientBoostingClassifier, VotingClassifier
from sklearn import model_selection
from matplotlib import pyplot as plt
from importlib import reload
import seaborn as sns
import numpy as np
import pandas as pd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment