데이터·AI를 활용한 물가 예측 경진대회 : 농산물 가격을 중심으로

알고리즘 | 농산물 | 정형 | 시계열 | 회귀 | NMAE

  • moneyIcon 상금 5,800만 원
  • 1,794명 마감

 

온라인 교육 제공 안내

2024.10.08 11:00 957 조회

안녕하세요, 데이터·AI를 활용한 물가 예측 경진대회 : 농산물 가격을 중심으로 참가자 여러분.

데이콘입니다.


본 대회 참가자분들께 보다 나은 경험과 대회 참여를 위해 데이스쿨에서 온라인 콘텐츠를 제공합니다.

해당 콘텐츠의 경우, 대회가 종료되는 2024년 11월 14일(목) 까지 해당 콘텐츠를 통해 학습하실 수 있습니다.


[농산물 가격 예측 프로젝트]


감사합니다.

로그인이 필요합니다
0 / 1000
minu_13
2024.10.10 17:07

좋은 자료 감사합니다. 도움 많이 되고있어요

CodingDochi
2024.10.11 16:50

스테이지 2의 스텝 15에서 통과가 되지 않는데 답을 알 수 있을까요?

import seaborn as sns

# 주(week)와 월(month) 정보를 새로운 컬럼에 저장
train_prep['Week'] = train_prep['date'].dt.isocalendar().week.astype(np.int32)
train_prep['Month'] = train_prep['date'].dt.month

item_selected = '배추'

# 주와 월별 Box Plot 그리기
fig, axes = plt.subplots(2, 1, figsize=(12, 8))
plt.suptitle('Box Plot by Week and Month', fontsize=16)


# 주별 Box Plot
sns.boxplot(x='Week', y=f'{item_selected}_가격(원/kg)', data=train_prep, ax=axes[0])
axes[0].set_title('Box Plot by Week', fontsize=14)
axes[0].set_xlabel('week', fontsize=12)
axes[0].set_ylabel(f'{item_selected} 가격(원/kg)', fontsize=12)

# 월별 Box Plot
sns.boxplot(x='Month', y=f'{item_selected}_가격(원/kg)', data=train_prep, ax=axes[1])
axes[1].set_title('Box Plot by Month', fontsize=14)
axes[1].set_xlabel('month', fontsize=12)
axes[1].set_ylabel(f'{item_selected} 가격(원/kg)', fontsize=12)

plt.tight_layout()
plt.show()

DACON.YT
2024.10.11 17:01

CodingDochi 님 안녕하세요.
관련 사항 데이콘에 가입하신 메일로 보내드렸으니 확인 부탁드립니다.
감사합니다.