edX ESaaS 숙제 두번째는 class를 만드는 문제였는데 getter와 Setter, 그리고 inherited class를 생성할 수 있는지를 물어보는 문제가 제시되었다. 아마 기본문법을 익힌 사람이라면 금방 했을듯. #!/usr/bin/env ruby class Dessert def initialize(name, calories) @name = name @calories = calories end def name @name end def calories @calories end def name=(new_name) if new_name.empty? raise ArgumentError, 'new_name should be string' else @name=new_name end end def calo..
edX ESaaS 수업 첫번째 과제중 하나. word에 대한 palindrome과 단어 반복횟수 체크, 그리고 들어있는 단어에 대한 anagram까지 뽑는게 주제였다.다른건 쉬웠는데 마지막에 word마다 anagram을 뽑아서 어떻게 처리해야 될지가 약간 고민을 하게 했다.#!/usr/bin/env rubyclass String def palindrome? original = self.delete("^a-zA-Z") if original.reverse.downcase == original.downcase return true else return false end end def count_words original = self.delete("^a-zA-Z ").downcase dic = original...
Coursera Algorithm 강의 첫번째 과제. 단순하게 mergesort를 이용해서 순서를 정할때 거꾸로 정리되는 경우의 수를 체크하는 문제였다.mergesort를 쓰게 되면 기존에 O(n^2)의 complexity가 O(nlogn)으로 떨어진다. def readFile(filename, l): with open(filename, "r") as f: for line in f: l.append(int(line)) if f.closed == False: f.close() def sortAndCount(A): mid = len(A) // 2 if len(A) == 1: return A, 0 B, x = sortAndCount(A[:mid]) C, y = sortAndCount(A[mid:]) D, z ..
This is my 14th certificate through online course ( coursera, edX, openEdX etc..) MOOC offers lots of opportunities to someone who are interested in learning. Someone told me "Learn & Adapt or Die" I think it is correct. because the world changes so fast, and we need to adapt the world to follow the trends or stream through the learning. Anyway, this class talks about the concepts of programming..
I got a SOA with distinction in Digital system class through coursera. This class handles the topic of digital logic circuit and processor design using VHDL. I didn`t have enough time, so I just followed the concepts of logic circuit. It`s very interested for me to rewind the knowledge of processor. If you have interested in processor design or majored in electrical engineering. I`d recommend yo..
1 #include 2 #include 3 #include 4 #include 5 6 #define SWAP(x, y, t) ((t) = (x), (x) = (y), (y) = (t)) 7 8 #define MALLOC(ptr, size) \ 9 if(!((ptr) = malloc(size))) { \ 10 fprintf(stderr, "Insufficient memory"); \ 11 exit(EXIT_FAILURE);\ 12 } 13 14 #define CALLOC(ptr, n, size) \ 15 if(!((ptr) = calloc(n, size))){\ 16 fprintf(stderr, "Insufficient memory"); \ 17 exit(EXIT_FAILURE);\ 18 } 19 20 #..
I got a SOA of Introduction to computational thinking class through edX class. This class covers the topic of data analysis, optimization problem such as 0/1 knapsack, machine learning and so on.
수업시간에 다룬 Vapnik - Chervonenkis generalization(VC generalization) 을 표현해봤다. 우리가 Machine Learning을 하는 이유 자체는 개념에도 담겨있다시피 기계를 학습시키기 위함이고, 당연히 미래에 들어올 데이터에 대한 예측을 요구하는 것이다. 이를 위해서는 기존에 받아둔 Sample Data를 가지고, 그 Sample에 대한 hypothesis를 구해서, 최종 결과와 비교해야 한다. 당연히 sample에 대한 hypothesis가 최종 결과와 거의 비슷하게 나오면, 이 hypothesis를 가지고 미래에 들어올 Data를 구별하게 될 것이다. 보통 이런 개념을 In-sample Error와 Out-of-Sample Error간의 차이로 표현하기도 ..
I got a statement of Accomplishment in Introduction to Computer Networking class though stanford openEdx. This class is challengable for me because I didn`t take any class related on computer networking as a prerequisite. This class deals with whole topic in networking such as Internet protocol, packet switching, security and so on. It also includes the simple programming assignment about design..
요즘 학교에서 배우고 있는 분산시스템 수업에서 과제가 나왔는데 내용도 정리할 겸해서 올려본다.우리가 운영체제를 다룰때 앞장에서 Mutual Exclusion을 배운다. Mutual Exclusion을 사용하는 이유는 공유하는 Memory에 대해서 thread들이 접근할 때 각 thread가 사용하는 데이터에 대해서 확실하게 보장하기 위해서다. 이런 상황을 가정해보자만약 A0가 Write를 해주는 thread고 B0가 Read를 해주는 thread라고 가정을 해보자. 지금 보면 A0와 B0가 overlap되고 있는 것을 확인할 수 있다. 참고로 미리 알고 있어야 할건 A0 thread가 실행된다고 해서 write가 바로 이뤄지는 것이 아니라는 점이다. 마찬가지로 B0도 수행 시점이 b0가 되는게 아니라는 ..
- Total
- Today
- Yesterday
- windows 8
- processing
- reward
- End-To-End
- bias
- Windows Phone 7
- TensorFlow Lite
- Kinect
- PowerPoint
- arduino
- Python
- Expression Blend 4
- Gan
- Offline RL
- 파이썬
- dynamic programming
- Policy Gradient
- DepthStream
- Distribution
- Off-policy
- Kinect SDK
- 강화학습
- 한빛미디어
- Pipeline
- RL
- 딥러닝
- SketchFlow
- Kinect for windows
- Variance
- ColorStream
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |