泰坦尼克号的生存预测机器学习实战

download_21472 35 0 zip 2023-03-10 21:03:36

import pandas as pd
from sklearn.tree import DecisionTreeClassifier
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import GridSearchCV
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split
from sklearn.model_selection import GridSearchCV
from sklearn.model_selection import cross_val_score
from sklearn.preprocessing import OneHotEncoder

data = pd.read_csv('data.csv')
data.head(1)

# ...这里是代码块...

用户评论
请输入评论内容
评分:
暂无评论