This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var Kata; | |
| Kata = (function() { | |
| function Kata() {} | |
| Kata.getVolumeOfCuboid = function(length, width, height) | |
| {return length * width * height}; | |
| return Kata; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | | |
| +---------------+-------------------+------------------+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def flatten_and_sort(array) | |
| array.flatten.sort | |
| end |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WRAP-UP | |
| λ₯λ¬λ: νλμ¨μ΄ μν₯(λ©λͺ¨λ¦¬, gpu) λΉ λ°μ΄ν°, μκ³ λ¦¬μ¦ ν₯μ | |
| PERCEPTRON: | |
| - an algorithm for supervised learning of binary classifiers | |
| - a type of linear classifier | |
| - μΈκ° λλ₯Ό νλ΄λ΄λ μΈκ³΅μ κ²½λ§ + λ€μν λ¨Έμ λ¬λ μκ³ λ¦¬μ¦ | |
| - λ΄λ°: μΈκ°μ΄ μννλ μκ°νκ³ λ°°μ°κ³ μ°½μ‘°νκ³ κΈ°μ΅νκ³ λλΌκ³ μννλ μΌμ κ΄μ¬ν¨ | |
| - νλμ μνμ΄ μ΄λ€ ν΄λμ€μ μν΄μλμ§ μμΈ‘νλλ° μ¬μ©!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Level 1 : Lecture Note μ μλ μ£Όμ κ°λ μ μ€λͺ ν μ μμΌλ©° μμ μ½λλ₯Ό μ΄ν΄νκ³ μ¬νν μ μμ΅λλ€. | |
| μ κ²½λ§μ΄ νμ΅λλ λ©μ»€λμ¦(μμ ν, μμ€ κ³μ°, μμ ν)μ λν΄ μ μ ν λΉμ λ₯Ό λ€μ΄ μ€λͺ ν μ μμ΅λλ€. | |
| 1) μμ ν (Forward Propagation) | |
| - μ λ ₯μΈ΅ -> μλμΈ΅μ μ°μ°(κ°μ€μΉ-νΈν₯(κ°μ€ν©) μ°μ° + νμ±ν ν¨μ) -> μΆλ ₯μΈ΅μΌλ‘ κ°μ λ΄λ³΄λ΄λ κ³Όμ | |
| 2) μμ€ κ³μ° (Loss Function) | |
| - μΆλ ₯κ° + λ°μ΄ν°μ νκ²κ°μ μμ€ ν¨μμ λ£μ΄ μμ€(loss or error)λ₯Ό κ³μ° | |
| - MSE(Mean-squared error) CEE(Cross-entropy error) |