Skip to Content
금융 전략을 위한 머신러닝: 19가지 사례를 통해 익히는 금융 전략, 머신러닝, 데이터 과학
book

금융 전략을 위한 머신러닝: 19가지 사례를 통해 익히는 금융 전략, 머신러닝, 데이터 과학

by 김한상, 하리옴 탓샛, 사힐 푸리, 브래드 루카보
December 2021
Beginner to intermediate
468 pages
11h 42m
Korean
Hanbit Media, Inc.
Content preview from 금융 전략을 위한 머신러닝: 19가지 사례를 통해 익히는 금융 전략, 머신러닝, 데이터 과학
454
4
강화 학습과 자연어 처리
5.3
모델 사용 - 훈련 및 테스트
이제 다음 가져오기를 사용해 챗봇을 사용해 본다.
from chatterbot import ChatBot
위에서 만든
FinancialRatioAdapter
논리 어댑터를 챗봇에 추가해 챗봇을 구성한다. 다
음 코드에는
FinancialRatioAdapter
를 추가하는 것만 보이지만 챗봇의 이전 훈련에 사
용된 다른 논리 어댑터, 목록, 말뭉치도 들어 있다. 자세한 내용은 실전 문제의 주피터 노트
북을 참조한다.
chatbot = ChatBot(
“My ChatterBot”,
logic_adapters=[‘financial_ratio_adapter.FinancialRatioAdapter’]
)
이제 다음 문장을 사용해 챗봇을 테스트한다.
converse()
>What is ROE for Citibank?
https://www.zacks.com/stock/chart/C/fundamental/return-on-equity-ttm
>Tell me PE for Delta?
https://www.zacks.com/stock/chart/DAL/fundamental/pe-ratio-ttm
>What is Bitcoin?
It is a decentralized digital currency
>Help! ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

자바로 배우는 핵심 자료구조와 알고리즘: 기술 면접에 필요한 실용주의 자료구조와 알고리즘

자바로 배우는 핵심 자료구조와 알고리즘: 기술 면접에 필요한 실용주의 자료구조와 알고리즘

유동환, 앨런 B. 다우니

Publisher Resources

ISBN: 9791162245002