728x90
반응형
Kaggle Competition - Binary Prediction of Poisonous Mushrooms (3) EDA 시각화
분명 전산학부 졸업 했는데 코딩 개못하는 조준호/AI, ML, DL 2024. 9. 2. 14:43Kaggle Competition - Binary Prediction of Poisonous Mushrooms (3) EDA 시각화

https://www.kaggle.com/code/satyaprakashshukl/mushroom-classification-analysis/notebook 🌴Mushroom🎉Classification📈AnalysisExplore and run machine learning code with Kaggle Notebooks | Using data from multiple data sourceswww.kaggle.com  cap-shape와 cap-color를 기준으로 그룹화하고 해당되는 데이터의 수를 feature_counts에 넣는다.이후, px.sunburst 함수를 사용해서 시각화한다.  다음으로 sankey chart로 만들자. 데이터의 '흐름'을 볼 수 있다. import plotly.gra..

Kaggle Competition - Binary Prediction of Poisonous Mushrooms (2) EDA correlation matrix
분명 전산학부 졸업 했는데 코딩 개못하는 조준호/AI, ML, DL 2024. 9. 2. 14:23Kaggle Competition - Binary Prediction of Poisonous Mushrooms (2) EDA correlation matrix

https://www.kaggle.com/code/satyaprakashshukl/mushroom-classification-analysis 🌴Mushroom🎉Classification📈AnalysisExplore and run machine learning code with Kaggle Notebooks | Using data from multiple data sourceswww.kaggle.com 이제 EDA를 하자!  시각화를 위해 seaborn을 데려온다.isna()를 통해 값이 NaN이면 True, 아니면 False를 만드는데 이를 mean()에 넣으면 True는 1로 계산이 되기 때문에 여기에 mean()을 하고 100을 곱하면 "해당 column에 있는 NaN 값의 비율"을 얻을 수 있..

728x90
반응형
image