본문 바로가기

IT 자격증/AICE Associate12

AICE Associate 7월 후기 나는 점점 장수생이 되어가는건가?!! (이중분류) 고객의 이탈여부 ㅇ import seaborn as sns ㅇ sns.boxplot 그리기 막대그래프가 세로로 나타나게 그리기 ㅇ sns heatmap 그리고 문제풀기 ㅇ groupby(by='columns').['컬럼1','컬럼2','컬럼3'].mean() ㅇ 스탠다드 스케일러 적용하기 ㅇ Grid search 적용하여 최적의 값에 대해 random forest 적용 ㅇ DNN학습 시 히든레이어 사이사이에 batch_normarlization 수행 ㅇ y_train, y_valid에 대해 to_categorical 수행 ㅇ DNN activation을 'selu'사용ㅇ 훈련데이터셋과 검증데이터셋의 loss를 구해서 dnn_loss에 저장ㅇ bes.. 2024. 7. 12.
딥러닝 모델저장 및 모델 불러오기 테스트 수행하기 model.save('my_model.h5') del modelmodel = load_model('my_model.h5') y_test = model.predict(x_test)print("\n Test Accuracy: %.4f" % (model.evaluate(X_test, y_test)) #불러온 모델로 테스트 수행 2024. 7. 12.
AICE Associate 6월 후기 어려웠다. 문제도 잘 기억안남.(다중분류문제) ㅇ import pandas as pd ㅇ 데이터로드 데이터셋 크기 확인 변수 = pd.read_csv('xxxx.csv') 변수.shape ㅇ 시각화 barplot ㅇ Label Encoding ㅇ PCA, cumsum함수 써서 누적기여율 구하기 pca.explained_variance_ratio_ https://techblog-history-younghunjo1.tistory.com/134 ㅇ 머신러닝 XGBoost, Randomforestㅇ 머신러닝 confusion matrix구하고 히트맵으로 시각화, classification_report 출력 ㅇ to_categorical 함수로 y_train, y_test 원핫인코.. 2024. 6. 27.
AICE Associate 참고 링크 https://datawithu.tistory.com/34 2024. 6. 26.