[Data mining] A-priori와 SON Algorithm에서 Monotonicity의 의미
·
Tips
수학에서 Monotonicity의 의미 내가 아는 Monotonocity는 단조함수를 의미힌다. 이는 한 번 증가하면 계속 증가하거나, 한 번 감소하면 계속 감소하는 함수를 의미힌다. 즉, f'(x)의 부호가 일정한 것과 같은 말이다. 근데 이것을 data mining 시험공부하면서 복습하니.. 무슨 뜻인지 도통 감이 안 잡혔다. Data mining에서 Monotonicity의 의미 강의노트 중 A-priori와 SON algorithm에서 해당 단어가 등장했다. 한글로 정리된 글에서는 명확한 답을 찾기 어려워서 스택오버플로우를 참고했다. https://stackoverflow.com/questions/40809002/apriori-algorithm-anti-monotonic-vs-monotonic A..
[Python/Pandas] dropna의 inplace=True 의미
·
Tips
Python pandas/dropna 며칠 전 과제하면서 df에 데이터프레임을 받고 dropna로 NaN을 날려야 할 일이 생겼다. colab에서 즉각적으로 결과를 보고싶어서 df.dropna(inplace=True)를 사용해서 확인했지만, 인덱스를 확인하는 과정에서 무언가 잘못 됨을 느꼈다. df.dropna(inplace=True) # ... after some tasks ... # success for i in df['Term']: print(i) # index error for i in range(df.shape[0]): print(df.loc[i, 'Term']) df의 Term이라는 칼럼의 특정 인덱스를 출력해야 하는 상황이었는데, df.loc을 이용하면 인덱스 에러가 발생한 것이다. 데이터 ..
[SIC/XE] 잘 정리된 Instruction Set 링크!
·
Tips
SIC/XE hypothetical computer Appendix A SicTool로 과제를 작성하는데, 강의노트에 적힌 instruction을 보면서 하기 힘들어 찾은 깃허브 주소. https://github.com/m-dimmitt/SIC-XE-Instructions GitHub - m-dimmitt/SIC-XE-Instructions: Copied Appendix A from a book that exposes the API for SIC/XE 🚀 🎩 Copied Appendix A from a book that exposes the API for SIC/XE 🚀 🎩 - GitHub - m-dimmitt/SIC-XE-Instructions: Copied Appendix A from a book t..
[SIC/XE] Xming 이용하여 WSL2에서 SicTools 구동하기
·
Tips
Xming: X server for Windows Can't connect to X11 window server using ':0' 해결하기 SIC/XE 아키텍쳐를 실습하는데, VMware에 리눅스를 올려 SicTools 사용하라는 안내를 받았다. 요즘 WSL2를 사용하고 있기 때문에, 여기서 과제를 하려고 세팅을 했다. https://github.com/jurem/SicTools GitHub - jurem/SicTools: System software and tools for SIC/XE hypothetical computer System software and tools for SIC/XE hypothetical computer - GitHub - jurem/SicTools: System softwa..