목록
반응형
분류 전체보기
반응형
(83)
Lumiere, and s5unnyjjj
아래 그림과 같이 데이터를 분리할 decision boundary인 hyperplane을 찾아야한다. 여기서 초평명(hyperpalne)은 최대 마진 분류기가 선형 경계로 사용하는 선으로 임의의 공간을 반으로 양분하는 선이다. 2차원 공간에서의 초평면은 1차원 직선이고, 3차원 공간에서의 초평면은 2차원 평면이다. 예를 들면 아래와 같은 빨간색 실선인 hyperplane으로 데이터를 분리할 수 있다. 아니면 아래와 같은 빨간색 점선인 hyperplane으로 데이터를 분리할 수도 있다. 이렇게 구분이 가능한 즉 분리가 가능한 초평면이 두 개 이상인 hyperplane이 존재한다면, 이것을 separating hyperplane이라 부른다. 즉, 아래 그림처럼 분리가 가능한 초평면이 하나가 아닌 여러개인 경..
K-근접이웃 (K-Nearest Neighbors, K-NN) 분류하고자하는 새로운 데이터와 가장 가까운 K개의 학습 데이터를 이용하여 새로운 데이터의 클래스를 분류한다. 가장 가까운 K개의 학습 데이터들이 주로 속한 클래스로 새로운 데이터를 분류한다. 즉, 새로운 데이터를 입력으로 받았을 때, 가장 가까이 있는 것이 무엇이냐를 중심으로 새로운 데이터의 종류를 정해주는 알고리즘이다. 방법은 아래와 같다. 가장 가까운 이웃을 찾기 위해, Euclidean distance를 사용하여 이웃간의 거리를 계산한다. 계산한 이웃간의 거리 중, 거리가 가까운 이웃들 K개 만큼 탐색한다. 다수결의 원리에 근거하여, 신규 테스트 데이터의 class를 예측한다. Euclidean distance를 이용한 거리 계산은 아래..
Problem #7 : Dropout를 적용한 모델의 특정 node output 계산 하단의 표를 이용하여 아래의 그림에 표시된 h2의 output인 o2 값을 계산하시오. 단, 활성화 함수(Activation function)은 ReLU를 사용하며 각 노드의 drop 될 가능성은 0.4이다. 풀이를 원하실 경우, 하단의 '더보기' 를 클릭해주시기 바랍니다. 더보기 아래의 내용은 필자가 직접 작성한 풀이입니다. >> 위 내용은 필자가 직접 작성한 내용입니다. >> 부족한 점이 많을 수 있기에 잘못된 내용이나 궁금한 사항이 있으면 댓글 달아주시기 바랍니다. >> 긴 글 읽어주셔서 감사합니다.
프로그래머스사용 언어: Python문제 링크: https://programmers.co.kr/learn/courses/30/lessons/42840?language=python 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr *** 본 문제를 푸는 과정을 공유하려 한다.▶ 1번 수포자와 2번 수포자와 3번 수포자가 수학 문제를 찍는 패턴이 반복된다. 그렇다면 1번, 2번, 3번 수포자가 찍는 반복되는 패턴이 담긴 배열을 각각 만들어서 해당 배열을 이용하면 된다. 단, 반복되는 패턴이 각각 다르기 때문에 반복되는 패턴의 길이를 따로 구해야 한다. >> 위 내..
GD(Gradient Descent) 변형 알고리즘 GD(Grdient Descent) SGD(Stochastic Gradient Descent) loss function을 계산할 때, 전체 데이터 대신 일부 조그만한 데이터(mini-batch)의 모음에 대해서만 loss 계산 Momentum NAG Adagrad RMSProp Adagrad 식에서 gradient 제곱값을 더해나가면서 구한 Adam Momentum 방식과 유사하게 지금까지 계산해온 기울기의 지수평균을 저장 RMSProp과 유사하게 기울기의 제곱값의 지수 평균 저장
프로젝트 이름 : JAVA GUI를 이용한 온라인 영화 예매 참여 기간 : 2019.10~2019.11 참여 인원 : 1명(홀로 진행) 목차는 아래와 같다. 1. 구현 기능 2. 상세 기능 3. 클래스 4. 오류 처리 1. 구현 기능 GUI를 이용한 구현 Java.io 패키지를 이용하여 텍스트 파일에 회원가입한 회원들 정보 저장 로그인 하게 되면 메인화면의 버튼 일부 변경 영화 정보는 로그인 하지 않아도 실행 가능하지만, 예매는 로그인 후 예매 각 영화의 개봉날짜에 따라 날짜와 시간을 다르게 적용 간식과 결제 방법을 구분하여 적용 선택한 인원 수에 해당하는 좌석 선택 2. 상세 기능메인 화면 메인 화면 예매 : 영화 예매(단, 로그인 후에만 가능) 영화 : 나열된 각 영화 정보 확인 로그인 회원가입 회원..
대회 이름 : 제6회 디지털범인을 찾아라 참여 기간(분석 기간) : 2019.01.02~2019.02.28 주관 기관 : 한국포렌식 학회 지금부터는 저자가 본 대회에 참여하였으며 직접 작성하였던 풀이 방식에 대해 설명하려 한다. 저자가 비록 본 대회에서 수상을 한 것은 아니지만 저자가 알고 있는 정보를 공유하기 위해 해당 글을 작성하게 되었다. 작성한 분석 보고서의 목차를 아래와 같다. 1. 기본 분석 내용 1.1) 사고 개요 1.2) 의뢰 내용 1.3) 분석가 정보 1.4) 증거물 정보 1.5) 증거물 보존 과정 1.6) 분석 결과 요약 2. 상세 분석 결과 3. 사고 대응 메뉴얼 4. 분석 도구 정보 본 글은 저자가 상세 분석한 방법을 공유하기 위해 작성하는 것이다. 2장의 상세 분석 결과의 내용은 ..
Problem #6 : Batch normalization를 이용한 특정 node의 output 계산 하단의 표를 이용하여 아래의 그림에 표시된 h1의 output인 o2 값을 계산하시오. 단, 활성화 함수(Activation function)은 ReLU를 사용하며 Batch normalization을 사용한다. 또한 r는 2이며, beta는 -1을 사용한다. 풀이를 원하실 경우, 하단의 '더보기' 를 클릭해주시기 바랍니다. 더보기 아래의 내용은 필자가 직접 작성한 풀이입니다. >> 위 내용은 필자가 공부하여 직접 정리한 내용이며, 위 그림 역시 직접 그린 그림이므로 워터마크 "s5unnyjjj"를 삽입하였음을 알려드립니다. >> 부족한 점이 많을 수 있기에 잘못된 내용이나 궁금한 사항이 있으면 댓글 달..