프로그래밍
-
[Scikit-learn 오류] ImportError: DLL load failed while importing _arpack: The specified procedure could not be found.프로그래밍/AI 2021. 7. 6. 16:16
pip uninstall scipy pip install scipy 재설치하면 라이브러리 로드가 된다! https://stackoverflow.com/questions/41332981/error-when-trying-to-import-sklearn-modules-importerror-dll-load-failed-the
-
Lambda 함수프로그래밍/Python 2021. 6. 20. 00:59
Lambda 함수의 간단화 Why Use Lambda Functions? The power of lambda is better shown when you use them as an anonymous function inside another function. Say you have a function definition that takes one argument, and that argument will be multiplied with an unknown number: 예제 # 예제 x = lambda a : a + 10 print(x(5)) x = lambda a, b : a * b print(x(5, 6)) x = lambda a, b, c : a + b + c print(x(5, 6, 2)) # ..
-
[Python]_41일차_06.16프로그래밍/Python 2021. 6. 17. 22:27
본 내용은 '2021년 혁신성장 청년인재 집중양성 사업'의 ‘인공지능 개발자 양성 과정’ 강좌를 수강하면서 강의 및 강의노트를 참고하여 작성한 내용입니다. [002-1] Python_서브노트.txt Links 파이썬 코딩 컨벤션 주피터 노트북의 꿀팁들 이미 다른 프로그래밍 언어를 사용할 줄 아는 경우라면 빠르게 훑어보세요 Learn X in Y minutes Where X=Python 궁금한 내용 스크랩 Why did Pinterest move from Django to Flask. What challenges has Pinterest encountered with Flask? 플라스크 (웹 프레임워크) - 위키백과, 우리 모두의 백과사전 Python 의 특징 동적 타이핑 인터프리터식 객체..
-
[R] 상관분석, 그래프 그리기(히트맵)프로그래밍/R 2021. 6. 9. 22:57
본 내용은 '2021년 혁신성장 청년인재 집중양성 사업'의 ‘인공지능 개발자 양성 과정’ 강좌를 수강하면서 강의 및 강의노트를 참고하여 작성한 내용입니다. 일반 휘발유와 고급 휘발유의 도시 연비 t 검정 ls() rm(list = ls()) # 전체 OB 삭제 ls() gc() # 메모리 사용량 library(ggplot2) mpg class(mpg) mpg % select(fl, cty) %>% filter(fl %in% c("r", "p")) mpg_diff2 % select(fl, cty) %>% filter(fl %in% c("r", "p")) table(mpg_diff2) t.test( data = mpg_diff2, cty ~fl, var.equl = T ) 상관분석 - 두 변수의 관계성 분석..
-
[R] 지도 시각화 (미국 주별 강력 범죄율 단계 구분도, 대한민국 시도별 인구, 결핵 환자 수 단계 구분도, 지도 시각화, 구글 차트)프로그래밍/R 2021. 6. 8. 20:17
본 내용은 '2021년 혁신성장 청년인재 집중양성 사업'의 ‘인공지능 개발자 양성 과정’ 강좌를 수강하면서 강의 및 강의노트를 참고하여 작성한 내용입니다. CH11_지도 시각화 미국 주별 강력 범죄율 단계 구분도, 지도 시각화 11-1-소스 #### 11-1 #### ## 미국 주별 강력 범죄율 단계 구분도, 지도 시각화 데이터셋 crime : 미국 50개 주 범죄율 states_map : 미국 주의 위도, 경도 install.packages("maps") install.packages("ggiraphExtra") install.packages('mapproj') library(ggiraphExtra) str(USArrests) head(USArrests) library(tibble) crime
-
[R] 텍스트 마이닝 (웹 특정 페이지 읽어오기프로그래밍/R 2021. 6. 8. 20:15
본 내용은 '2021년 혁신성장 청년인재 집중양성 사업'의 ‘인공지능 개발자 양성 과정’ 강좌를 수강하면서 강의 및 강의노트를 참고하여 작성한 내용입니다. 06 KoNLP를 이용한 한국어 텍스트 마이닝 (wordcloud2) library(KoNLP) library(tm) library(XML) library(wordcloud2) library(SnowballC) library(RCurl) useNIADic() #사전로드 #웹특정페이지 읽기 위키빅데이터 t