Skip to Content
로우코드 AI
book

로우코드 AI

by 궨덜린 스트리플링, 마이클 아벨, 박찬성
December 2024
Beginner to intermediate
336 pages
7h 41m
Korean
Hanbit Media, Inc.
Content preview from 로우코드 AI
272
로우코드 AI
8.2.3
사이킷런의 선형 회귀 모델 살펴보기
이제 노트북의 다음 셀로 이동합니다. 이 셀에는 데이터 준비,
ML
모델 학습, 모델 평가용 코
드가 모두 포함됩니다. 사이킷런의 학습 파이프라인의 개념은
7
장에서 다뤘으므로, 이 절은 모
든 코드를 자세히 설명하지 않습니다. 하지만 몇 가지 추가적인 참고 사항과 함께 간략한 개요
를 설명합니다. 먼저
import
문 다음의 데이터 처리를 담당하는 코드를 살펴보겠습니다.
y_train = train_df['sellingprice']
X_train = train_df.drop('sellingprice', axis=1)
def drop_columns(df, columns):
return df.drop(columns, axis=1)
preproc_cols = FunctionTransformer(drop_columns,
kw_args={"columns":['Unnamed: 0', 'mmr']})
numeric_columns = ['year', 'condition', 'odometer']
categorical_columns = ['make', 'model', 'trim', 'body',
'transmission', 'state', 'color', 'interior']
col_transformer = ColumnTransformer( ...
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