본문 바로가기
  • 데이터에 가치를 더하다, 서영석입니다.

전체 글165

[2. (1) 붓꽃 품종 예측하기] 1. 붓꽃 품종 예측하기 Classification은 대표적인 Supervised Learning 방법 중 하나이다. #conda install scikit-learn from sklearn.datasets import load_iris from sklearn.tree import DecisionTreeClassifier from sklearn.model_selection import train_test_split import pandas as pd #load iris = load_iris() #iris.data has iris data set iris_data = iris.data iris_label=iris.target print("iris target 값: ",iris_label) print("ir.. 2021. 12. 29.
부스팅 알고리즘 부스팅 알고리즘 종류 AdaBoost GBM(Gradient Boosting Machine) XGBoost LightGBM CatBoost AdaBoost Adaptive Boost의 줄임말로 약한 학습기(weak learner)의 오류 데이터에 가중치를 두어 더하는 알고리즘이다. AdaBoost는 이전의 분류기에 의해 잘못 분류된 것들을 이어지는 약한 학습기들이 수정해줄 수 있다. 따라서 AdaBoost는 잡음이 많은 데이터와 이상점에 취약한 모습을 보이는 반면 과적합(overfitting)에 덜 취약한 모습을 보인다. Decision Tree를 약한 학습기로 사용한다. AdaBoost의 경우 아래와 같은 방식으로 학습을 진행한다. 1. (1) 첫번째 약한 학습기가 Iteration 1의 경우 선을 기.. 2021. 12. 29.
[#1] The AASM Manual for the Scoring of Sleep and Associated Events 수면 단계 분류 및 스코어링 https://github.com/rootofdata/AILAB_Sleep-Scoring-Modeling.git GitHub - rootofdata/AILAB_Sleep-Scoring-Modeling Contribute to rootofdata/AILAB_Sleep-Scoring-Modeling development by creating an account on GitHub. github.com 이벤트의 클래스 분류 기준 PSG 판독은 보통 AASM에서 발간하는 The AASM Manual for the Scoring of Sleep and Associated Events에 따라 수행된다. 판독자는 30초 단위(epoch)로 그려진 뇌파,안전도,근전도,호흡량 등을 보고 AAS.. 2021. 12. 28.