Skip to Content
로우코드 AI
book

로우코드 AI

by 궨덜린 스트리플링, 마이클 아벨, 박찬성
December 2024
Beginner to intermediate
336 pages
7h 41m
Korean
Hanbit Media, Inc.
Content preview from 로우코드 AI
247
7
파이썬으로 사용자 정의 ML 모델 학습시키기
메서드를 호출합니다. 그리고
predict
메서드는 모델의
predict
메서드를 호출하기 전에
변환기의
transform
메서드를 순서대로 적용합니다. 본질적으로 모든 변환 기능이 내장된 모
델이라고 볼 수 있습니다.
Pipeline
의 또 다른 장점은 휴대성입니다.
Pipeline
fit
메서드를 실행한 후
피클
pickle
이나
joblib
라이브러리를 사용하여 저장할 수 있습니다. 이렇게 저장한
파이프라인
에는 학습된 모
델뿐만 아니라 적합된 변환기의 정보도 함께 포함됩니다. 이는 예측 서비스를 제공할 때, 변환
과 모델을 모두 함께 패키징하여 원하는 환경에서 그대로 활용해 일관성 유지하는 좋은 방법입
니다.
연습 삼아 모델 코드를
Pipeline
을 사용하도록 다시 작성하고
fit
메서드로 모델을 학습시킨
다음, 모델을 평가하여 정확도, 정밀도, 재현율을 계산해 보기 바랍니다.
7.5
케라스로 신경망 구축하기
사용자 정의 코드와 사이킷런을 사용하여 로지스틱 회귀 모델을 구축하고 첫 번째
ML
모델을
학습시킬 수 있었습니다. 이 절에서는 텐서플로라는 소프트웨어 개발 키트(
SDK
)의 일부로 제
공되며 사용자 정의 신경망을 쉽게 구축할 수 있는 케라스라는 라이브러리로 다른 유형의 모델
을 구축해 봅니다.
신경망은 여러 계층으로 구성되며, 각 계층에는 일정 수의 뉴런이 있고 각 뉴런에는 활성화 함
수가 적용됩니다. 회귀 모델에서는 은닉 계층의 활성화 함수로
ReLU
흔히 사용하며, ...
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