자연어 기반 기후기술분류 AI 경진대회

알고리즘 | NLP | 분류 | 환경 | Macro f1 score

  • moneyIcon Prize : 총 600만원
  • 1,035명 마감

 

[베이스라인] 데이콘 베이스라인 코드 (LSTM)

2021.06.15 13:43 6,222 Views language

데이콘 베이스라인은 참가자의 '제출'을 최우선 목표로 하고 있으며, 

상세한 기법의 질문은 토론게시판을 통해 해주시면 감사하겠습니다.

감사합니다. 

데이콘 팀 드림

Code
로그인이 필요합니다
0 / 1000
농담곰
2021.06.22 19:55

전처리 함수에 if 아래에 word_review가 아니라 word_text인 것 같습니다

데봅
2021.06.22 22:12

감사합니다.

def preprocessing(text, okt, remove_stopwords=False, stop_words=[]):
    text=re.sub("[^가-힣ㄱ-ㅎㅏ-ㅣ]","", text)
    word_text=okt.morphs(text, stem=True)
    if remove_stopwords:
        word_text=[token for token in word_text if not token in stop_words]
    return word_text

데봅
2021.06.22 22:10

삭제된 댓글입니다

이전 글
더 상세한 Label
Competition - 자연어 기반 기후기술분류 AI 경진대회
Likes 18
Views 4,990
Comments 4
3년 전
현재 글
[베이스라인] 데이콘 베이스라인 코드 (LSTM)
Competition - 자연어 기반 기후기술분류 AI 경진대회
Likes 6
Views 6,222
Comments 2
3년 전
다음 글
다음 글이 존재하지 않습니다.