Skip to Content
핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무
book

핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무

by 박해선, 오렐리앙 제롱
May 2020
Beginner to intermediate
952 pages
24h 11m
Korean
Hanbit Media, Inc.
Content preview from 핸즈온 머신러닝(2판): 사이킷런, 케라스, 텐서플로 2를 활용한 머신러닝, 딥러닝 완벽 실무
516
2
부
신경망과 딥러닝
축하합니다. 데이터
API
를 사용해 강력한 입력 파이프라인을 만드는 방법을 배웠습니다. 지금
까지 사용한
CSV
파일은 간단하고 편리해서 널리 통용되지만 효율적이지 않고 대규모의 복잡
한 (이미지나 오디오 같은 ) 데이터 구조를 지원하지 못합니다. 이 대신
TFRecord
를 사용하는
방법을 알아봅시다.
TIP
CSV
파일(또는 어떤 다른 포맷)을 선호하다면
TFRecord
를 사용할 필요가 없습니다. 문제가 없다면 그대로
사용해도 됩니다.
TFRecord
는 훈련 과정에서 데이터를 적재하고 전처리하는 데 병목이 생기는 경우 유용합
니다.
13.2
TFRecord
포맷
대용량 데이터를 저장하고 효율적으로 읽기 위해 텐서플로가 선호하는 포맷은
TFRecord
입니
다.
TFRecord
는 크기가 다른 연속된 이진 레코드를 저장하는 단순한 이진 포맷입니다(각 레
코드는 레코드 길이, 길이가 올바른지 체크하는
CRC
체크섬
checksum
, 실제 데이터, 데이터를 위
한
CRC
체크섬으로 구성됩니다 ).
tf
.
io
.
TFRecordWriter
클래스를 사용해
TFRecord
를 손
쉽게 만들 수 있습니다.
with tf.io.TFRecordWriter("my_data.tfrecord") as f:
f.write(b"This is the first record" ...
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

파이썬을 활용한 머신러닝 쿡북: 전처리에서 딥러닝까지, 판다스와 사이킷런 중심의 실전 문제 해결 200선

파이썬을 활용한 머신러닝 쿡북: 전처리에서 딥러닝까지, 판다스와 사이킷런 중심의 실전 문제 해결 200선

박해선, 크리스 알본

Publisher Resources

ISBN: 9791162242964