Invertible Matrix http://www.sosmath.com/matrix/matinv/matinv.html 설명이 너무 잘되어 있음.. 수학은 영어로 이해하는게 더 쉬운것 같다.. 가역행열이 머시다냐.. 행열의 연산은 정수의 연산과는 다르다AB = BA = I 가 성립하면 B가 존재하는 A를 Inverse matrix가 부른다.즉 B는 A^-1 로 표시 할 수 있다.Noninvertible Matrixhttp://www.mathwords.com/s/singular_matrix.htm http://www.mathwords.com/d/determinant.htm determinant가 0인 것을 singular 또는 Noninvertible Matrix라 부른다. http://www.mathwo..
- Linear Regression의 기본적인 개념들 외우고 있어야만 다음 단계로 진행 할 수 있다. - Hypothesis Function 가설, 집값을 예측한다고 하면 Data가 존재 할 것이다. 그 데이터의 분포에 따라 가장 분포들에 가까운 함수를 가설이라 한다. 면적대비 집값을 예측 한다고 하면 x에는 면적, y는 집값이 된다. input xoutput y04172738 이라면 씨타0은 2, 씨타1은 2가 됨 - Cost FunctionHypothesis Function의 정확도를 측정하기 위한 Function. 모든 hypothesis Function의 Input값에 대한 Output 값의 평균을 구하여 정확도를 측정한다. 1. 결과 값 y에서 h(x) 값을 뺀다. 이 값은 minus가 될 수 ..
분할정복으로 행열을 쪼갤만큼 쪼갠다음 merge하면서 sort한다 항상 nlogn 하지만 일반적으로 quick sort가 빠름 출처 : http://yujuwon.tistory.com/entry/%EB%B3%91%ED%95%A9%EC%A0%95%EB%A0%ACMerge-Sort 예제 파일 : https://gist.github.com/yujuwon/5810996#file-gistfile1-c import java.util.Arrays; public class MeargeSort20160305 {public static void main(String args[]) {int[] arr = { 1, 3, 3, 4, 5, 2, 7 };int[] temp = new int[arr.length];mergeSort(..
참고 : http://www.java2s.com/Code/Java/Collections-Data-Structure/BinaryTree.htm static class Node { Node left; Node right; int value; public Node(int value) { this.value = value; } }public void insert(Node node, int value) { if (value < node.value) { if (node.left != null) { insert(node.left, value); } else { System.out.println(" Inserted " + value + " to left of " + node.value); node.left = new ..
참고 : http://www.algolist.net/Algorithms/Sorting/Quicksort Why does it work?On the partition step algorithm divides the array into two parts and every element a from the left part is less or equal than every element b from the right part. Also a and b satisfy a ≤ pivot ≤ binequality. After completion of the recursion calls both of the parts become sorted and, taking into account arguments stated ..
%본 글은 Googling을 통해 찾은 정보들을 발번역/의역 한 것입니다. 틀린 부분은 지적 부탁 드립니다.1. Certificate Chain은 무엇인가?-> CA에는 두가지 타입이 존재한다. ROOT CAs와 Intermediate CAs. SSL Certification이 신뢰할 수 있게 되려면 Certificate는 공인된 CA로 부터 발행 되어야 한다.2. Intermediate CA란 무엇인가?-> Certificate Signing에 Private Key가 필요하다. 그와 반대로 Private Key가 누출되면 그에 의해 Signing된 모든 Certificate들은 쓰지 못하게 된다. 그로 인해 Private Key는 매우 높은 보안 레벨을 가진 장소에 보관된다. 사용자가 Certifica..
%본 글은 https://en.m.wikipedia.org/wiki/Kerberos_(protocol) 의 내용 중 중요하다 생각되는 부분만 발번역, 의역을 한 것입니다. 틀린 부분은 지적 해주시면 수정 하겠습니다. - Kerberos -Kerberos는 Computer Network Authentication Protocol이다. Non-secure Network에서 Ticket을 기본으로 Node간의 communication을 중재한다. client-server간 Mutual Authentication을 목표로 디장인되었다. Kerberos의 Message는 Replay Attacks이나 Eavesdropping(도청감지)을 방어 할 수 있다.Kerberos는 UPD, 88 Port를 사용하고 대칭 ..
시작은 아래에서 부터..http://docs.aws.amazon.com/ko_kr/amazondynamodb/latest/developerguide/GSI.html몇 일 전 동료가 Ranking을 구하는데 scheduler를 돌리겠다고 했다. GSI 개념을 언뜻 알고 있던 난, 그거 왜 함? 그냥 GameTitle에 GSI hasy key걸고 Score에 GSI Range Key 걸고 query하면 바로 나올껄? Scheduler나 Processor Job 만드는 것보다 훨씬 쉬운거 아님?그 후 3일 간의 삽질이 시작되었고 동료와 난 DynamoDB에 Deep(?) Dive했다.DynamoDB 참 매력적인 녀석이다, 비용은 비싸기는 하지만 Infra 운영 필요 없이 Sharding, Replication..
- Total
- Today
- Yesterday
- AWS
- Intermediate Certificate
- Certificate Chain
- GC
- Kafka
- authentication
- oops
- CompressedOops
- Consumer
- kerberos
- OOP
- Dynamodb
- shenandoah
- ranking
- DESIGN
- SSL
- JVM
- Java
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |