Skip to Content
실무로 통하는 ML 문제 해결 with 파이썬
book

실무로 통하는 ML 문제 해결 with 파이썬

by 카일 갤러틴, 크리스 알본, 박해선
April 2024
Beginner to intermediate
528 pages
12h 41m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 ML 문제 해결 with 파이썬
138
실무로 통하는
ML
문제 해결
with
파이썬
# 모델을 훈련합니다.
clusterer.fit(features)
# 그룹 소속을 예측합니다.
dataframe["group"] = clusterer.predict(features)
# 처음 몇 개의 샘플을 조회합니다.
dataframe.head(5)
feature_1 feature_2 group
0 -9.877554 -3.336145 0
1 -7.287210 -8.353986 2
2 -6.943061 -7.023744 2
3 -7.440167 -8.791959 2
4 -6.641388 -8.075888 2
설명
뒤에서 군집 알고리즘에 대해 자세히 알아보겠습니다. 여기에서는 군집이 전처리 단계
로 사용할 수 있다는 점이 중요합니다. 실제로
k
-평균 같은 비지도 학습 알고리즘을 사용하여
샘플을 그룹으로 모을 수 있습니다. 최종 목적은 비슷한 샘플이 모인 그룹을 나타내는 범주형
특성입니다.
지금 모두 이해되지 않더라도 걱정하지 마세요. 군집을 전처리 단계에서 사용할 수 있다는 개
념만 기억해두세요. 기다리기 싫다면 지금
19
장으로 넘어가도 좋습니다.
4.10
누락된 값을 가진 샘플 삭제하기
과제
누락된 값이 있는 샘플을 삭제해야 합니다.
해결
넘파이에서는 한 줄로 간단하게 누락된 값이 있는 샘플을 삭제할 수 있습니다.
# 라이브러리를 ...
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

실무로 통하는 인과추론 with 파이썬

실무로 통하는 인과추론 with 파이썬

마테우스 파쿠레

Publisher Resources

ISBN: 9791169212373