Skip to content

Instantly share code, notes, and snippets.

View onemira's full-sized avatar
🎯
Focusing

Mira Kang onemira

🎯
Focusing
View GitHub Profile
@onemira
onemira / training_neural_network.rd
Last active February 24, 2022 00:36
training_neural_network
Level 1 : Lecture Note 에 있는 주요 개념을 설명할 수 있으며 예제 코드를 이해하고 재현할 수 있습니다.
신경망이 학습되는 메커니즘(순전파, 손실 계산, 역전파)에 대해 적절한 비유를 들어 설명할 수 있습니다.
1) 순전파 (Forward Propagation)
- 입력층 -> 은닉층의 연산(가중치-편향(가중합) 연산 + 활성화 함수) -> 출력층으로 값을 내보내는 과정
2) 손실 계산 (Loss Function)
- 출력값 + 데이터의 타겟값을 손실 함수에 넣어 손실(loss or error)를 계산
- MSE(Mean-squared error) CEE(Cross-entropy error)
@onemira
onemira / deep_learning.rd
Last active February 22, 2022 05:06
deep_learning
WRAP-UP
딥러닝: 하드웨어 상향(메모리, gpu) 빅데이터, 알고리즘 향상
PERCEPTRON:
- an algorithm for supervised learning of binary classifiers
- a type of linear classifier
- 인간 뇌를 흉내내는 인공신경망 + 다양한 머신러닝 알고리즘
- 뉴런: 인간이 수행하는 생각하고 배우고 창조하고 기억하고 느끼고 아파하는 일에 관여함
- 하나에 샘플이 어떤 클래스에 속해있는지 예측하는데 사용!!!
@onemira
onemira / sec1-project.ipynb
Last active December 13, 2021 08:26
SEC1-Project.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
def flatten_and_sort(array)
array.flatten.sort
end
1. In your Company Database, add a table named:departments
Select * from departments;
+---------------+-------------------+------------------+
| depart_name | employee_number | departments_id |
|---------------+-------------------+------------------|
| sales | 10 | 1 |
| logistics | 50 | 2 |
| HR | 37 | 3 |
+---------------+-------------------+------------------+
#1. we remember a is 1
#2. we remember b is 100
#3. we remember z is _____ (guess)
#4. we tell the user we are going to guess a number between "a" and "b"
#5. user chooses number
#6. we remember our guess is (a+b)/2
#7. tell the user that we are guessing the number "guess"
#8. user chooses yes/no
#9. If user chooses yes
#then say we got it in z guesses
1. Create a database: createdb company_database
2. Create a table: psql company_database
3. Add the following columns to the table, Use your best judgement for data types
Ruby
id (Primary Key)
full_name
salary
position
@onemira
onemira / gist:0feb4f2e77922ff73ece8044e7a72f1a
Created February 11, 2019 23:07
Kata: Volume of a Cuboid
var Kata;
Kata = (function() {
function Kata() {}
Kata.getVolumeOfCuboid = function(length, width, height)
{return length * width * height};
return Kata;