Thief of Wealth
KFold에서 1개의 set의 score만 낮게 나온다면?
개발/ML+ Data Science 2019. 11. 8. 00:27

그 set에 중요한 정보가 편향되어있을 가능성이 있으므로 KFold에 shuffle옵션을 주어 테스트해보고, 그 set만학습하여 다른 set들을 예측해보는 방법으로 그 set에 얼마나 중요한 정보들이 담겨있는지 체크해본다.

Linux 한글사용하기 100% 성공
개발/Linux 2019. 11. 7. 09:29

https://snowdeer.github.io/linux/2018/01/21/ubuntu-16p04-install-korean-keyboard/ 한글 키보드 설치Ubuntu 16.04 LTS 버전 기준으로 한글 키보드를 설치하는 방법입니다.먼저 아래의 명령어를 수행해서 fcitx-hangul 패키지를 설치합니다.sudo apt-get install fcitx-hangul 그리고 아래의 절차를 진행합니다.System Settings 실행Language Support 아이콘 실행언어팩을 설치하라는 팝업창이 뜨면 ‘설치’ 선택‘Keyboard input method system’ 항목을 fcitx로 변경재부팅 fcitx 설정오른쪽 상단 상태바에서 fcitx 아이콘 선택 → Configure Current I..

KFold Example
개발/ML+ Data Science 2019. 11. 6. 21:43

from sklearn.tree import DecisionTreeClassifierfrom sklearn.model_selection import StratifiedKFold, KFoldfrom sklearn.metrics import accuracy_score, f1_scorekfold = StratifiedKFold(n_splits=6)X = all_chevorlet.drop(["Label"], axis=1)y = all_chevorlet["Label"]decisionTree_accuracy = []temp = []try: for train_index, test_index in kfold.split(X, y): # print(train_index, test_index) dc_clf = Decisio..

Check isnan, isfinite
개발/ML+ Data Science 2019. 11. 6. 21:15

np.isnan(all_chevorlet.any()) #and gets False np.isfinite(all_chevorlet.all()) #and gets True

꿀팁! 데이터분석할땐 python으로 힘들면 샘플을 엑셀로 다뤄보기
개발/ML+ Data Science 2019. 11. 5. 22:47

꿀팁! 데이터분석할땐 python으로 힘들면 샘플을 엑셀로 다뤄보기 python으로 다루면 잘 보이지 않았던 것들이 엑셀로보니까 다양하게 좀더 직관적으로 데이터를 훑어볼 수 있었음.

dpkg: error: dpkg frontend is locked by another process
개발/Linux 2019. 11. 5. 14:31

https://extrememanual.net/26777sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock dpkg --configure -a

Ubuntu with Window dual booting
개발/Linux 2019. 11. 5. 14:31

jimnong.tistory.com/676 1. diskmgmt.msc => make partition2. Make USB booter3. reboot and bios setting

window에서 nodemon설치 에러? EACCES permission
개발/Web Programming 2019. 11. 4. 22:27

window에서 가끔 말썽을 부리는 nodemon설치.. sudo npm intsall nodemon 해도 안된다. 그때는 깔끔하게 그냥 전역으로 설치해주면 된다. sudo npm install -g nodemon 안되면 npm unintasll nodemonsudo npm uninstall -g nodemon npm install nodemon 해준다.

profile on loading

Loading...