샘플 데이터와 Stacking Classification
·
Machine Learning/Boosting
샘플 데이터와 Stacking Classification¶ In [1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt np.random.seed(2021) 1. Data¶ 1.1 Sample Data¶ In [2]: from sklearn.datasets import make_classification data, label = make_classification( n_samples=1000, n_features=20, n_informative=15, n_redundant=5, random_state=2021 ) In [3]: data.shape, label.shape Out[3]: ((1000, 20), (1000,)) 1..