T-Test 란 T-Test (Two-Sample Test / Student's T Test) 란 두 집단의 평균을 비교하는 통계적 검정 방법이다단순히 차이의 존재 여부를 떠나 두 집단의 비교가 통계적으로 유의미한가 를 검정한다. 다른말로는, 이 두 모집단의 차이가 우연에 의해서인지 아닌지를 검정한다. Example 1 ) 감기에 걸렸을때 약을 먹었을때 치유되는 기간과 먹지 않았을때 자연적으로 치유되는 기간을 비교할 수 있다. 두가지 case 의 차이가 유의미한지 검정하기 위해서는 여러명의 사람에게 평균적으로 비슷한 기간이 걸리는지 테스트를 할 필요가 있다. (약을 먹었을때 평균 3일, 자연치유가 평균 5일이 걸렸을 시 이 결과가 repeatable 한가? 우연에 의해서 혹은 다른 요인에 의해 차이가 나..
문제A Node class is provided for you in the editor. A Node object has an integer data field, , and a Node instance pointer, , pointing to another node (i.e.: the next node in a list).A removeDuplicates function is declared in your editor, which takes a pointer to the node of a linked list as a parameter. Complete removeDuplicates so that it deletes any duplicate nodes from the list and returns the..
one-hot-encoding몇 가지로 분류할 수 있는 데이터를 범주형 변수라고 한다. one hot encoding 범주를 column 으로 만들고, 각각해당하는 칸의 정보를 1로 표시하고 나머지를 0으로 표시하는 방법이다. 소스코드 df_one_hot_encoded = pd.get_dummies(titanic.embarked)titanic = pd.concat([titanic, df_one_hot_encoded], axis=1) 결과물get_dummies 로 one hot encoding 을 만들어줌 Titanic 에 추가 pandas - get_dummies Convert categorical variable into dummy/indicator variables pandas - concatconc..