Skip to Content
스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
book

스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다

by 이창현, 앨릭스 토머스
August 2021
Beginner to intermediate
440 pages
10h 4m
Korean
Hanbit Media, Inc.
Content preview from 스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
325
12
장
감성 분석과 감지
0.8029598474121058
evaluator.evaluate(test_preds)
0.8010723532212578
최소 허용 기준을 초과했으므로 우리는 이 모델을 배포할 준비가 되었다.
12.4.7
검토
물론 모델을 개선하는 방법을 파악할 수 있다. 하지만 첫 번째 버전을 얻는 것이 중요하다. 초
기 버전을 배포한 뒤에 모델을 개선하는 방법을 모색할 수 있다.
12.4.8
배포
이 애플리케이션의 경우 배포는 단순히 스크립트를 사용할 수 있게 만들 뿐이다. 사실상 오프
라인에서의 ‘배포’는 종종 주문형
on
demand
또는 주기적으로 실행할 수 있는 워크플로 생성을 포
함한다. 이 애플리케이션의 경우 새로운 검토를 위해 실행할 수 있는 위치에 스크립트를 두기
만 하면 된다.
%%writefile movie_review_analysis.py
"""
이 스크립트는 동일한 리뷰를 포함하는 파일을 가져온다.
분석 결과를 std.out에 출력한다.
"""
import argparse as ap
import json
from pyspark.sql import SparkSession
from pyspark.ml import PipelineModel
326
3
부
애플리케이션
if __name__ == '__main__':
print('beginning...') ...
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.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

정원천, 보리스 숄, 트렌트 스완슨, 피터 야우쇼베츠

Publisher Resources

ISBN: 9791162244654