Skip to Content
실무로 통하는 인과추론 with 파이썬
book

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

by 마테우스 파쿠레, 박지용(감수), 신진수, 가짜연구소 인과추론팀
March 2024
Beginner to intermediate
464 pages
11h 51m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 인과추론 with 파이썬
294
3
부
이질적 효과와 개인화
분리할 수 있습니다.
( )
2
2
1
1
ˆ
( ( ))
n
i
n ii
i
i
Y
Lx T X
n
T
ττ
=

= −


∑
앞의 손실을 최소화하는 것은 괄호 안의 항을
2
i
T
로 가중치를 주어 최소화하는 것과 동일합니
다. 다른 예측 머신러닝 모델도 이와 같은 과정을 수행할 수 있습니다.
혹시 눈치채셨나요? 이 식은
6
.
8
절에서 평균제곱오차를 계산할 때 사용한 변환된 목표입니다!
이제 이것이 작동하는 이유를 알려드리겠습니다. 이를 코드로 구현하는 것은 매우 간단합니다.
In [15]: y_star = y_res/t_res
w = t_res**2
cate_model = LGBMRegressor().fit(train[X], y_star, sample_weight=w)
test_r_learner_pred = test.assign(cate = cate_model.predict(test[X]))
R
러너의 장점은
CATE
추정값을 직접 출력한다는 것입니다.
S
러너에서 필요했던 모든 추가
단계가 필요 없습니다. 또한 다음 그래프에서 볼 수 있듯이, 누적 이득을 기준으로
CATE
순서
를 매기는 데 상당히 훌륭한 성능을 보여줍니다.
이 예제에서 이중/편향 제거 머신러닝은
S
러너와 비슷한 성능을 보입니다. 아마도 처치효과가
충분히 강력하므로
S
러너의 ...
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

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

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

카일 갤러틴, 크리스 알본
잘되는 머신러닝 팀엔 이유가 있다

잘되는 머신러닝 팀엔 이유가 있다

데이비드 탄, 에이다 양, 데이비드 콜스

Publisher Resources

ISBN: 9791169212113