본문 바로가기

분류 전체보기14

autoencoder에 대해서 - (2) 코드 안녕하세요! 제리입니다. autoencoder를 fashion_mnist 데이터를 통해 tensorflow로 표현해보도록 하겠습니다. 참고는 이 유튜브를 참고했습니다. https://www.youtube.com/watch?v=0PqWUsKPZdQ 라이브러리 불러오기 import tensorflow as tf from tensorflow.keras.datasets import fashion_mnist from tensorflow.keras.models import Model from tensorflow.keras.layers import Dense, Flatten,Reshape from tensorflow.keras.losses import MeanSquaredError import numpy as np .. 2023. 5. 19.
autoencoder에 대해서 - (1) 전체적인 흐름 안녕하세요! 제리입니다. 오늘은 AutoEncoder에 대해서 소개해볼까 합니다. 아래 설명은 이 유튜브를 참고해 작성하였습니다. https://www.youtube.com/watch?v=X8SBsVqmVdY AutoEncoder (AE) : 비지도 데이터 사용에 있어 인공신경망의 한 형태 Encoder : input data를 압축된 표현으로 encoding 작업을 함 Docoder : 인코딩 된 것을 다시 입력 데이터로 복원 ===> 입력 데이터만 활용하는 비지도 학습으로 입력과 복원 데이터의 차이를 최소화하는 방향임. https://www.youtube.com/watch?v=OmK_GQ40yko&t=6s 위 유튜브를 참고해서 작성했다는 점 참고 바랍니다. CNN과 RNN 모두 공통 목적은 x와 x^.. 2023. 5. 19.
이상탐지 알고리즘 종류에 대해 (1) 안녕하세요! 제리입니다. 오늘은 이상탐지 알고리즘 종류에 대해서 알아볼까 합니다. ae - encoder와 decoder는 원본 데이터와 복원된 데이터의 차이(reconstruction loss)를 back-propagation하여 가중치를 반복적으로 업데이트 - encoder와 decoder의 깊이 및 latent vector의 차원(dimension)을 정교하게 잘 결정할 필요 - overfitting을 유발 => 본적없는 새로운 데이터를 생성하는 생성 모델로서는 사용이 불가능 - 복원 오차는 이상 점수(anomaly score)가 되어 threshold와 비교를 통해 이상 여부를 결정 - 단층 구성하고, non-linear 활성함수 추가하지 않을 시 PCA처럼 단순 선형 transformation됨.. 2023. 5. 18.
Statsmodels 이용한 시계열 분석에 대해 안녕하세요! 제리입니다. 오늘 소개할 것은 Statsmodels를 이용한 시계열 분석에 대해서 다뤄보도록하겠습니다. 자세한 라이브러리 소개하는 이곳을 참고하시면 도움이 될것입니다. statsmodels statsmodels is a Python module that provides classes and functions for the estimation of many different statistical models, as well as for conducting statistical tests, and statistical data exploration. An extensive list of result statistics are available www.statsmodels.org 이름부터 통계적인.. 2023. 5. 4.