Skip to Content
R Cookbook
book

R Cookbook

by JD Long, Paul Titer, Jee -Won Lee
May 2022
Beginner to intermediate
667 pages
16h 17m
Korean
Insight
Content preview from R Cookbook
Cookbook
485
13.7 이진값으로 된 변수 예측하기(로지스틱 회귀)
󺋇󺺋󽴔󽴛󽴔󺈿󻺠󺦳󻪟󽴔󺟏󼨫󽴔󻃤󻝳󼧛󺴾󺦳
군집화 알고리즘은 데이터를 전혀 겹치지 않는 집단으로 완벽하게 분리해 줬다. 원
래의 군집들은 겹치는 부분이 있는 반면, 우리가 찾아낸 군집들은 그렇지 않다.
이번 예시에서는
1
차원 데이터를 사용했지만,
dist
함수는 데이터 프레임 또는 행
렬에 저장된 다차원 데이터에도 잘 작동한다. 데이터 프레임이나 행렬에 있는 각 행
은 다차원 공간에서 하나의 관찰로 다뤄지며,
dist
는 이 관찰들 간의 거리를 계산
한다.
󺠣󽴔󻨛󻨓󻇃󺋿
이번 예시는 기본 패키지에 들어 있는 군집화 기능을 사용했다.
mclust
등 다른 패키
지들은 이외에 다른 군집화 메커니즘도 제공한다.
13.7
󻱃󻺓󺃡󻰋󺴫󽴔󺣫󽴔󻆏󻛧󽴔󻫗󼋰󼨧󺋿󽴘󺴫󻺏󻝳󼟀󽴔󼭛󺊏󽴙
󻀇󻳫
이진형 이벤트의 발생 확률을 예측하는 회귀 모형인 로지스틱 회귀분석(
logistic
regression
)을 수행하고 싶다.
R Cookbook 2판_최종.indd 485 21. 4. 27. 오전 11:07
R
486
13장 고급 수치 연산과 통계
󼩃󺅿󼄔
family
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

R Cookbook

R Cookbook

Paul Teetor
R Graphics Cookbook

R Graphics Cookbook

Winston Chang
R Cookbook, 2nd Edition

R Cookbook, 2nd Edition

JD Long, Paul Teetor

Publisher Resources

ISBN: 9788966262984