카테고리
'Language/R' 카테고리의 글 목록 :: West_Cold (tistory.com)
'Language/R' 카테고리의 글 목록
IT 스터디 기록장
eatitstory.tistory.com
R의 기초
https://eatitstory.tistory.com/m/13
R의 기초
R이란?통계분석, 머신러닝, 인공지능을 위한 언어 R vs 파이썬(둘다 데이터를 사용하지만) R-분석업무 파이썬-IT기술업무 *벡터 interger, numeric, character, logical 유형 벡터의 선언> name = c("유비", "관우"
eatitstory.tistory.com
함수와 프로그래밍
https://eatitstory.tistory.com/m/14
함수와 프로그래밍
기초적인 함수 만들어 보기> sum1ton = function(n){ + result= sum(1:n) + return(result) + } > sum1ton(100) [1] 5050for/while(반복)> i=0 > for (i in 1:10) { + print(i) + } [1] 1 [1] 2 [1] 3 [1] 4 [1] 5 [1] 6 [1] 7 [1] 8 [1] 9 [1] 10 > number =1 >
eatitstory.tistory.com
미적분
https://eatitstory.tistory.com/m/15
미적분
직접 미분식을 만들어 사용> fd = function(f,x, h=x*sqrt(.Machine$double.eps)){# 작은 h + return((f(x+h)-f(x))/h) #전진차분 + } > > f= function(x){ + return(-x^2+6*x-6) + } > > fd(f,2, h=1) [1] 1 > > curve(f,1,5)#함수f에서서 구간[1,5]
eatitstory.tistory.com
선형대수
https://eatitstory.tistory.com/m/16
선형대수
벡터의 시각화> install.packages("matlib") > library(matlib) > xlim=c(0,6) > ylim=c(0,6) #x축과 y축의 범위를 설정하는 변수들입니다. 여기서는 (0, 6) 범위를 설정하여 그래프의 크기를 결정합니다. > plot(xlim, ylim,
eatitstory.tistory.com
선형회귀
https://eatitstory.tistory.com/m/17
선형회귀
*변수간 연관성: 상관계수 상관계수는 변수간 공분산을 각각의 표준편차의 곱으로 나눠준 결과값 코사인 값가 비슷하다 두 벡터간 공유하는 정보가 얼마인지에 대한 측면에서 벡터의 내적과 상
eatitstory.tistory.com
'Major > Data Analysis' 카테고리의 다른 글
Decision Tree(의사결정나무) (0) | 2024.06.17 |
---|---|
KNN (0) | 2024.06.17 |
Modeling & Validation & Visualization (1) | 2024.06.17 |
데이터기반의 수요예측 모델링과 의사결정 최적화 (2) | 2024.06.17 |
머신러닝의 기초 (0) | 2024.04.20 |