분석시각화 대회 코드 공유 게시물은
내용 확인 후
좋아요(투표) 가능합니다.
[24년 5월12일 1주차 머신러닝 정규반 주말]
import scipy.stats as stats
# data에 대한 Shapiro-Wilk 검정
w_statistic1, p_value1 = stats.shapiro(df['Close'])
print('Method1 Shapiro-Wilk Test:')
print(f'W-Statistic={w_statistic1}, P-Value={p_value1}')
print()
from scipy.stats import kurtosis
# 첨도 계산
data_kurtosis = kurtosis(df['Close'], fisher=True)
# 첨도 출력
print(f"Method1 Data Kurtosis: {data_kurtosis}")
DACON Co.,Ltd | CEO Kookjin Kim | 699-81-01021
Mail-order-sales Registration Number: 2021-서울영등포-1704
Business Providing Employment Information Number: J1204020250004
#901, Eunhaeng-ro 3, Yeongdeungpo-gu, Seoul 07237
E-mail dacon@dacon.io |
Tel. 070-4102-0545
Copyright ⓒ DACON Inc. All rights reserved