데이크루 5기

데이크루 | 서포터즈 | 5기

  • moneyIcon 상금 : 기프티콘, 인증서
  • 114명 마감

 

안녕! chatgpt! 스마트팜에 대해 관심있나?

2023.04.07 13:45 1,091 조회

안녕하세요! 데이커분들!

빅데이터 분석가를 꿈꾸는 a.k.a all-day 입니다.

최근 들어, 스마트팜에 대해 관심을 갖는 분들이 점차 사라지고 있는 것 같습니다.

요즘 들어, 기후 변화, 도시화로 인한 농업 생산지 부족 등으로 스마트팜은 앞으로 중요할 것이라고

저는 생각합니다!

chat gpt에게 스마트팜에 대해 물어볼까요?












import random


# 온도, 습도 데이터 생성 (임의 생성)

temperature = random.randint(20, 30)

humidity = random.randint(30, 80)


# 계절에 따른 온도, 습도 범위 설정

season = "spring"

if season == "spring":

  temp_range = (10, 20)

  humi_range = (50, 70)

elif season == "summer":

  temp_range = (25, 35)

  humi_range = (60, 80)

elif season == "autumn":

  temp_range = (10, 20)

  humi_range = (60, 80)

else:

  temp_range = (-5, 5)

  humi_range = (30, 50)


# 현재 환경이 적합한지 확인

if temperature >= temp_range[0] and temperature <= temp_range[1] \

    and humidity >= humi_range[0] and humidity <= humi_range[1]:

  print("The current environment is suitable for onion cultivation.")

else:

  print("The current environment is not suitable for onion cultivation.")





농업에는 온도, 습도 등 보다 많은 요소들이 복합적으로 중요합니다!

농업이라는 도메인 지식을 쌓고 chat gpt에게 물어본다면 보다 긍정적으로 농업 생산량도 높여 볼 수 있지 않을까요??