기본 콘텐츠로 건너뛰기

라벨이 jupyter_notebook인 게시물 표시

통계관련 함수와 메서드 사전

A B C d E F G H I K L M N O P Q R S T U V W Z A statsmodels.ap.stats.anova_lm(x) statsmodels.formula.api.ols 에 의해 생성되는 모형 즉, 클래스 인스턴스(x)를 인수로 받아 anova를 실행합니다. np.argsort(x, axis=-1, kind=None) 객체 x를 정렬할 경우 각 값에 대응하는 인덱스를 반환합니다. Axis는 기준 축을 지정하기 위한 매개변수로서 정렬의 방향을 조정할 수 있음(-1은 기본값으로 마지막 축) pandas.Series.autocorr(lag=1) lag에 전달한 지연수에 따른 값들 사이의 자기상관을 계산 B scipy.stats.bernoulli(x, p) 베르누이분포에 관련된 통계량을 계산하기 위한 클래스를 생성합니다. x: 랜덤변수 p: 단일 시행에서의 확률 scipy.stats.binom(x, n, p) 이항분포에 관련된 통계량을 계산하기 위한 클래스를 생성합니다. x: 랜덤변수 n: 총 시행횟수 p: 단일 시행에서의 확률 C scipy.stats.chi2.pdf(x, df, loc=0, scale=1) 카이제곱분포의 확률밀도함수를 계산 $$f(x, k) =\frac{1}{2^{\frac{k}{2}−1}Γ(\frac{k}{2})}x^{k−1}\exp\left(−\frac{x^2}{2}\right)$$ x: 확률변수 df: 자유도 pd.concat(objs, axis=0, join=’outer’, …) 두 개이상의 객체를 결합한 새로운 객체를 반환. objs: Series, DataFrame 객체. Axis=0은 행단위 즉, 열 방향으로 결합, Axis=1은 열단위 즉, 행 방향으

[Jupyter notebook]필요사항

Julia Install in ubuntu 18.04 웹사이트 https://julialang.org/downloads/ Generic Linux Binaries for x86 다운로드 다운로드 후 압축관리자를 사용하여 압축풀기 압축푼 디렉토리는 터미널에서 opt 복사합니다. $ sudo cp -r julia-1.4.1 /opt/ opt에 복사한 julia-1.4.1 디렉토리의 /bin/julia 실행파일을 /usr/local/bin 디렉토리 하에 생성하여 링크합니다. /usr/local/bin$ sudo ln -s /opt/julia-1.4.1/bin/julia /usr/local/bin/julia julia를 실행하기 위해 터미널에서 실행 $ julia jupyter notebook에서 julia 사용 터미널에서 julia 실행하고 다음을 적용합니다. julia> using Pkg julia> Pkg.add("IJulia") Cloning default registries into `~/.julia` Cloning registry from "https://github.com/JuliaRegistries/General.git" Added registry `General` to `~/.julia/registries/General` Resolving package versions... Installed MbedTLS_jll ───── v2.16.0+2 Installed SoftGlobalScope ─ v1.0.10 ... jupyter notebook을 실행하면 "New"에 Julia 1.4.1이 생성 jupyter notebook 테마 변경 jupyterthemes를 설치 In [1]: !pip install jupyterthemes Out[1]: Collecting jupyter