인생마커
article thumbnail
타이타닉 생존자 예측, 머신러닝(feat.sklearn)
인공지능 2021. 7. 5. 21:44

라이브러리 및 데이터 가져오기 import warnings warnings.filterwarnings("ignore") import pandas as pd import numpy as np import matplotlib.pyplot as plt from sklearn.preprocessing import LabelEncoder from sklearn import datasets, model_selection, linear_model, ensemble,neighbors from sklearn.metrics import mean_squared_error,accuracy_score from sklearn.model_selection import train_test_split from sklearn.svm i..