Skip to Content
로우코드 AI
book

로우코드 AI

by 궨덜린 스트리플링, 마이클 아벨, 박찬성
December 2024
Beginner to intermediate
336 pages
7h 41m
Korean
Hanbit Media, Inc.
Content preview from 로우코드 AI
302
로우코드 AI
8.4.2
선형 회귀 모델 학습시키기 및
TRANSFORM
절 사용하기
이제 데이터 전처리용으로 작성한 이전의 쿼리를 사용하여 선형 회귀 모델을 학습시킬 준비가
되었습니다. 해당 쿼리로 데이터를 변환하고 결과를 저장한 후, 새로운 테이블을 사용하여 모
델을 학습시키면 모든 것이 문제없이 작동합니다. 그러나 예측 시에도 동일한 변환을 수행해야
한다는 점에 유의해야 합니다. 특히 원핫 인코딩이 어떻게 이루어졌는지 정확히 알지 못하거나
버킷화에 사용할 버킷 경곗값이 없다면, 이 과정은 매우 까다로워집니다.
빅쿼리
ML
TRANSFORM
절을 제공하여 이러한 변환을 모델에 포함하도록 해줍니다.
CREATE
MODEL
문의 전체 구조는 다음과 같습니다.
CREATE OR REPLACE MODEL `dataset.model_name`
TRANSFORM (<transformation_sql>)
OPTIONS (<model_options>)
AS SELECT …
<
transformation
_
sql
>
은 이전 쿼리에서 사용하려는 열과 해당 열에 대한 변환을 지정한
SE-
LECT
부분을 의미합니다. 다음
SQL
문을 작성하고 실행하여
TRANSFORM
절을 사용해 변환을
적용한 선형 회귀 모델을 학습시킵니다.
CREATE OR REPLACE MODEL
`car_sales_prices.linear_car_model` ...
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

AI 엔지니어링

AI 엔지니어링

Chip Huyen
만들면서 배우는 생성 AI

만들면서 배우는 생성 AI

데이비드 포스터

Publisher Resources

ISBN: 9791169213301