머신러닝 모델을 학습할 때 사용하는 데이터가 머신러닝 모델이 사용할 수 없는 형식으로 제공
될 때가 많습니다. 예를 들어, 이 예제 프로젝트에서 모델을 학습하는 데 사용할 피처는
Yes
와
No
태그로만 사용할 수 있습니다. 머신러닝 모델에는 이런 값을 숫자로 표시해야 합니다(예:
1
과
0
). 이 장에서는 머신러닝 모델을 피처의 수치 표현으로 학습할 수 있도록 피처를 일관된
수치 표현으로 변환하는 방법을 설명합니다.
이 장에서 다루는 주요 측면 중 하나는 일관된 전처리에 초점을 맞추는 것입니다.
4
장에서 논
의한 전처리는 [그림
5
-
1
]과 같이 데이터 검증 후 수행됩니다. 데이터 전처리를 위한
TFX
컴
포넌트인
텐서플로 변환
TensorFlow
Transform
(
TFT
)을 사용하면 전처리 단계를 텐서플로 그래프로
구성할 수 있습니다. 다음 절에서는 이 워크플로가 왜 필요한지, 언제 사용하는지, 전처리 단
계를 어떻게 내보내는지를 설명합니다.
6
장에서는 전처리된 데이터셋과 보존된 변환 그래프를
사용하여 각각 머신러닝 모델을 학습하고 내보낼 예정입니다.
데이터
수집
파이프라인
오케스트레이션
메타데이터스토어데이터베이스
데이터
검증
데이터
전처리
모델 피드백 루프
모델
학습
모델 분석 및
검증
모델
배포
그림
5-1
머신러닝 파이프라인의 일부인 데이터 전처리
데이터 ...
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.
O’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
I 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
I’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
I'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.