ML-24 · MACHINE LEARNING

모델 카드·변경 실험·실패 분석 보고서Model cards, change experiments and failure analysis

정확한 숫자에서 정직한 판단으로 · 관측·가정·개입을 구분하는 종합 실습From exact numbers to justified judgment: distinguish observations, assumptions and interventions

실습 6종 · 풀이 포함 연습문제 60개6 labs · 60 exercises with solutions

기초Foundations

예측 모형에도 설명서와 성적표가 필요하다A model needs instructions and an evidence label

중고 자전거를 산다고 상상해 봅시다. “잘 달린다”는 말만으로는 내게 맞는지 판단하기 어렵습니다. 언제 정비했고, 어떤 길에서 시험했고, 브레이크에 어떤 문제가 남았는지를 알고 싶습니다. 예측 모형도 정확도 숫자 하나만으로 사용 범위를 설명할 수 없습니다. 모형 카드는 모형의 목적·자료·평가·한계를 함께 적어 다른 사람이 판단하도록 돕는 문서입니다.

이 장에서는 앞 장에서 고정한 와인 품질, 개인 로그 임금, 고객 이탈 모형을 사용합니다. 계수와 훈련 변환을 새로 맞추지 않습니다. 먼저 이미 있는 증거로 정직한 카드를 쓰고, 같은 시험 행에서 예측 규칙 두 개를 비교합니다. 그 다음 실제 개입을 무작위로 비교하는 별도의 가상 실험을 배웁니다. 예측 점수 비교와 개입 효과는 질문부터 다릅니다.

마지막에는 잘못 맞힌 사례를 관찰하고 후속 조치를 제안합니다. 오류가 특정 집단에 많다는 관측, 그 오류의 원인을 안다는 주장, 새 조치가 오류를 줄일 것이라는 예측을 나누어 씁니다. 보고서에 모르는 점이 남아 있는 것은 자연스럽습니다. 알려지지 않은 것을 0이나 “안전”으로 채우는 대신 다음 조사에 필요한 증거를 적습니다.

Imagine buying a used bicycle. “It rides well” is insufficient: you want maintenance history, the roads used for testing and remaining brake problems. A predictive model similarly needs more than one accuracy number. A model card brings purpose, data, evaluation and limitations together so another person can judge its use.

We retain the frozen wine-quality, individual log-wage and customer-churn models from preceding chapters. Neither coefficients nor training transformations are refitted. First document existing evidence and compare two prediction rules on the same test records. Then study a separate constructed experiment that randomizes a real action. Predictive comparisons and intervention effects ask different questions.

Finally examine failures and propose follow-up work. An observed concentration of errors, a claim about its cause and a prediction that a remedy will work are separate statements. Unknowns belong in a report. State what evidence is needed next instead of filling an unknown with zero or a declaration of safety.

기초Foundations

예측할 값·사용할 행동·측정 단위를 분리한다Separate target, action and measurement unit

내일 비가 올 확률을 맞히는 일과 우산을 무료로 나누어 결석을 줄이는 일은 다릅니다. 첫째는 예측이고 둘째는 행동의 결과를 묻습니다. 고객 이탈을 잘 예측해도 쿠폰을 주었을 때 누가 남을지는 알 수 없습니다. 쿠폰이 없어도 남을 사람과 쿠폰을 주어도 떠날 사람이 섞여 있기 때문입니다.

카드의 목표에는 관측 단위, 목표 변수, 예측의 이용 시점, 손실의 의미를 적습니다. 이 장의 와인은 포르투갈 와인 기록의 원 품질 점수입니다. 국가별 성장률 자료가 아닙니다. 개인 목표는 1976년 원 로그 시급 열이고, 교육 연수의 인과 효과가 아닙니다. 이탈의 0·1은 관측된 이탈 여부이며 고객을 지원할 가치나 쿠폰 효과가 아닙니다.

제곱 손실을 쓰면 단위도 제곱됩니다. 원 점수 차이가 2점이면 손실은 4점 제곱입니다. 로그 임금 오차의 제곱을 달러 제곱으로 읽을 수 없습니다. 서로 다른 목표의 MSE를 그대로 순위 매겨 “와인보다 임금 모형이 우수하다”고 말하지 마세요. 각 목표 안에서 같은 단위와 같은 행을 비교해야 합니다.

Predicting rain and distributing umbrellas to reduce absence are different tasks. A churn predictor does not reveal who would stay because of a coupon. Customers who would stay anyway and those who would leave despite a coupon can share similar scores.

State the observational unit, target, time of use and meaning of the loss. Our wine target is a native quality score on Portuguese wine records, not national GDP. The individual target is a supplied 1976 log-hourly-wage field, not a causal schooling effect. A binary churn label is neither customer worth nor a coupon effect.

Squared loss has squared outcome units. A two-point quality error produces four squared-point units. A squared log-wage error cannot be read as squared dollars. Do not rank unrelated tasks by their raw MSE. Compare rules within a common target, unit and evaluation frame.

학부Undergraduate

버전은 계수·변환·입력 순서를 함께 가리킨다Version the complete prediction rule

같은 요리 이름이라도 소금의 양이나 오븐 온도가 바뀌면 다른 결과가 나옵니다. 모형 버전도 계수 파일 이름만으로 충분하지 않습니다. 특징의 이름과 순서, 훈련에서 구한 평균과 범위, 결측 처리, 이진 점수 자르기까지 묶어야 같은 계산을 찾을 수 있습니다.

여기서는 훈련 평균 μ와 범위 s를 고정한 릿지 예측식을 사용합니다. 새 시험 묶음의 평균으로 μ를 바꾸면 계수가 같아도 함수가 달라집니다. 원 특징에 대한 절편·기울기로 대수적으로 정리하는 것은 같은 함수일 수 있지만, 반드시 같은 원행에서 결과를 대조해야 합니다.

y^(x)=θ0+∑j=1pθj(xj−μj)/sj\widehat y(x)=\theta_0+\sum_{j=1}^{p}\theta_j(x_j-\mu_j)/s_j

세 실제 사례의 A는 이전 검증에서 고른 λ=1/100 릿지이며, B는 당시 훈련 목표의 평균을 내는 상수입니다. 이 장에서 시험 오차를 보고 λ를 다시 고르지 않습니다. 이진 A는 원 선형 점수를 [0,1]로 잘라 확률 범위의 점수로 사용합니다. 범위 안에 있다는 사실만으로 확률이 잘 보정되었다고 입증되지는 않습니다.

A recipe name does not determine its salt quantity or oven setting. A model version likewise needs feature names and order, frozen training means and ranges, missing-value handling and binary clipping, as well as coefficients.

The ridge prediction below uses frozen training mean μ and range s. Re-centering on the test batch changes the function even when coefficient values remain unchanged. An algebraic raw-coordinate representation can be equivalent, but check it on the same native records.

y^(x)=θ0+∑j=1pθj(xj−μj)/sj\widehat y(x)=\theta_0+\sum_{j=1}^{p}\theta_j(x_j-\mu_j)/s_j

Rule A is the prior validation-selected lambda-one-hundredth ridge; rule B is the prior training-target mean. We do not choose lambda again from test losses. Binary A clips the raw affine score to the unit interval. Being in range does not establish probability calibration.

기초Foundations

용도와 제한을 사람이 판단할 수 있게 쓴다Write intended use and limitations concretely

“연구용”이라는 한 단어는 독자가 무엇을 해도 되는지 알려주지 못합니다. “원자료의 고정 시험 분할에서 품질 점수를 비교하는 교육 실습”처럼 작업·대상·증거 범위를 적으면 더 명확합니다. 실제 와이너리의 자동 출하 결정은 별도 측정·업무 비용·현장 검증이 필요한 다른 용도입니다.

금지·주의 용도는 왜 근거가 부족한지도 설명합니다. NLS 임금 예측으로 특정 학생이 대학에 가면 얼마 더 벌지 결정할 수 없습니다. 관측 자료의 교육 선택과 결측 임금이 있고, 교육을 바꾸는 개입 효과를 식별한 모형이 아니기 때문입니다. 고객 이탈 점수도 개인에게 불이익을 주는 자동 규칙의 적정성을 증명하지 않습니다.

한계는 모든 가능한 위험을 나열하는 문장이 아니라 현재 판단에 필요한 정보입니다. 표본이 누구인지, 어떤 결과가 빠졌는지, 어떤 집단을 평가하지 않았는지, 어떤 실제 환경을 시험하지 않았는지 씁니다. 근거가 없는 사용 범위를 넓혀 쓰기보다 새 검증 계획과 담당 결정을 분리해 적습니다.

The single phrase “for research” gives little guidance. “An educational comparison of quality scores on a frozen native-data test split” states a task, population and evidence boundary. Automated shipment decisions at a real winery additionally require measurements, operating costs and field validation.

Explain why a proposed use is unsupported. The NLS prediction cannot determine how much a particular student would earn by attending college: schooling is selected observationally, wages are missing for some records, and the model does not identify that intervention. A churn score likewise does not establish the appropriateness of an automated adverse customer decision.

Limitations should help a concrete decision. State who was sampled, which outcomes are missing, which groups were not evaluated and which operational setting was not tested. Separate unsupported extensions from the validation work needed to examine them.

학부Undergraduate

원자료·적격·예정 시험·채점 분모를 나눈다Report four different denominators

학급 30명 중 시험 대상 28명, 응시자 25명의 평균이 80점이라고 합시다. “학급 평균 80점”이라고만 쓰면 시험 대상이 아닌 학생과 결시자를 같은 범위로 읽게 됩니다. 모형의 성적표도 숫자 옆에 어떤 분모인지 적어야 합니다.

원자료 행 수는 파일에 보존된 전체입니다. 적격 행은 이 예측 문제에서 필요한 목표와 특징을 갖춘 행입니다. 예정 시험 행은 목표 결측을 버리기 전에 고정 분할에서 시험으로 배정한 행입니다. 채점 시험 행은 그중 실제 목표를 관측하여 손실을 계산한 행입니다. 이 순서를 기록하면 결측이 평가에서 사라진 위치를 찾을 수 있습니다.

실제 자료의 서로 다른 분모
사례원자료적격예정 시험채점 시험
와인6,4976,4971,6141,614
NLS3,6133,010904745
이탈3,1503,150771771

NLS의 전체 목표 결측 603개가 모두 예정 시험 안에 있는 것은 아닙니다. 예정 시험 904개 중 원 라벨을 관측한 것은 745개입니다. 745/904는 이 고정 전체 시험 대상에서의 원 라벨 비율이며, 결측 임금을 0으로 바꾸거나 전체 남성의 정확도를 보장하는 수치가 아닙니다. 가중 평균이면 행 수와 비중 합도 함께 써야 합니다.

Suppose a class has thirty pupils, twenty-eight are eligible for an examination and twenty-five attend. A mean of eighty among attendees is not an unqualified class mean. A model score similarly needs its denominator.

Native rows are all preserved file records. Eligible rows meet the outcome and feature requirements of this problem. Planned test rows are assigned to the frozen test partition before discarding missing targets. Scored test rows are the planned records whose targets can actually be used. These counts reveal where missingness affects evaluation.

Different denominators in the factual cases
CaseNativeEligiblePlanned testScored test
Wine6,4976,4971,6141,614
NLS3,6133,010904745
Churn3,1503,150771771

The 603 missing NLS targets are spread across planned roles. Of 904 planned test records, 745 have observed native labels. Their ratio is a full-target native-label fraction, not an imputation rule or a guarantee about all men. For weighted means report both record counts and total weight.

기초Foundations

출처·해시·사실 확인은 서로 다른 단계다Provenance, hashes and factual verification

친구가 보낸 사진과 내가 저장한 사진의 파일 해시가 같다면 두 파일의 바이트가 같은지 확인하는 데 도움이 됩니다. 그러나 사진의 촬영 장소나 설명이 참인지까지 해시가 알려주지는 않습니다. 해시는 내용이 무엇이든 계산할 수 있는 지문입니다.

이 장의 카드 감사는 64자리 16진수 SHA256 형식과 파일 참조를 기록합니다. 사용자가 0을 64개 적어도 형식 검사는 통과합니다. 계산기가 원격 파일을 내려받아 그 바이트와 대조한 것은 아니므로 참조의 진위는 별도 확인해야 합니다. 실제 보존 파일의 출처·원 바이트·SHA·변환 코드·측정 단위를 함께 남기는 이유입니다.

원자료의 관측값, 그 값으로 계산한 MSE, 교육용으로 만든 실험 배정, 아직 검증하지 않은 가정을 다른 종류의 근거로 표시합니다. 실제 파일에서 추출한 숫자라는 말과 그 숫자가 실제 업무 결정을 정당화한다는 말 사이에는 대상·설계·측정 타당성에 관한 추가 논증이 필요합니다.

Matching file hashes can help establish that two saved photographs contain the same bytes. A hash does not establish the truth of the caption or where the photograph was taken. Any byte sequence can be hashed.

The card auditor records a file reference and checks the format of a 64-character hexadecimal SHA256 string. Sixty-four zeros pass that syntax check. The calculator has not downloaded and compared the referenced artifact. Preserve provenance, original bytes, actual SHA values, transformations and measurement units as separate evidence.

Distinguish native observations, computed MSE, constructed experimental assignments and unverified assumptions. A number extracted from a real file does not by itself justify an operational decision. Population, design and measurement arguments are still needed.

학부Undergraduate

실습 · 카드의 빈칸과 근거 연결을 바꿔 본다Lab: fields, evidence links and documented unknowns

아래 카드 실습의 기본 예를 실행하고 목적·단위·분모·평가 근거를 읽습니다. 먼저 시험 MSE 근거의 역할만 validation으로 바꾸고, 주장의 요구 역할 test는 그대로 둡니다. 계산값이 같더라도 역할 불일치가 표시되어야 합니다. 다시 test로 되돌린 뒤 근거 ID를 존재하지 않는 값으로 바꾸면 연결 누락을 확인할 수 있습니다.

이제 값을 null로 바꾸고 “양성 예측이 없어 정밀도 분모가 0”이라는 사유를 적습니다. 근거가 미정의인 사실을 올바르게 문서화할 수 있습니다. 미정의라는 이유만으로 가짜 0을 넣을 필요는 없습니다. 사유를 지우면 구조 문제가 표시되는지 비교합니다.

원 예제로 모두 되돌린 뒤 파일 해시에 0을 64개 넣어 보세요. 형식은 유효해도 파일을 인증하지 않았다는 안내가 유지됩니다. 마지막으로 채점 행을 예정 시험 행보다 크게 입력하면 분모 관계 문제가 나타납니다. “문서 구조 완비”는 이 제한된 검사에 맞는다는 뜻이며, 내용의 참·인과성·윤리성·배포 적합성의 인증서가 아닙니다.

Run the default card and inspect purpose, units, denominators and evidence. Change only the MSE evidence role to validation while the claim still requires test. An unchanged numeric value should not hide the role mismatch. Restore test, then use an unknown evidence ID to expose a missing link.

Next set the value to null and explain that precision has no positive-prediction denominator. An undefined metric can be documented correctly. It does not need an invented zero. Remove the explanation and compare the structural issue.

Restore the original example before setting the file hash to sixty-four zeros. A valid format still does not authenticate bytes. Finally set scored rows above planned test rows and inspect the count relationship. Structural completeness concerns only the declared checks, not factual truth, causality, ethical adequacy or deployment suitability.

학부Undergraduate

주장마다 값·역할·한계를 연결한다Connect each claim to a value, role and limitation

“모형이 좋다”는 문장은 비교 대상과 평가 범위가 빠져 있습니다. “고정된 시험 관측 771개에서, 임계값 1/2로 양성 예측이 0개였고 양성 재현율은 0이었다”는 문장은 값·분모·규칙을 확인할 수 있습니다. 그 옆에 정밀도가 미정의이며 쿠폰 효과를 추정하지 않았다고 쓰면 다른 질문과 혼동하기 어렵습니다.

카드의 주장 ID와 근거 ID는 문장과 계산을 연결하는 주소입니다. 주소가 연결된다는 사실은 해당 문장이 충분히 뒷받침된다는 판정과 다릅니다. 예를 들어 시험 MSE를 인용하여 “모든 고객에게 공정하다”고 쓰면 연결은 존재해도 근거가 그 주장을 보장하지 않습니다.

좋은 검토자는 가장 강한 문장을 먼저 찾습니다. 전체 인구·모든 집단·미래·원인·안전 같은 말에 어떤 추가 가정이 필요한지 묻습니다. 계산으로 확인한 부분은 구체적으로 쓰고, 확인하지 못한 부분은 후속 과제로 남깁니다. 이 원칙은 다음의 모형 변경 보고서 전체에 적용됩니다.

“The model is good” omits comparator and scope. “On 771 frozen observed test records, threshold one-half produced no positive predictions and zero positive recall” gives a value, denominator and rule. Add that precision is undefined and coupon effects were not estimated.

Claim IDs and evidence IDs are addresses connecting prose to calculations. A resolvable address does not establish adequate support. Linking test MSE to “fair for every customer” provides a link without establishing the claim.

A reviewer starts with the strongest statements. Words about whole populations, all groups, future outcomes, causes or safety require additional assumptions and evidence. State computed findings concretely and leave unresolved extensions as explicit follow-up work. This principle guides the entire change report.

학부Undergraduate

같은 문제를 같은 행에서 비교한다Compare rules on the same records

두 달리기 선수를 비교할 때 한 명은 평지 100m, 다른 한 명은 언덕 200m를 달리게 하면 기록만으로 우열을 정하기 어렵습니다. 두 모형의 오차도 평가 대상이 다르면 모형 차이와 대상 차이가 섞입니다. 이 장의 변경 비교는 두 예측과 정답이 모두 있는 같은 행을 사용합니다.

행마다 A와 B의 손실을 먼저 뺍니다. 같은 정답이 두 손실에 들어가므로 어려운 행과 쉬운 행의 구성이 같아집니다. 이것이 예측 규칙 비교의 짝지음입니다. 사람에게 두 개의 실제 처치를 동시에 시행하여 잠재 결과를 모두 관측했다는 뜻은 아닙니다.

두 예측 규칙을 고정해도 공통 완전 행만 남기는 선택의 한계는 남습니다. A가 특히 어려운 행에서 예측을 내지 못하면 그 행이 빠질 수 있습니다. 평균 차이 옆에 공통 채점 수와 제외 사유를 적고, 예측 가용성 문제도 별도 실패로 보고해야 합니다.

Comparing one runner over a flat hundred metres with another over a hilly two hundred metres mixes ability with course difficulty. Model losses evaluated on different records similarly mix model and population differences. Our change comparison uses records with an outcome and both predictions.

Subtract losses within each record before averaging. Both rules then face the same mix of easy and difficult observations. This is pairing for predictive comparison, not observation of both real treatment potential outcomes for the same person.

A common complete frame still has selection limits. If A fails to produce scores on difficult cases, those records can disappear from the contrast. Report common scored counts and exclusion reasons, and investigate prediction availability as a separate failure.

학부Undergraduate

선택과 변환을 고정한 뒤 성적표를 읽는다Freeze selection and transformations before testing

시험 답안을 보고 가장 높은 점수를 받은 방법을 다시 고르면 시험이 연습 문제 역할을 하게 됩니다. 이전 장에서 검증 자료로 선택한 A를 이 장의 시험 비교 전에 고정하는 이유입니다. 상수 B도 시험 목표 평균을 새로 계산하여 만들지 않고 이전 훈련 평균을 사용합니다.

고정할 항목은 특징 순서·훈련 평균·범위·계수·점수 자르기·비교 손실·집단 규칙입니다. 시험에서 발견한 오류를 보고 새 후보를 만들 수는 있습니다. 그 후보를 같은 시험에서 반복 선택하면 새 후보의 최종 점수는 탐색에 사용한 자료에 대한 결과라고 밝혀야 합니다.

모형 변경의 기록은 무엇이 달라졌는지를 좁혀야 합니다. 좌표 표현만 대수적으로 바꿨는지, 새 특징을 추가했는지, 훈련 대상을 바꿨는지, 임계값만 바꿨는지를 구분합니다. 이 장의 실제 A 대 B는 이미 정한 두 예측 함수의 비교이며 새 학습 실험을 수행하지 않습니다.

Choosing the best-looking method after inspecting test answers turns the test into development data. A was selected using prior validation and is frozen before this comparison. B uses the prior training mean, not a newly computed test-target mean.

Freeze feature order, training means and ranges, coefficients, clipping, comparator loss and grouping rules. Test failures may motivate a new candidate. Repeatedly selecting it on the same test requires disclosing that the reported result now concerns explored data.

Record precisely what changed: an equivalent coordinate representation, new features, a different training population or only a threshold. The factual A-versus-B comparison evaluates two existing functions without a new training experiment.

학부Undergraduate

손실 차이의 부호와 비중을 도출한다Derive the loss contrast and its sign

정답을 y, 두 예측을 a와 b라고 합시다. 제곱 손실 차이 d는 A의 손실에서 B의 손실을 뺀 값입니다. d가 음수이면 그 행에서는 A의 제곱 오차가 작습니다. 전체 차이 Δ는 양의 분석 비중 w를 사용한 평균입니다. 음수의 방향을 보고서와 표 제목에 계속 유지하세요.

di=(ai−yi)2−(bi−yi)2=(ai−bi)(ai+bi−2yi),Δ=∑iwidi∑iwid_i=(a_i-y_i)^2-(b_i-y_i)^2=(a_i-b_i)(a_i+b_i-2y_i),\qquad \Delta=\frac{\sum_i w_i d_i}{\sum_i w_i}

정답 [0,1,2], A 예측 [0,1,2], B 예측 [1,1,1]인 가상 예에서 차이는 [−1,0,−1]이고 단위 비중 평균은 −2/3입니다. A의 평균 손실 0과 B의 평균 손실 2/3을 따로 뺀 결과와 같습니다. 같은 공통 행과 같은 비중을 사용할 때 성립하는 대수입니다.

w가 0이면 전체 평가에 질량을 더하지 않습니다. 행은 삭제하지 않고 비중 0 사유로 남깁니다. 음의 비중은 이 실습의 평균 해석에 맞지 않아 거절합니다. 모든 비중이 0이거나 공통 완전 행이 없으면 Δ를 0으로 만들어 넣지 않고 미정의로 둡니다.

Let y be the outcome and a and b the predictions. Define d as squared loss of A minus squared loss of B. A negative d favours A on that record. The aggregate Δ is its positive-weight mean. Keep this sign convention in every report and table.

di=(ai−yi)2−(bi−yi)2=(ai−bi)(ai+bi−2yi),Δ=∑iwidi∑iwid_i=(a_i-y_i)^2-(b_i-y_i)^2=(a_i-b_i)(a_i+b_i-2y_i),\qquad \Delta=\frac{\sum_i w_i d_i}{\sum_i w_i}

For constructed outcomes [0,1,2], predictions A=[0,1,2] and B=[1,1,1], differences are [−1,0,−1] and their unit-weight mean is −2/3. This equals zero minus B’s mean loss of 2/3 because both use the same frame and weights.

Zero weights contribute no mass but remain visible with a reason. Negative weights are outside this mean interpretation and are rejected. No positive complete mass makes Δ undefined, rather than zero.

학부Undergraduate

행 수와 비중 합은 같은 숫자가 아닐 수 있다Record counts and weight mass can differ

한 의견에 비중 3, 다른 의견에 비중 1을 주었다고 해서 첫 사람 세 명을 실제로 관측한 것은 아닙니다. 가중 평균은 어떤 대상을 더 크게 반영하는 규칙이며, 독립 관측의 수를 자동으로 늘리지 않습니다. 표본 비중·정책 비중·임의 교육 비중도 서로 다른 근거를 가집니다.

차이가 1과 3인 두 행의 비중이 3과 1이면 Δ=(3×1+1×3)/4=1.5입니다. 행 수는 2, 비중 합은 4입니다. 비중을 모두 두 배로 하면 평균 Δ는 같지만 원래 자료가 두 배 늘었다고 말할 수 없습니다.

이 장의 실제 세 자료는 단위 분석 비중을 씁니다. NLS 원 52개 변수 파일의 표본 관련 열은 원본에 보존하지만 자동으로 평균에 사용하지 않습니다. 모집단 추정에 적합한 비중과 설계를 채택하려면 별도의 표본 설계와 목표 모집단을 명시해야 합니다.

Giving weight three to one opinion and weight one to another does not create three observed people from the first person. Weights change the target averaging rule, not automatically the number of independent observations. Sampling, policy and teaching weights have different justifications.

Two loss differences of one and three with weights three and one give Δ=1.5. There are two records and mass four. Doubling every weight leaves the mean unchanged without doubling the observed data.

The factual cases use unit analysis weights. Sampling-related columns remain in the original 52-field NLS file but are not automatically applied. Population inference requires an explicit sampling design and target population.

학부Undergraduate

결측과 예측 실패가 평가 대상을 바꾼다Missing outcomes and predictions change the frame

A의 예측이 있는 두 행의 손실이 0과 100이고 B의 손실이 1과 1이라고 합시다. 두 행을 모두 보면 A가 훨씬 나쁩니다. A가 두 번째 행에서 값을 내지 않았다고 그 행을 버리면 남은 비교는 0−1=−1이 됩니다. 계산은 맞아도 “전체 대상에서 A가 우수”라는 결론은 맞지 않습니다.

실습은 비중 0, 목표 결측, 비교 예측 결측을 구분합니다. 어떤 사유를 우선 표시할지 정한 규칙도 읽을 수 있습니다. 원 목표가 없는 행은 예측을 보존해도 손실을 계산할 수 없습니다. 두 모형 중 한쪽 예측만 없는 경우에도 공통 손실 차이는 미정의입니다.

결측 손실이 가질 수 있는 범위를 가정하면 전체 대상 위험의 구간을 구할 수는 있습니다. 그러나 관측 위험만으로 그 가정을 정할 수 없습니다. 예를 들어 이진 Brier 손실 [0,1]은 범위가 알려져 있지만 로그 임금 제곱 손실에는 자료만으로 같은 유한 상한을 붙일 수 없습니다.

Suppose A has losses zero and one hundred on two records, while B has one and one. A is worse overall. If A fails to return a score on the second record and that record disappears, the remaining contrast is minus one. The arithmetic does not justify superiority for the original full population.

The lab distinguishes zero weight, missing outcome and missing comparison prediction, with an explicit state priority. A prediction can be retained when its target is missing without inventing a loss. A missing prediction from either rule also leaves the paired loss undefined.

An assumed range for missing losses can yield a full-population risk interval, but observed risk does not establish that range. Binary Brier loss has the known unit-interval range; squared log-wage loss has no analogous finite upper bound from these observations alone.

학부Undergraduate

실습 · 같은 행의 A−B를 읽는다Lab: read the same-record A-minus-B contrast

기본 가상 두 행은 목표 0, A 예측 [1,2], B 예측 [0,1], 비중 [3,1]입니다. 실행하여 각 차이 [1,3], 평균 차이 1.5를 확인합니다. 다음에는 A와 B 열을 서로 바꿉니다. 평균 차이는 −1.5로 바뀌고 삭제 분산은 그대로여야 합니다.

원 예제로 되돌린 뒤 두 행의 묶음 ID를 같게 만드세요. 평균 차이는 1.5로 유지되어도 양의 공통 묶음이 하나가 되어 삭제 분산은 미정의입니다. 독립 표본이 사라졌다는 인증이 아니라 이 계산식에 필요한 묶음 수가 부족하다는 뜻입니다.

다시 원 예제로 되돌리고 둘째 행 목표만 null로 바꿉니다. 공통 채점 행은 하나이며 원래 두 행 전체의 비교로 읽을 수 없습니다. 비중을 모두 0으로 만들면 평균도 미정의가 됩니다. 원 예제로 한 번 더 되돌린 뒤 비중 [6,2]를 넣어 평균과 삭제값이 비중의 공통 배율에 불변인지 확인합니다.

The constructed default has outcome zero, A predictions [1,2], B predictions [0,1] and weights [3,1]. Verify differences [1,3] and mean 1.5. Swap the A and B columns: the mean becomes minus 1.5 while deletion variance stays unchanged.

Restore the original example, then give both rows the same group ID. The mean remains 1.5 but deletion variance becomes undefined with only one positive complete group. This is an insufficient-group condition for the formula, not an authentication of sampling independence.

Restore the example before making only the second target null. One row is scored, so the result is no longer the original two-record comparison. All-zero weights make the mean undefined. Restore again and use weights [6,2] to verify invariance to a common weight multiplier.

학부 심화 · 선택Advanced undergraduate · optional

크기가 다른 묶음을 실제로 하나씩 뺀다Actually delete each unequal-mass group

묶음 g의 비중 합을 Wg, 가중 손실 차이 합을 Sg라고 하겠습니다. 전체는 W와 S입니다. 묶음을 하나 뺄 때 평균의 분자뿐 아니라 분모도 바뀝니다. 남은 평균은 (S−Sg)/(W−Wg)입니다. 묶음 크기가 다르면 단순히 원 평균에서 같은 양을 빼는 방식은 맞지 않습니다.

Δ(−g)=S−SgW−Wg,Δ‾(−)=G−1∑gΔ(−g),VJ=G−1G∑g(Δ(−g)−Δ‾(−))2\Delta_{(-g)}=\frac{S-S_g}{W-W_g},\quad \overline\Delta_{(-)}=G^{-1}\sum_g\Delta_{(-g)},\quad V_J=\frac{G-1}{G}\sum_g(\Delta_{(-g)}-\overline\Delta_{(-)})^2

비중 [3,1], 차이 [1,3]의 예에서 첫 묶음을 빼면 3, 둘째 묶음을 빼면 1입니다. 삭제값 평균은 2이고 VJ=(1/2){(3−2)²+(1−2)²}=1입니다. 원 평균 1.5를 삭제값 평균 2로 대체하는 추정 절차를 이 장이 자동으로 권하는 것은 아닙니다. 삭제값은 민감도와 분산형 요약을 계산하는 보조량입니다.

이 수치는 양의 공통 묶음이 둘 이상일 때 계산합니다. 한 묶음뿐이면 그 묶음을 뺀 뒤 분모가 0입니다. 자료가 부족한 것을 변동이 전혀 없다는 숫자 0으로 바꾸지 않습니다. 원 모형을 다시 학습하는 삭제 검증과도 다릅니다. 여기서는 예측을 고정합니다.

Let Wg be group weight and Sg its weighted sum of loss differences. Total weight and sum are W and S. Deleting a group changes both numerator and denominator, giving (S−Sg)/(W−Wg). Unequal masses cannot be handled by subtracting an equal contribution from the original mean.

Δ(−g)=S−SgW−Wg,Δ‾(−)=G−1∑gΔ(−g),VJ=G−1G∑g(Δ(−g)−Δ‾(−))2\Delta_{(-g)}=\frac{S-S_g}{W-W_g},\quad \overline\Delta_{(-)}=G^{-1}\sum_g\Delta_{(-g)},\quad V_J=\frac{G-1}{G}\sum_g(\Delta_{(-g)}-\overline\Delta_{(-)})^2

With weights [3,1] and differences [1,3], the two deletions give three and one. Their mean is two and VJ is one. This does not recommend automatically replacing the original mean 1.5 by the deletion mean two. Leave-out values are auxiliary sensitivity and dispersion quantities.

At least two positive complete groups are needed. With one group, deleting it leaves zero mass. Insufficient support is not zero variability. These deletions also hold fitted predictions fixed; they are not leave-group-out retraining.

대학원 연결Graduate bridge

분산형 요약과 신뢰구간의 조건을 구별한다Dispersion is not automatically a confidence interval

우산 판매가 늘어난 날 비도 많이 왔다고 해도 우산이 비를 만들었다고 말하지 않습니다. 마찬가지로 묶음별 삭제값이 잘 계산되었다고 그 묶음들이 독립적으로 뽑혔다고 증명되지는 않습니다. 수식이 성립하는 대수와 반복 표본에 관한 확률 해석을 구분해야 합니다.

VJ는 정해진 삭제값의 전통적인 잭나이프 분산형 요약입니다. 이를 표준오차나 정규 근사 신뢰구간으로 읽으려면 표본 설계·묶음의 의존·통계량의 규칙성·충분한 묶음 수 등을 따로 검토해야 합니다. G=2의 교육 예는 계산 원리를 보여주지만 대규모 표본 근사의 근거가 아닙니다.

실제 자료의 특징 지문 묶음은 같은 설명변수 조합이 훈련과 시험을 넘나들지 않게 하는 계산 규칙입니다. 동일한 사람·같은 병이라는 인증도, 묶음 간 독립성의 증명도 아닙니다. 이 장은 정확한 차이와 삭제 민감도를 보고하되 자동으로 “통계적으로 유의”나 “배포 승인”을 붙이지 않습니다.

Umbrella sales and rain can increase together without umbrellas causing rain. Likewise, well-computed leave-group values do not establish independent sampling of groups. Separate finite algebra from probability statements about repeated samples.

VJ is the conventional jackknife dispersion of the declared deletion estimates. Interpreting it as a standard error or a normal-approximation interval requires a sampling design, dependence assumptions, regularity and enough groups. A two-group teaching example explains arithmetic rather than large-sample validity.

Predictor fingerprints prevent identical feature combinations from crossing splits. They authenticate neither person or bottle identity nor between-group independence. We report exact contrasts and deletion sensitivity without automatically declaring significance or deployment approval.

학부Undergraduate

모형을 바꾼 효과와 행동을 바꾼 효과Changing a score versus changing an action

같은 고객 자료에 두 점수 함수를 적용하면 두 예측은 모두 계산할 수 있습니다. 그러나 같은 고객에게 같은 시기에 쿠폰을 주면서 주지 않을 수는 없습니다. 예측 함수 비교에서 두 값을 아는 것과 행동의 잠재 결과 두 개를 아는 것은 다릅니다.

학교가 알림 문자를 보내 결석을 줄이려 한다고 합시다. 결석 예측이 더 정확한 모형으로 바꾸어도 문자의 효과가 커진다고 바로 결론 낼 수 없습니다. 연락처가 맞는지, 문자를 읽는지, 어떤 학생에게 보낼지, 다른 학생에게 영향이 있는지까지 행동 과정이 작동합니다.

이 장의 실제 원자료에는 두 개입으로 무작위 배정한 결과가 없습니다. 따라서 실제 모형 비교 표를 A/B 인과 실험 결과라고 부르지 않습니다. 다음 절의 A/B 자료는 실험 원리를 이해하려고 별도로 구성한 가상 관측입니다. A와 B라는 글자가 같아도 실험의 행동과 앞 절의 예측 함수는 다른 대상을 가리킵니다.

Both scoring functions can be evaluated on the same customer record. The same customer cannot simultaneously receive and not receive the same coupon. Having two predictions is different from observing both intervention potential outcomes.

A school may send reminders to reduce absence. Improving absence prediction does not directly establish a stronger reminder effect. Contact accuracy, message reading, the targeting rule and effects on other students are parts of the action process.

Our native files contain no outcomes randomized between two interventions. Their prediction table is not a causal A/B result. Subsequent A/B observations are separately constructed teaching examples. Those arm labels refer to actions rather than the prediction functions of the preceding comparison.

학부 심화 · 선택Advanced undergraduate · optional

잠재 결과와 관측한 결과를 연결한다Potential outcomes and observed outcomes

가상 학생 i가 알림을 받으면 결석 일수 Y_i(1), 받지 않으면 Y_i(0)를 가진다고 표기합니다. 두 숫자는 같은 학생의 같은 평가 기간에 대한 서로 다른 상황입니다. 처치 지시자 Z_i가 1이면 첫 결과, 0이면 둘째 결과만 관측합니다. 한 학생의 효과는 Y_i(1)−Y_i(0)이지만 그 둘을 동시에 관측할 수 없습니다.

Yiobs=ZiYi(1)+(1−Zi)Yi(0),τS=N−1∑i=1N[Yi(1)−Yi(0)]Y_i^{\rm obs}=Z_iY_i(1)+(1-Z_i)Y_i(0),\qquad \tau_S=N^{-1}\sum_{i=1}^{N}[Y_i(1)-Y_i(0)]

이 식은 일관된 행동 정의와 간섭 없음의 범위를 가정합니다. “알림”이 사람마다 전혀 다른 서비스이거나 친구의 배정 때문에 내 결과가 바뀌면 두 숫자만으로 충분하지 않을 수 있습니다. 관측한 명칭이 같다는 이유로 가정이 성립하지는 않습니다.

τS는 이 고정 유한 집단의 평균 효과입니다. 표본 밖 다른 학교나 다음 해 학생의 효과는 별도 일반화 문제입니다. 관측된 두 팔의 평균 차이가 τS를 추정하게 만드는 배정 설계를 다음 절에서 명시합니다.

For constructed pupil i, let Y_i(1) be absences with a reminder and Y_i(0) absences without it over the same period. Assignment indicator Z_i determines which outcome is observed. The individual effect is their difference, although both outcomes cannot be observed together.

Yiobs=ZiYi(1)+(1−Zi)Yi(0),τS=N−1∑i=1N[Yi(1)−Yi(0)]Y_i^{\rm obs}=Z_iY_i(1)+(1-Z_i)Y_i(0),\qquad \tau_S=N^{-1}\sum_{i=1}^{N}[Y_i(1)-Y_i(0)]

This notation assumes consistently defined actions and the stated absence of interference. If reminders are fundamentally different services across people, or a friend’s assignment affects one’s outcome, two potential outcomes may be insufficient. Identical action labels do not establish these assumptions.

τS is the mean effect in this fixed finite population. Effects in another school or a future year require generalization arguments. We next specify the assignment that makes the observed mean contrast an estimator of τS.

학부 심화 · 선택Advanced undergraduate · optional

완전 무작위 배정에서 평균 차이가 겨냥하는 것What complete randomization targets

N명 중 정확히 nA명에게 A를 배정하고 나머지 nB명에게 B를 배정하는 모든 조합을 같은 확률로 선택한다고 합시다. 이것이 여기서의 완전 무작위 배정입니다. 잠재 결과는 고정하고 배정만 반복해서 바꾸는 관점입니다. 이름만 “랜덤”이라고 쓰는 것과 실제 절차가 이 설계를 따르는 것은 다릅니다.

각 사람이 A에 들어갈 확률은 nA/N입니다. 따라서 A 평균의 배정 반복 기대값은 전체 Y(1)의 평균이고, B 평균도 전체 Y(0)의 평균을 겨냥합니다. 두 평균 차이의 기대값은 τS입니다. 한 번의 실제 배정에서 두 집단의 특성이 정확히 같아진다는 주장은 아닙니다.

τ^=Y‾A−Y‾B,EZ(τ^)=τS\widehat\tau=\overline Y_A-\overline Y_B,\qquad E_Z(\widehat\tau)=\tau_S

설계·측정·행동 정의가 타당하고 모든 결과를 관측했다는 조건이 중요합니다. 참가 여부를 사후 결과에 따라 바꾸거나 일부 결과를 골라 버리면 원 배정 설계가 관측 평균에 그대로 적용되지 않을 수 있습니다. 컴퓨터가 배정 선언 문자열을 읽는 것만으로 그 과정을 확인할 수는 없습니다.

Suppose exactly nA of N people receive A, with nB receiving B, and all allocations of those sizes are equally likely. This is complete randomization here: potential outcomes stay fixed while assignment varies. A label saying random does not authenticate that procedure.

Each person has probability nA/N of entering A. Consequently the assignment expectation of its mean is the population mean of Y(1), and similarly for B and Y(0). The mean contrast is unbiased for τS. This does not mean exact covariate balance in every realized allocation.

τ^=Y‾A−Y‾B,EZ(τ^)=τS\widehat\tau=\overline Y_A-\overline Y_B,\qquad E_Z(\widehat\tau)=\tau_S

Valid assignment, measurements, action definitions and complete outcome observation matter. Selecting participants after seeing results or discarding selected outcomes can break the connection to the original design. A declared design string cannot verify this history.

대학원 연결Graduate bridge

Neyman 분산식의 알려진 항과 모르는 항Known and unidentified terms in Neyman variance

유한 집단에서 Y(1), Y(0), 개인 효과의 분산을 각각 S1²,S0²,Sτ²라고 하겠습니다. 모두 N−1로 나눈 유한 집단 분산입니다. 완전 무작위 배정에서 평균 차이의 분산에는 아래 세 항이 나타납니다. 마지막 항은 같은 사람의 두 잠재 결과를 함께 알아야 계산할 수 있어 일반적으로 식별되지 않습니다.

Var⁡Z(τ^)=S12nA+S02nB−Sτ2N,V^N=sA2nA+sB2nB\operatorname{Var}_Z(\widehat\tau)=\frac{S_1^2}{n_A}+\frac{S_0^2}{n_B}-\frac{S_\tau^2}{N},\qquad \widehat V_N=\frac{s_A^2}{n_A}+\frac{s_B^2}{n_B}

각 팔의 관측 표본 분산 s²는 팔 안 평균에서 벗어난 제곱을 n−1로 나눈 값입니다. 결과가 완전하고 단위 비중이며 각 팔에 둘 이상 있을 때 실습은 V̂N을 계산합니다. 진짜 무작위 설계 아래 그 기대값은 앞의 양의 두 항이며, Sτ²≥0이므로 참 배정 분산의 상한을 추정하는 방식입니다.

중요한 차이가 있습니다. V̂N의 기대값이 참 분산 이상이라는 것과 매번 계산한 V̂N이 반드시 참 분산보다 크다는 것은 다릅니다. 작은 실험에서 우연히 팔 안 값들이 비슷하면 V̂N은 작을 수 있습니다. 이 장은 이를 자동 정규 신뢰구간이나 실제 배정 인증으로 바꾸지 않습니다.

Let S1², S0² and Sτ² be finite-population variances of Y(1), Y(0) and individual effects, each using denominator N−1. Complete randomization yields the following variance. The final term generally cannot be identified because it needs both potential outcomes for the same people.

Var⁡Z(τ^)=S12nA+S02nB−Sτ2N,V^N=sA2nA+sB2nB\operatorname{Var}_Z(\widehat\tau)=\frac{S_1^2}{n_A}+\frac{S_0^2}{n_B}-\frac{S_\tau^2}{N},\qquad \widehat V_N=\frac{s_A^2}{n_A}+\frac{s_B^2}{n_B}

Within-arm sample variance divides squared deviations from that arm’s observed mean by n−1. The lab computes V̂N only for complete outcomes, unit weights and at least two records per arm under a declared design. Under the genuine design, its expectation equals the first two terms, estimating an upper bound because Sτ² is nonnegative.

An expectation above the true variance is not a realized-sample guarantee. Small samples can happen to show little within-arm spread and yield a small estimate. We do not automatically turn it into a normal interval or an authentication of assignment.

학부Undergraduate

결측·비중·작은 팔이 해석을 제한한다Missing outcomes, weights and small arms

A에 배정된 사람이 결과 확인을 거절했을 때 관측자 평균은 전체 배정자 평균과 달라질 수 있습니다. 결과가 없는 사람을 명단에서 지우면 문제를 숨기게 됩니다. 실습은 배정 행 수와 관측 양의 비중 행 수를 모두 남기고, 완전한 결과 조건이 없으면 위 Neyman 식을 미정의로 둡니다.

비중이 0인 행도 원래 배정 명단에는 존재합니다. 모든 비중 1이라는 조건을 깨므로 이 단순 설계식에 자동으로 넣지 않습니다. 비중을 쓴 실험 분석은 가능하지만 그 비중의 역할과 추정량·분산식을 새로 정당화해야 합니다. 단위 비중 공식을 이름만 바꾸어 쓸 수는 없습니다.

각 팔의 표본 분산에는 둘 이상이 필요합니다. A 한 명과 B 한 명이면 관측 평균 차이는 계산할 수 있어도 팔 안 분산은 알 수 없습니다. 빈 명단에서 “모든 결과 관측” 검사가 논리적으로 참이어도 실제 관측이 생기는 것은 아닙니다. 실습은 빈 틀을 별도로 표시하고 효과·분산을 미정의로 남깁니다.

If someone assigned to A has no observed outcome, the observed-person mean need not equal the mean for everyone assigned. Removing the person hides the issue. The lab retains allocated and positive observed counts and leaves the simple Neyman formula undefined without complete outcomes.

A zero-weight record still belongs to the assignment frame and violates the all-unit-weight condition. Weighted experimental analyses are possible, but require an estimator and variance justified for that role of weights. Renaming the unit-weight formula is insufficient.

Each within-arm sample variance requires at least two records. One A and one B allow a mean contrast without identifying within-arm variance. A vacuously true all-outcomes check on an empty list creates no observations. The lab marks the empty frame and keeps contrast and variance undefined.

학부Undergraduate

실습 · 선언한 실험과 관측 차이를 구분한다Lab: declared experiment and observed contrast

기본 가상 관측은 A 팔 [1,3], B 팔 [0,2]입니다. 우선 descriptive-only에서 평균 A=2,B=1,차이=1을 확인합니다. 같은 자료에서 완전 무작위 배정 선언을 켜면 sA²=sB²=2, V̂N=2/2+2/2=2가 나옵니다. 숫자를 바꾸지 않았는데 선언에 따라 분산 출력의 적용 범위가 달라지는 이유를 읽습니다.

다음에는 A의 첫 결과만 null로 바꾸세요. 평균은 관측 결과에 대한 기술 비교로 남지만 완전 틀 분산은 미정의가 됩니다. 원 예제로 되돌린 뒤 첫 비중을 2로 바꾸어 비단위 비중 조건을 확인합니다.

다시 원 예제로 되돌리고 팔마다 한 행만 남겨 보세요. 평균 차이와 분산의 가용성이 다릅니다. 마지막으로 모든 행을 비우면 빈 틀 표지가 나타납니다. 화면의 배정 선언은 실제 무작위 추첨 기록을 대신하지 않습니다. 이 예제의 숫자는 교육용이며 세 실제 원자료에서 개입을 관측한 것이 아닙니다.

The constructed observations are A=[1,3] and B=[0,2]. Start with descriptive-only: means are two and one, with contrast one. Declaring complete randomization permits the displayed formula sA²/2+sB²/2=2, since each sample variance is two. Read why the interpretation changes without changing the observations.

Make only the first A outcome null. The observed-outcome contrast can remain descriptive while complete-frame variance becomes undefined. Restore the example before changing the first weight to two.

Restore again and keep one record per arm: contrast and variance availability differ. Emptying the list displays an empty-frame flag. A screen declaration does not replace authentic random-allocation records. These are teaching numbers, not interventions observed in our native datasets.

학부Undergraduate

간섭·기간·맥락이 다른 일반화를 경계한다Interference, periods and generalization

친구에게 보낸 알림이 내 출석에도 영향을 주면 각 학생의 결과를 자기 배정에만 따르는 두 잠재 결과로 나타내는 틀이 부족할 수 있습니다. 할인 쿠폰이 동료에게 공유되거나 가게의 제한된 재고를 바꾸는 경우도 비슷합니다. 간섭을 막거나 배정 단위를 학급·점포로 바꾸는 설계는 질문과 유효 단위 수를 함께 바꿉니다.

한 달의 이탈 감소와 일 년의 이익 증가는 다른 결과입니다. 관측 기간을 보고 유리한 시점으로 계속 바꾸면 원래 정한 평가와 달라집니다. 시작·종료·목표 정의·누락 처리·관측 지연을 미리 기록하면 변경의 영향을 검토할 수 있습니다.

참가자 안에서 유효한 무작위 비교도 다른 국가·연령·업무 시스템으로 자동 전이되지 않습니다. 대상의 지지집합, 행동의 실제 실행, 비용과 제도 환경을 별도로 확인합니다. 반대로 실제 후향 자료가 있다는 이유만으로 무작위 실험이 없으면 아무것도 배울 수 없다는 뜻도 아닙니다. 기술 비교가 답하는 질문을 정확히 유지하면 됩니다.

A reminder sent to a friend can affect one’s own attendance. Shared coupons or inventory constraints can likewise create interference. Preventing it or randomizing classes or stores changes both the question and the effective assignment units.

One-month churn reduction differs from annual profit. Repeatedly changing the observation horizon to a favourable time alters the planned evaluation. Prestate start and end, target definitions, missingness handling and outcome delays.

A valid randomized comparison within participants does not automatically transfer across countries, ages or operating systems. Examine support, action delivery, costs and institutional context. Retrospective data still teach useful descriptive facts; preserve the question they actually answer.

학부Undergraduate

변경 전에 평가 계획을 짧게 써 둔다Write the change plan before seeing results

보고서는 일이 끝난 뒤 좋은 점수를 포장하는 종이가 아닙니다. 변경 전에 한 쪽 분량으로 “무엇을 바꾸고 무엇을 고정하며 어떤 증거로 판단할지” 적어 두면 사후 선택을 추적하기 쉬워집니다. 목적·대상·단위·비교 방향·결측 처리·기간·주요 지표를 포함합니다.

예측 변경이라면 같은 고정 시험 행의 손실 차이, 예측을 못 낸 행, 집단별 분모를 적습니다. 실제 행동 실험이라면 배정 단위·추첨 절차·두 행동·기간·간섭·분석 대상과 중단 규칙을 명시합니다. 행동 실험이라는 이름만으로 측정 누락과 잘못된 실행이 해결되지는 않습니다.

계획은 추가 탐색을 금지하는 약속이 아닙니다. 사전에 정한 질문과 결과를 본 뒤 생긴 질문을 구분하는 기록입니다. 새 가설·새 후보·새 임계값은 탐색으로 표시하고 후속 자료에서 검증할 계획을 세웁니다. 이 장의 마지막 보고서에서도 관측·계산·가정·미해결 과제를 따로 적습니다.

A report is not a wrapper for a favourable score after the event. A short pre-change plan records what will change, what stays frozen and which evidence informs the decision. Include purpose, frame, units, contrast direction, missingness, period and primary metrics.

For prediction changes specify same-record loss, prediction failures and subgroup denominators. For interventions specify allocation units and mechanism, actions, horizon, interference, analysis frame and stopping rules. An experiment label does not cure missing measurement or incorrect delivery.

A plan does not prohibit exploration. It distinguishes prior questions from those generated by results. Mark new hypotheses, candidates and thresholds as exploratory and plan further validation. The final report separately records observations, calculations, assumptions and unresolved work.

학부Undergraduate

실습 · 잔차와 오류 상태를 행별로 읽는다Lab: inspect residuals and row-level error states

가상 이진 예제의 정답은 [0,1], 점수는 [0,0]입니다. 임계값 1/2에서 첫 행은 맞고 둘째 행은 틀립니다. 실행하여 correct가 참·거짓으로 다르게 표시되는지 읽습니다. 둘째 정답만 null로 바꾸면 거짓 대신 미정의가 되어야 합니다. 정답을 모르는 것과 틀린 것을 구분하는 실습입니다.

원 예제로 되돌린 뒤 둘째 점수를 1로 바꾸면 오차가 없어집니다. 다음에는 회귀 모드에서 정답 [3,1], 예측 [1,3]을 넣습니다. 잔차 y−예측은 [2,−2]입니다. 평균 잔차 0이어도 각 제곱 손실은 4이며 정확한 예측이 아닙니다.

손실 문턱 4에서는 제곱 손실 4가 “초과”가 아닙니다. 문턱을 3으로 바꾸면 초과입니다. 이는 분류 확률 임계값과 다른 규칙입니다. 마지막으로 비중 0과 결측 예측을 각각 시험하고 어떤 행이 평균 분모에서 제외되었는지 확인합니다. 화면의 작은 소수는 읽기용이며 정확값과 미정의 사유를 함께 확인할 수 있어야 합니다.

The constructed binary default has labels [0,1] and scores [0,0]. At threshold one-half the first is correct and the second incorrect. Make only the second label null: false should become undefined. Not knowing the answer is different from getting it wrong.

Restore the example, then change the second score to one. Next use regression outcomes [3,1] and predictions [1,3]. Residuals y minus prediction are [2,−2]. Their mean is zero while each squared loss is four, so cancellation is not accuracy.

A squared loss of four does not strictly exceed a loss threshold of four; it does exceed three. This is different from the classification probability threshold. Finally test zero weight and missing predictions separately and inspect exclusions. Short decimal displays are reading approximations accompanied by exact values and undefined reasons.

학부Undergraduate

정확도·재현율·정밀도·순위가 묻는 질문Accuracy, recall, precision and ranking

이탈이 드문 자료에서 모든 고객을 “이탈 아님”으로 예측하면 전체 정확도가 높을 수 있습니다. 그러나 실제로 떠나는 사람을 한 명도 찾지 못했을 수 있습니다. TP·FP·TN·FN은 정답과 분류 결정을 함께 읽게 하는 네 칸입니다. 먼저 각 칸의 비중과 행 수를 확인합니다.

Recall+=TPTP+FN,Precision=TPTP+FP,Accuracy=TP+TNTP+FP+TN+FN\mathrm{Recall}_+=\frac{TP}{TP+FN},\quad \mathrm{Precision}=\frac{TP}{TP+FP},\quad \mathrm{Accuracy}=\frac{TP+TN}{TP+FP+TN+FN}

이진 Brier 손실은 점수와 라벨의 제곱 차이입니다. 임계값을 고르는 것과 달리 점수 자체를 평가합니다. AUROC는 양성·음성 한 쌍에서 양성 점수가 더 높은 비율에 동점 절반을 더한 순위 지표입니다. 점수 순위가 좋아도 1/2 임계값에서 양성 예측이 0개일 수 있습니다.

정답 [0,1], 점수 [0.2,0.4]는 순위가 맞아 AUC=1입니다. 그러나 임계값 1/2에서는 둘 다 음성으로 분류하여 양성 재현율 0, 정확도 1/2, 정밀도 미정의입니다. 임계값·비용·확률 보정·순위를 같은 성능 단어 하나로 뭉치지 않습니다.

Predicting no churn for everyone can give high overall accuracy when churn is uncommon while finding nobody who actually leaves. TP, FP, TN and FN connect decisions with observed labels. Read both weight mass and record counts in each cell.

Recall+=TPTP+FN,Precision=TPTP+FP,Accuracy=TP+TNTP+FP+TN+FN\mathrm{Recall}_+=\frac{TP}{TP+FN},\quad \mathrm{Precision}=\frac{TP}{TP+FP},\quad \mathrm{Accuracy}=\frac{TP+TN}{TP+FP+TN+FN}

Brier loss evaluates the squared distance between a score and a binary label without choosing a decision threshold. AUROC is the fraction of positive-negative pairs ranked correctly, with half credit for ties. Good ranking can coexist with no positive decisions at one-half.

Labels [0,1] and scores [0.2,0.4] give AUC one. At threshold one-half both are negative, producing positive recall zero, accuracy one-half and undefined precision. Threshold choice, costs, calibration and ranking answer distinct questions.

학부Undergraduate

집단별 오류 옆에 대상과 분모를 적는다Pair subgroup errors with their frames

한 반의 평균만 보면 특정 학생이 계속 어려움을 겪는지 놓칠 수 있습니다. 모형도 전체 MSE와 함께 미리 정한 집단별 오류를 살펴볼 가치가 있습니다. 다만 집단에 누가 들어가고 정답이 얼마나 있는지 먼저 확인해야 합니다. 채점 행이 1개인 집단과 100개인 집단의 차이를 같은 확실성으로 읽지 않습니다.

집단의 관측 평균이 다른 이유는 목표 분포·특징·측정·결측·학습 표현·우연 등 여럿일 수 있습니다. 평균 차이를 본 것만으로 차별의 원인이나 업무 개입 효과가 확인되지는 않습니다. 집단 이름에 민감 속성이 없다는 사실도 공정성을 입증하지 않습니다.

실제 사례의 red·white, NLS 교육 구간, 고객 요금제 코호트는 기록된 특징에 따른 기술 집단입니다. 인증된 보호 집단 전부를 나타내거나 법적 기준을 검증한 것이 아닙니다. 집단을 사후에 많이 나누어 가장 큰 차이만 보이면 탐색 선택도 추가됩니다. 사전 집단과 사후 탐색을 구분해 보고하세요.

A class mean can hide pupils who repeatedly struggle. Similarly, inspect prespecified subgroup errors alongside overall MSE, starting with membership and label availability. A one-record subgroup and a hundred-record subgroup do not offer equal evidential precision.

Observed differences can reflect target distributions, features, measurement, missingness, representation or chance. A mean gap alone does not identify a discriminatory cause or an intervention effect. Omitting sensitive attribute names also does not establish fairness.

Red and white wine, schooling groups and recorded tariff cohorts are descriptive partitions. They do not cover every protected population or verify legal criteria. Searching many groups and highlighting the largest gap adds exploratory selection. Separate prespecified groups from post-result exploration.

학부Undergraduate

0·거짓·미정의·아주 작은 수를 구분한다Distinguish zero, false, undefined and tiny values

오차 0은 평가한 예측이 정답과 같았다는 수치입니다. 맞힘 상태 거짓은 평가한 분류가 틀렸다는 논리 값입니다. 정답 없음은 맞혔는지 평가하지 못했다는 미정의입니다. 이 셋을 화면에 같은 “아니요”나 숫자 0으로 쓰면 실패를 오해하게 됩니다.

아주 작은 양수도 정확한 0과 다릅니다. 예측 오차가 10의 −200승이면 제곱 손실은 10의 −400승입니다. 일반 소수 표시에서 0으로 반올림될 수 있어도 정확 산술에서는 양수입니다. 매우 큰 값이 표시 범위를 넘는 경우도 결측·0으로 바꾸지 않고 범위 초과 표지를 남깁니다.

숫자 1로 반올림된 확률·손실과 정확한 1도 구분합니다. 비교 문턱을 표시 소수로 다시 계산하면 경계에서 다른 결정을 내릴 수 있습니다. 실습은 정확 분수로 비교하고, 짧은 근사·정확값 펼치기·미정의 사유를 나누어 보여줍니다. 정확 산술도 잘못 측정한 정답이나 잘못된 설계를 고쳐 주지는 않습니다.

Zero error is a numeric result on an evaluated prediction. False correctness means an evaluated classification was wrong. A missing label makes correctness undefined. Rendering all three as no or zero misrepresents failure.

A tiny positive number also differs from exact zero. An error of ten to minus two hundred has squared loss ten to minus four hundred. Ordinary decimal display can round it to zero while the exact value remains positive. Values exceeding display range likewise need overflow flags rather than invented missingness or zeros.

A rounded display of one differs from exact one. Recomputing decisions from displayed decimals can change boundary outcomes. The lab compares exact fractions and separates short approximations, expandable exact values and undefined reasons. Exact arithmetic still cannot repair measurement or design errors.

학부Undergraduate

오류 패턴에서 원인 가설로 한 단계씩 간다Move from error patterns to causal hypotheses

병원 대기 시간이 긴 날 불만도 많다고 해서 안내 문구가 불만의 유일한 원인이라고 단정할 수 없습니다. 붐비는 시간·환자 구성·인력·측정 방식이 함께 변할 수 있습니다. 모형 오류도 “어디에 많다”와 “왜 생겼다”를 나누어 분석합니다.

먼저 원행을 되찾아 단위·연결·목표 정의·결측·변환·버전을 확인합니다. 다음으로 특정 값 범위나 집단에서 오류가 집중되는지 요약합니다. 그 뒤 가능한 원인 가설과 그 가설을 구분할 관측·실험을 제안합니다. 손실이 큰 행을 원인이라고 부르거나, 상관이 큰 특징을 곧바로 제거하는 결론으로 뛰지 않습니다.

가설에 맞는 조치를 선택하더라도 부작용과 새 대상을 고려해야 합니다. 측정 오류를 고치는 조치, 특징을 추가해 예측을 바꾸는 조치, 실제 고객 행동을 바꾸는 조치는 서로 다른 검증이 필요합니다. 실패 보고서에는 현재 증거가 지지하는 진단 단계까지와 다음 확인 단계를 명시합니다.

High complaints on long-wait hospital days do not establish that signage is the sole cause. Crowding, patients, staff and measurement can change together. Separate where model error concentrates from why it occurs.

First recover native records and check units, linkage, outcome definitions, missingness, transformations and version. Then summarize concentration across ranges and groups. Propose hypotheses and observations or experiments that discriminate among them. A high-loss record is not itself a cause, and correlated features need not be removed automatically.

A plausible remedy can introduce side effects or change the target population. Correcting measurement, adding predictive features and changing customer behaviour require different validation. State the diagnostic stage supported by current evidence and the next verification step.

학부Undergraduate

실습 · 실패·미확인·검토 준비를 나눈다Lab: failure, unknown and review readiness

체크리스트의 기본 필수 항목은 자료·분할·평가·한계입니다. 모두 참으로 적으면 문서 검토 준비 상태가 됩니다. 이 값들은 사용자가 제공한 선언이며 계산기가 실제 문서를 심사하거나 서비스를 배포한 것은 아닙니다. 먼저 평가 항목만 false로 바꾸어 blocked를 확인합니다.

원 예제로 되돌린 뒤 평가를 null로 바꿉니다. 실패라고 확인한 것과 아직 모르는 것은 다르므로 needs-evidence가 됩니다. 그 다음 선택 항목 하나를 false로 추가하면 필수 항목이 모두 참일 때 revise가 됩니다. 미확인 선택 항목은 별도로 집계하지만 자동 필수 차단으로 바꾸지 않습니다.

원 예제로 되돌린 뒤 필수 평가 항목에 critical=false를 적어 보세요. 필수 목록에 남아 있으므로 여전히 필수입니다. 필수 ID와 항목을 모두 비우면 “아무 문제가 없음”이 아니라 빈 체크리스트이며 needs-evidence입니다. 실제 사례에는 현장 운영 검증이 미확인이라는 필수 추가 항목을 두어 계산 성적표와 운영 판단을 나눕니다.

The default required items concern data, split, evaluation and limitations. Setting all to true yields readiness for documentation review. These are caller declarations, not authenticated document review or an external deployment. Set only evaluation to false and inspect blocked.

Restore the example, then set evaluation to null. A known failure differs from an unknown, producing needs-evidence. With required items true, add an optional false item and inspect revise. Unknown optional items are counted separately rather than automatically treated as critical failures.

Restore again and set critical=false on the required evaluation item: membership in the required list still makes it critical. Emptying both required IDs and items gives an empty checklist needing evidence. The factual examples add unknown prospective operational validation as critical, separating a scorecard from an operational decision.

학부Undergraduate

세 값 논리와 판단 우선순위를 명시한다State three-valued evidence and precedence

청소 점검에서 “불합격”과 “아직 점검하지 않음”은 다릅니다. 불합격이면 문제를 고쳐야 하고 미점검이면 먼저 확인해야 합니다. 체크리스트도 true·false·null을 분리하면 후속 행동이 명확해집니다.

이 실습의 우선순위는 알려진 필수 실패, 필수 미확인, 선택 실패, 문서 검토 준비입니다. 필수 실패와 미확인이 동시에 있어도 확인된 실패를 숨기지 않습니다. 반대로 미확인을 모두 실패라고 부르면 실제로 관측한 문제와 추가 정보 필요를 구분할 수 없습니다.

선언한 체크리스트의 결정 규칙
상태결과다음 작업
필수 false 존재blocked확인한 문제 수정
필수 null 존재needs-evidence누락 근거 확인
선택 false만 존재revise보고서 보완
비어 있지 않고 위 문제 없음documented-ready-for-review사람의 문서 검토
전체 항목 없음needs-evidence검토 대상부터 정의

이 상태 전이는 증거를 다루는 교육용 규칙이지 법·윤리·안전 평가의 보편 공식이 아닙니다. 실제 조직은 대상·중요도·책임·추가 검토를 구체적으로 정해야 합니다. 문서 준비 상태와 외부 시스템의 배포 버튼은 연결하지 않습니다.

A failed cleaning inspection differs from an inspection not yet performed. The former calls for repair; the latter for evidence collection. A true/false/null checklist makes these follow-ups distinct.

The lab gives priority to known critical failure, then unknown critical evidence, then optional failure, then documentation readiness. A known failure is not hidden by simultaneous unknowns. Treating every unknown as a proven failure would also obscure what was actually observed.

Declared checklist decision rule
StateResultNext work
Any required falseblockedRepair a known issue
Any required nullneeds-evidenceCollect missing evidence
Only optional falsereviseImprove documentation
Nonempty, none abovedocumented-ready-for-reviewHuman documentation review
No items at allneeds-evidenceDefine the review frame

This is a teaching rule for evidence handling, not a universal legal, ethical or safety formula. Organizations need specific scope, responsibilities and further review. Documentation readiness is not connected to an external deployment action.

학부Undergraduate

실패 보고서를 재현 가능한 작업 계획으로 쓴다Turn a failure memo into reproducible next work

“성능이 나쁘다. 고치자”라는 메모는 다음 사람이 무엇을 확인해야 하는지 알려주지 못합니다. 어떤 버전에서 어떤 행·단위·집단·기간을 평가했는지, 비교 방향과 손실은 무엇인지, 누락과 미정의가 있는지를 먼저 적습니다. 원행 ID와 계산 파일을 연결하면 다른 사람이 같은 문제를 찾을 수 있습니다.

그 다음 관측 사실, 해석, 원인 가설, 제안 조치, 추가 검증을 구분합니다. 예를 들어 “임계값 1/2에서 이탈 양성 132개를 모두 놓쳤다”는 관측입니다. “고객 지원이 실패했다”는 주장은 업무 과정에 관한 추가 증거가 필요합니다. 임계값을 낮추면 관측 재현율이 늘 수 있지만 비용·오경보·새 검증을 함께 검토해야 합니다.

마지막에는 멈출 이유와 다시 검토할 조건도 씁니다. 현장 기록이 없으면 그 조건을 미확인으로 남깁니다. 모든 문제를 한 번에 해결했다고 선언하기보다 가장 근거가 분명한 다음 실험·측정·문서 보완을 선택하세요. 읽는 사람은 어디까지 재현했고 어디가 가정인지 찾을 수 있어야 합니다.

“Performance is poor; fix it” gives little guidance. Record version, rows, units, groups and period, contrast direction and loss, exclusions and undefined metrics. Native IDs and calculation files allow another person to find the same problem.

Separate observations, interpretation, causal hypotheses, proposed remedies and further verification. “All 132 observed positives were missed at threshold one-half” is an observation. “Customer support failed” needs operational evidence. Lowering a threshold can improve observed recall while changing false alarms, costs and validation needs.

State reasons to pause and conditions for review. Missing field logs remain unknown. Choose a well-supported next measurement, experiment or documentation improvement instead of declaring every problem solved. A reader should locate both reproduced findings and assumptions.

학부Undergraduate

국가·산업 맥락 사례 · 포르투갈 와인 카드Country and industry context: a Portuguese wine card

첫 사례는 포르투갈 와인 품질 원자료입니다. 국가별 6,497개 관측이 아니라 red 1,599개와 white 4,898개 와인 기록을 합친 산업 맥락 자료입니다. 실제 병의 고유 ID·생산 시점·생산자별 실험 배정은 제공되지 않습니다. 원 화학 특징 11개와 선언한 red 지시자를 쓰고 원 순서형 품질 점수에 제곱 손실을 적용하는 평가 관례를 명시합니다.

카드의 용도는 동결된 예측 규칙의 교육용 비교입니다. 훈련 3,255개·검증 1,628개·시험 1,614개이며 같은 특징 지문은 같은 분할에 둡니다. 원 기록과 모든 특징은 보존합니다. 지문은 중복과 분할을 추적하는 규칙이며 같은 병이나 독립 병 표본임을 인증하지 않습니다.

동결 A의 시험 MSE는 약 0.56653931, 훈련 평균 B는 약 0.77056225입니다. 같은 1,614개에서 A−B는 약 −0.20402294입니다. 이 범위에서 A의 제곱 손실이 낮다는 결과이며 실제 와이너리의 출하·가격·소비자 만족을 개선했다는 개입 증거는 아닙니다.

시험 red 384개와 white 1,230개의 MSE도 함께 읽습니다. 두 평균이 다른 이유에는 점수 분포·특징·측정·학습 표현 등이 있을 수 있습니다. “white 생산 공정이 원인” 같은 결론을 붙이지 않습니다. 아래 원표·그림·원자료 링크에서 분모와 원행을 함께 확인하세요.

관측 값·고정 예측·계산 요약을 연결한 실제 사례다. 개입 배정이나 실제 운영 성과를 새로 관측한 자료가 아니다. 짧은 표시값과 전체 정확값·원자료를 함께 보존한다.

핵심 모델 카드
항목내용
목표·대상포르투갈 와인 원 품질 점수 · 국가별 행이 아님
고정 모형이전 검증 선택 릿지 λ=1/100 · 훈련 변환 고정
의도한 용도같은 원행의 교육용 예측 비교
원자료·한계원 병 ID·생산 시점·생산자 개입 배정 없음
주요 관측같은 시험 1,614개에서 A의 평균 제곱 손실이 B보다 낮음
미확인실제 출하·가격·소비자 만족·현장 운영 효과
분모 장부
대상행 수
원자료6497
적격6497
훈련3255
검증1628
예정 시험1614
채점 시험1614
전체 원 목표 결측0
양의 공통 묶음1330
같은 채점 행의 변경 비교
지표근사값채점 행단위
A 평균 제곱 손실0.566539311614원 품질 점수의 2제곱
B 평균 제곱 손실0.770562251614원 품질 점수의 2제곱
평균 차이 A−B-0.204022941614원 품질 점수의 2제곱
삭제값 평균-0.204022941614원 품질 점수의 2제곱
실제 삭제 VJ0.000218075251614원 품질 점수의 4제곱
전체 채점 프레임의 실패 지표
지표근사값행 수
MSE0.566539311614
MAE0.584475431614
R²0.264580071614
평균 잔차-0.020369341614
기술 집단별 MSE
원 집단MSE채점 행
red0.41650513384
white0.613379251230
예정 시험 앞 8행 · 무작위 대표 표본이 아님
원행 ID원 목표ABA−B 손실상태
wine-red-row:465.67911365.8251920.072410251test
wine-red-row:655.29387525.825192-0.59457921test
wine-red-row:755.30050165.825192-0.59064066test
wine-red-row:1775.9055735.825192-0.18240345test
wine-red-row:2455.36454545.825192-0.54804851test
wine-red-row:3465.40777975.8251920.32016701test
wine-red-row:3765.66052755.8251920.084683736test
wine-red-row:4855.61152135.825192-0.30698356test

음의 손실 차이는 A에 유리하다. 삭제값과 Δ의 단위는 결과 단위의 제곱, VJ는 4제곱이다. VJ만으로 신뢰구간·독립성·배포 적합성을 보장하지 않는다. 미정의 지표는 0으로 대체하지 않는다.

동결된 A와 B의 같은 행 손실

원 목표를 관측한 고정 시험 행. A는 이전 선택 릿지, B는 이전 훈련 평균. 개입 효과가 아니다.

동결된 A와 B의 같은 행 손실
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
동결된 A와 B의 같은 행 손실
순서원행·집단·분위수값
1A frozen ridge0.56653931
2B frozen constant0.77056225

집단별 MSE와 관측 범위

원 집단과 채점 분모에 조건부인 기술 평균이다. 집단 차이가 원인이나 공정성을 인증하지 않는다.

집단별 MSE와 관측 범위
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
집단별 MSE와 관측 범위
순서원행·집단·분위수값
1red0.41650513
2white0.61337925

절대 손실 차이가 큰 20개 원행

공통 채점 행에서 절대 A−B가 큰 순서, 동률은 원행 ID 순서다. 음수는 A에 유리하다. 전형적 무작위 표본이 아니다.

절대 손실 차이가 큰 20개 원행
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
절대 손실 차이가 큰 20개 원행
순서원행·집단·분위수값
1wine-red-row:691-3.2822904
2wine-red-row:589-2.9056087
3wine-red-row:1479-2.7080685
4wine-white-row:443-2.6733933
5wine-white-row:37372.6527139
6wine-white-row:2874-2.5274194
7wine-red-row:900-2.4859007
8wine-white-row:4788-2.3948364
9wine-white-row:3264-2.3329967
10wine-white-row:3477-2.2109533
11wine-white-row:3485-2.2109533
12wine-white-row:3474-2.1877537
13wine-white-row:3481-2.1877537
14wine-white-row:3063-2.1066521
15wine-white-row:3071-2.1066521
16wine-white-row:1952-2.0968824
17wine-white-row:3379-2.094972
18wine-white-row:3387-2.094972
19wine-white-row:5272.0849717
20wine-white-row:3266-2.084057

실제 묶음 삭제값의 경험적 분위수

정렬한 실제 삭제값에서 floor(p·(G−1)) 위치를 사용한다. 보간하지 않으며 이 분위수는 신뢰구간이 아니다.

실제 묶음 삭제값의 경험적 분위수
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
실제 묶음 삭제값의 경험적 분위수
순서원행·집단·분위수값
1min-0.20647206
25%-0.20450281
325%-0.20420502
450%-0.2041321
575%-0.20383247
695%-0.20340373
7max-0.20153295

모든 원행의 예측·손실 · 모든 실제 삭제값 · 카드 근거 · 모든 그림 좌표 · Python 전체 코드 · R 전체 코드 · 동결 파라미터 · 출처·단위·범위

This is Portuguese wine-quality data, not 6,497 countries. It combines 1,599 red and 4,898 white records without authenticated bottle IDs, production chronology or producer-level randomized actions. We use eleven native chemical predictors plus a declared red indicator, and explicitly treat the native ordinal score with squared loss.

The card supports an educational frozen-rule comparison. Training, validation and test contain 3,255, 1,628 and 1,614 records; identical predictor fingerprints stay in one partition. All native features and records remain. Fingerprints track a computational grouping rather than authenticating bottles or independent sampling.

A’s test MSE is approximately 0.56653931 versus 0.77056225 for training-mean B. Their same-record contrast is approximately −0.20402294 on 1,614 records. This supports lower observed squared loss for A, not an intervention improving shipment, prices or consumer satisfaction.

Read the 384 red and 1,230 white test-record risks with their denominators. Differences can reflect score distributions, features, measurement and representation. They do not establish a production-process cause. The tables, figures and source links connect each summary with its native frame.

This factual case links native values, frozen predictions and computed summaries. It adds no observed intervention assignments or field operating outcomes. Short displays accompany complete exact values and native data.

Core model card
FieldDeclared content
Target and frameNative Portuguese wine-quality score; records are not countries
Frozen modelPrior validation-selected ridge lambda 1/100; training transforms fixed
Intended useEducational same-record predictive comparison
Data limitsNo authenticated bottle IDs, production dates or producer interventions
Observed findingLower A mean squared loss on the same 1,614 test records
UnknownShipment, prices, satisfaction and field operating effects
Denominator ledger
FrameRecords
Native records6497
Eligible records6497
Training3255
Validation1628
Planned test1614
Scored test1614
Native missing target0
Positive complete groups1330
Change comparison on the same scored records
MetricApproximationScored rowsUnit
A mean squared loss0.566539311614native quality-score units squared
B mean squared loss0.770562251614native quality-score units squared
Mean difference A minus B-0.204022941614native quality-score units squared
Mean deletion estimate-0.204022941614native quality-score units squared
Actual deletion VJ0.000218075251614native quality-score units to fourth power
Failure metrics on the complete scored frame
MetricApproximationRecords
MSE0.566539311614
MAE0.584475431614
R²0.264580071614
Mean residual-0.020369341614
Descriptive subgroup MSE
Recorded cohortMSEScored rows
red0.41650513384
white0.613379251230
First eight planned-test records; not a representative random sample
Source IDNative targetABA−B lossState
wine-red-row:465.67911365.8251920.072410251test
wine-red-row:655.29387525.825192-0.59457921test
wine-red-row:755.30050165.825192-0.59064066test
wine-red-row:1775.9055735.825192-0.18240345test
wine-red-row:2455.36454545.825192-0.54804851test
wine-red-row:3465.40777975.8251920.32016701test
wine-red-row:3765.66052755.8251920.084683736test
wine-red-row:4855.61152135.825192-0.30698356test

Negative loss contrast favours A. Delta and leave-out estimates have squared outcome units; VJ has outcome units to the fourth power. VJ alone certifies neither an interval, independence nor deployment suitability. Undefined metrics are not replaced by zero.

Same-record loss of frozen A and B

Frozen observed-target test records. A is the prior selected ridge; B the prior training mean. Not an intervention effect.

Same-record loss of frozen A and B
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Same-record loss of frozen A and B
OrderSource/cohort/quantileValue
1A frozen ridge0.56653931
2B frozen constant0.77056225

Subgroup MSE within the observed frame

Descriptive means conditional on recorded cohorts and scoring denominators; gaps identify neither causes nor fairness.

Subgroup MSE within the observed frame
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Subgroup MSE within the observed frame
OrderSource/cohort/quantileValue
1red0.41650513
2white0.61337925

Twenty largest absolute loss differences

Common scored records ordered by absolute A-minus-B, ties by native ID. Negative favours A. This is not a representative random sample.

Twenty largest absolute loss differences
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Twenty largest absolute loss differences
OrderSource/cohort/quantileValue
1wine-red-row:691-3.2822904
2wine-red-row:589-2.9056087
3wine-red-row:1479-2.7080685
4wine-white-row:443-2.6733933
5wine-white-row:37372.6527139
6wine-white-row:2874-2.5274194
7wine-red-row:900-2.4859007
8wine-white-row:4788-2.3948364
9wine-white-row:3264-2.3329967
10wine-white-row:3477-2.2109533
11wine-white-row:3485-2.2109533
12wine-white-row:3474-2.1877537
13wine-white-row:3481-2.1877537
14wine-white-row:3063-2.1066521
15wine-white-row:3071-2.1066521
16wine-white-row:1952-2.0968824
17wine-white-row:3379-2.094972
18wine-white-row:3387-2.094972
19wine-white-row:5272.0849717
20wine-white-row:3266-2.084057

Empirical quantiles of actual group deletions

Select floor(p·(G−1)) from ordered actual deletion estimates without interpolation. These quantiles are not confidence intervals.

Empirical quantiles of actual group deletions
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Empirical quantiles of actual group deletions
OrderSource/cohort/quantileValue
1min-0.20647206
25%-0.20450281
325%-0.20420502
450%-0.2041321
575%-0.20383247
695%-0.20340373
7max-0.20153295

Every native prediction and loss · Every actual deletion · Card evidence · Every figure coordinate · Complete Python code · Complete R code · Frozen parameters · Sources, units and scope

학부Undergraduate

개인 사례 · 로그 임금 카드와 결측 대상Individual case: log wages and missing targets

두 번째 카드는 Card의 대학 근접성 자료에 들어 있는 NLS 남성 3,613개 원기록을 사용합니다. 목표는 lwage76, 특징은 ed76와 age76입니다. 원 코드북과 SAS 읽기 순서, 52개 원 변수와 원 ID를 보존합니다. 이 장은 교육을 바꾸는 실험이나 근접성 도구변수 효과를 새로 추정하지 않습니다.

원 목표 결측 603개를 0으로 채우지 않습니다. 완전 목표·특징의 적격 행은 3,010개이고 원 특징 기반 분할의 예정 시험은 904개, 채점 시험은 745개입니다. 채점 시험 안에서 교육 12년 이하 361개와 초과 384개의 기술 오차를 요약합니다. 이 분할은 남성·당시 자료의 관측 범위를 넓혀 주지는 않습니다.

같은 745개에서 A MSE는 약 0.16116601, B는 약 0.18945395, A−B는 약 −0.02828793입니다. 단위는 원 로그 시급의 제곱입니다. 이것을 달러 절감이나 대학 진학 수익으로 바꾸지 않습니다. 결측 시험 159개의 손실도 관측 결과만으로 알 수 없습니다.

보고서의 다음 작업은 예측을 개선할 특징만 찾는 것으로 끝나지 않습니다. 목표 결측의 범위, 표본 설계, 현대 대상과의 차이, 실제 사용 목적을 확인해야 합니다. 관측한 집단별 MSE가 다르다는 이유만으로 교육 수준이 오류를 유발했다고 단정하지 않습니다.

관측 값·고정 예측·계산 요약을 연결한 실제 사례다. 개입 배정이나 실제 운영 성과를 새로 관측한 자료가 아니다. 짧은 표시값과 전체 정확값·원자료를 함께 보존한다.

핵심 모델 카드
항목내용
목표·대상1976년 남성 NLS의 원 로그 시급
고정 모형교육·나이 특징의 이전 릿지와 훈련 평균 상수
의도한 용도관측 목표가 있는 고정 시험의 기술 비교
원자료·한계전체 목표 결측 603개 · 예정 시험 결측 159개
주요 관측같은 채점 745개에서 A의 제곱 손실이 B보다 낮음
미확인결측 손실·현재 전체 근로자·교육의 개입 수익
분모 장부
대상행 수
원자료3613
적격3010
훈련1520
검증745
예정 시험904
채점 시험745
전체 원 목표 결측603
양의 공통 묶음745
같은 채점 행의 변경 비교
지표근사값채점 행단위
A 평균 제곱 손실0.16116601745원 로그 시급의 2제곱
B 평균 제곱 손실0.18945395745원 로그 시급의 2제곱
평균 차이 A−B-0.028287932745원 로그 시급의 2제곱
삭제값 평균-0.028287932745원 로그 시급의 2제곱
실제 삭제 VJ2.6627624e-05745원 로그 시급의 4제곱
전체 채점 프레임의 실패 지표
지표근사값행 수
MSE0.16116601745
MAE0.32297796745
R²0.14807964745
평균 잔차0.020544929745
기술 집단별 MSE
원 집단MSE채점 행
schooling-at-most120.16784047361
schooling-over120.15489133384
예정 시험 앞 8행 · 무작위 대표 표본이 아님
원행 ID원 목표ABA−B 손실상태
nls-row:45.52146096.12343936.2540026-0.17423932test
nls-row:56.59167376.44232536.2540026-0.09171685test
nls-row:125.99146456.12180626.2540026-0.051937275test
nls-row:165.70378256.118546.2540026-0.1307184test
nls-row:17미정의 / 없음6.40389356.2540026미정의 / 없음excluded
nls-row:196.48920496.31886446.2540026-0.026304248test
nls-row:21미정의 / 없음6.08500756.2540026미정의 / 없음excluded
nls-row:266.40357426.2019366.25400260.018286311test

음의 손실 차이는 A에 유리하다. 삭제값과 Δ의 단위는 결과 단위의 제곱, VJ는 4제곱이다. VJ만으로 신뢰구간·독립성·배포 적합성을 보장하지 않는다. 미정의 지표는 0으로 대체하지 않는다.

동결된 A와 B의 같은 행 손실

원 목표를 관측한 고정 시험 행. A는 이전 선택 릿지, B는 이전 훈련 평균. 개입 효과가 아니다.

동결된 A와 B의 같은 행 손실
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
동결된 A와 B의 같은 행 손실
순서원행·집단·분위수값
1A frozen ridge0.16116601
2B frozen constant0.18945395

집단별 MSE와 관측 범위

원 집단과 채점 분모에 조건부인 기술 평균이다. 집단 차이가 원인이나 공정성을 인증하지 않는다.

집단별 MSE와 관측 범위
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
집단별 MSE와 관측 범위
순서원행·집단·분위수값
1schooling-at-most120.16784047
2schooling-over120.15489133

절대 손실 차이가 큰 20개 원행

공통 채점 행에서 절대 A−B가 큰 순서, 동률은 원행 ID 순서다. 음수는 A에 유리하다. 전형적 무작위 표본이 아니다.

절대 손실 차이가 큰 20개 원행
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
절대 손실 차이가 큰 20개 원행
순서원행·집단·분위수값
1nls-row:407-0.84726802
2nls-row:2064-0.71228457
3nls-row:229-0.67891365
4nls-row:903-0.67891365
5nls-row:29-0.6541485
6nls-row:2507-0.63142861
7nls-row:3206-0.62916085
8nls-row:1840-0.6038197
9nls-row:291-0.52452404
10nls-row:1037-0.49122652
11nls-row:3436-0.46475346
12nls-row:503-0.46069667
13nls-row:16890.45884371
14nls-row:3007-0.44509441
15nls-row:18790.44188885
16nls-row:35200.43458735
17nls-row:26570.43179138
18nls-row:940-0.41477452
19nls-row:2472-0.38967982
20nls-row:2198-0.3870271

실제 묶음 삭제값의 경험적 분위수

정렬한 실제 삭제값에서 floor(p·(G−1)) 위치를 사용한다. 보간하지 않으며 이 분위수는 신뢰구간이 아니다.

실제 묶음 삭제값의 경험적 분위수
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
실제 묶음 삭제값의 경험적 분위수
순서원행·집단·분위수값
1min-0.028942679
25%-0.028548928
325%-0.028374416
450%-0.028312496
575%-0.028215469
695%-0.027973506
7max-0.027187153

모든 원행의 예측·손실 · 모든 실제 삭제값 · 카드 근거 · 모든 그림 좌표 · Python 전체 코드 · R 전체 코드 · 동결 파라미터 · 출처·단위·범위

The second card uses 3,613 native male NLS records from Card’s college-proximity data. The target is lwage76 with predictors ed76 and age76. Preserve codebook, SAS input order, all 52 native variables and original IDs. We estimate neither a new schooling experiment nor a proximity-instrument effect.

There are 603 missing native targets, not imputed zeros. Eligibility leaves 3,010 complete records, with 904 planned test records and 745 scored test records. The scored frame includes 361 with schooling at most twelve years and 384 above twelve. This partition does not generalize the male historical frame.

On the same 745 records, MSE is approximately 0.16116601 for A and 0.18945395 for B, with contrast −0.02828793. Units are squared native log-hourly wages, not dollars saved or college returns. The losses of 159 missing test targets are not revealed by observed results.

Follow-up concerns missingness, sampling, differences from contemporary populations and actual intended use, as well as predictive features. Descriptive subgroup MSE differences do not establish schooling as a cause of prediction error.

This factual case links native values, frozen predictions and computed summaries. It adds no observed intervention assignments or field operating outcomes. Short displays accompany complete exact values and native data.

Core model card
FieldDeclared content
Target and frameNative 1976 male NLS log-hourly wage
Frozen modelPrior schooling/age ridge and training-mean constant
Intended useDescriptive comparison on frozen observed-target test records
Data limits603 missing native targets; 159 missing planned-test targets
Observed findingLower A squared loss on the same 745 scored records
UnknownMissing losses, all current workers and causal schooling returns
Denominator ledger
FrameRecords
Native records3613
Eligible records3010
Training1520
Validation745
Planned test904
Scored test745
Native missing target603
Positive complete groups745
Change comparison on the same scored records
MetricApproximationScored rowsUnit
A mean squared loss0.16116601745native log-hourly-wage units squared
B mean squared loss0.18945395745native log-hourly-wage units squared
Mean difference A minus B-0.028287932745native log-hourly-wage units squared
Mean deletion estimate-0.028287932745native log-hourly-wage units squared
Actual deletion VJ2.6627624e-05745native log-hourly-wage units to fourth power
Failure metrics on the complete scored frame
MetricApproximationRecords
MSE0.16116601745
MAE0.32297796745
R²0.14807964745
Mean residual0.020544929745
Descriptive subgroup MSE
Recorded cohortMSEScored rows
schooling-at-most120.16784047361
schooling-over120.15489133384
First eight planned-test records; not a representative random sample
Source IDNative targetABA−B lossState
nls-row:45.52146096.12343936.2540026-0.17423932test
nls-row:56.59167376.44232536.2540026-0.09171685test
nls-row:125.99146456.12180626.2540026-0.051937275test
nls-row:165.70378256.118546.2540026-0.1307184test
nls-row:17Undefined / absent6.40389356.2540026Undefined / absentexcluded
nls-row:196.48920496.31886446.2540026-0.026304248test
nls-row:21Undefined / absent6.08500756.2540026Undefined / absentexcluded
nls-row:266.40357426.2019366.25400260.018286311test

Negative loss contrast favours A. Delta and leave-out estimates have squared outcome units; VJ has outcome units to the fourth power. VJ alone certifies neither an interval, independence nor deployment suitability. Undefined metrics are not replaced by zero.

Same-record loss of frozen A and B

Frozen observed-target test records. A is the prior selected ridge; B the prior training mean. Not an intervention effect.

Same-record loss of frozen A and B
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Same-record loss of frozen A and B
OrderSource/cohort/quantileValue
1A frozen ridge0.16116601
2B frozen constant0.18945395

Subgroup MSE within the observed frame

Descriptive means conditional on recorded cohorts and scoring denominators; gaps identify neither causes nor fairness.

Subgroup MSE within the observed frame
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Subgroup MSE within the observed frame
OrderSource/cohort/quantileValue
1schooling-at-most120.16784047
2schooling-over120.15489133

Twenty largest absolute loss differences

Common scored records ordered by absolute A-minus-B, ties by native ID. Negative favours A. This is not a representative random sample.

Twenty largest absolute loss differences
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Twenty largest absolute loss differences
OrderSource/cohort/quantileValue
1nls-row:407-0.84726802
2nls-row:2064-0.71228457
3nls-row:229-0.67891365
4nls-row:903-0.67891365
5nls-row:29-0.6541485
6nls-row:2507-0.63142861
7nls-row:3206-0.62916085
8nls-row:1840-0.6038197
9nls-row:291-0.52452404
10nls-row:1037-0.49122652
11nls-row:3436-0.46475346
12nls-row:503-0.46069667
13nls-row:16890.45884371
14nls-row:3007-0.44509441
15nls-row:18790.44188885
16nls-row:35200.43458735
17nls-row:26570.43179138
18nls-row:940-0.41477452
19nls-row:2472-0.38967982
20nls-row:2198-0.3870271

Empirical quantiles of actual group deletions

Select floor(p·(G−1)) from ordered actual deletion estimates without interpolation. These quantiles are not confidence intervals.

Empirical quantiles of actual group deletions
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Empirical quantiles of actual group deletions
OrderSource/cohort/quantileValue
1min-0.028942679
25%-0.028548928
325%-0.028374416
450%-0.028312496
575%-0.028215469
695%-0.027973506
7max-0.027187153

Every native prediction and loss · Every actual deletion · Card evidence · Every figure coordinate · Complete Python code · Complete R code · Frozen parameters · Sources, units and scope

학부Undergraduate

기업 사례 · 순위는 있으나 양성 결정은 없는 이탈 카드Company case: ranking without positive decisions

세 번째 카드는 이란 통신 이탈 원자료 3,150개입니다. 공식 설명의 첫 9개월 특징과 12개월 말 이탈 라벨을 구분하며 개인별 상세 날짜를 새로 만들어 넣지 않습니다. 원 14개 열을 모두 보존하고 동결 모형은 통화 실패·가입 기간·총 통화 초·나이를 특징으로 씁니다. 원 Charge Amount 코드 10인 7개 값도 보존하며 요금제 코드라고 바꾸지 않습니다.

고정 시험은 771개, 양성 132개·음성 639개입니다. A의 Brier 손실은 약 0.12441445로 B의 약 0.14213568보다 낮습니다. AUROC도 약 0.81541945입니다. 하지만 임계값 1/2에서는 TP=0,FP=0,TN=639,FN=132입니다. 순위나 평균 손실이 좋아졌다는 말이 양성 고객을 찾았다는 말과 다릅니다.

정확도는 639/771, 양성 재현율은 0, 음성 재현율은 1, 균형 정확도는 1/2, 정밀도는 미정의입니다. 이를 “약 83%를 맞혔으므로 운영 가능”이라고 축약하면 중요한 실패를 감춥니다. 임계값 탐색은 오경보·개입 비용·미접촉 비용과 새 검증을 함께 다뤄야 합니다.

원 관측에는 어떤 쿠폰을 무작위로 주었는지, 얼마나 이익이 늘었는지, 현장 고객 지원이 어떻게 작동했는지의 증거가 없습니다. 이 카드의 결론은 관측한 예측 성적과 명확한 미확인 영역입니다. 실제 유지 캠페인 효과나 공정한 자동 결정을 인증하지 않습니다.

관측 값·고정 예측·계산 요약을 연결한 실제 사례다. 개입 배정이나 실제 운영 성과를 새로 관측한 자료가 아니다. 짧은 표시값과 전체 정확값·원자료를 함께 보존한다.

핵심 모델 카드
항목내용
목표·대상이란 통신 원 이탈 라벨 0·1
고정 모형이전 릿지 점수를 [0,1]로 자름 · 임계값 1/2
의도한 용도고정 시험의 위험·순위·분류 실패 학습
원자료·한계개인별 운영 날짜·쿠폰 배정·캠페인 이익 없음
주요 관측위험·순위는 유용한 정보를 보이나 양성 재현율 0
미확인현장 유지 효과·적정 비용·전체 집단 공정성
분모 장부
대상행 수
원자료3150
적격3150
훈련1593
검증786
예정 시험771
채점 시험771
전체 원 목표 결측0
양의 공통 묶음709
같은 채점 행의 변경 비교
지표근사값채점 행단위
A 평균 제곱 손실0.12441445771이진 결과 · 무차원의 2제곱
B 평균 제곱 손실0.14213568771이진 결과 · 무차원의 2제곱
평균 차이 A−B-0.017721233771이진 결과 · 무차원의 2제곱
삭제값 평균-0.017721228771이진 결과 · 무차원의 2제곱
실제 삭제 VJ5.0647335e-06771이진 결과 · 무차원의 4제곱
전체 채점 프레임의 실패 지표
지표근사값행 수
MSE0.12441445771
MAE0.25265236771
R²0.12319142771
평균 잔차0.010582602771
정확도0.82879377771
양성 재현율0771
음성 재현율1771
정밀도미정의 / 없음771
균형 정확도0.5771
AUROC0.81541945771
기술 집단별 MSE
원 집단MSE채점 행
pay-as-you-go0.13244021705
contractual0.03868477666
예정 시험 앞 8행 · 무작위 대표 표본이 아님
원행 ID원 목표ABA−B 손실상태
customer-row:100.154397710.1556811-0.00039795324test
customer-row:600.186105690.15568110.010398723test
customer-row:800.0595018010.1556811-0.020696142test
customer-row:9000.1556811-0.024236606test
customer-row:1000.145209280.1556811-0.0031508707test
customer-row:1400.165673390.15568110.0032110652test
customer-row:2000.044824740.1556811-0.022227349test
customer-row:2200.0924498530.1556811-0.015689631test

음의 손실 차이는 A에 유리하다. 삭제값과 Δ의 단위는 결과 단위의 제곱, VJ는 4제곱이다. VJ만으로 신뢰구간·독립성·배포 적합성을 보장하지 않는다. 미정의 지표는 0으로 대체하지 않는다.

동결된 A와 B의 같은 행 손실

원 목표를 관측한 고정 시험 행. A는 이전 선택 릿지, B는 이전 훈련 평균. 개입 효과가 아니다.

동결된 A와 B의 같은 행 손실
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
동결된 A와 B의 같은 행 손실
순서원행·집단·분위수값
1A frozen ridge0.12441445
2B frozen constant0.14213568

집단별 MSE와 관측 범위

원 집단과 채점 분모에 조건부인 기술 평균이다. 집단 차이가 원인이나 공정성을 인증하지 않는다.

집단별 MSE와 관측 범위
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
집단별 MSE와 관측 범위
순서원행·집단·분위수값
1pay-as-you-go0.13244021
2contractual0.038684776

절대 손실 차이가 큰 20개 원행

공통 채점 행에서 절대 A−B가 큰 순서, 동률은 원행 ID 순서다. 음수는 A에 유리하다. 전형적 무작위 표본이 아니다.

절대 손실 차이가 큰 20개 원행
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
절대 손실 차이가 큰 20개 원행
순서원행·집단·분위수값
1customer-row:2973-0.30251347
2customer-row:2123-0.28512537
3customer-row:2673-0.2801825
4customer-row:873-0.2795327
5customer-row:2823-0.2773087
6customer-row:823-0.27091304
7customer-row:623-0.26411615
8customer-row:173-0.26193958
9customer-row:973-0.25905368
10customer-row:1323-0.25635984
11customer-row:1923-0.25329363
12customer-row:1123-0.25293695
13customer-row:523-0.25066003
14customer-row:1873-0.24707567
15customer-row:1073-0.23490279
16customer-row:2023-0.23490279
17customer-row:1623-0.2323777
18customer-row:1473-0.2295833
19customer-row:1823-0.22529179
20customer-row:2400-0.1625448

실제 묶음 삭제값의 경험적 분위수

정렬한 실제 삭제값에서 floor(p·(G−1)) 위치를 사용한다. 보간하지 않으며 이 분위수는 신뢰구간이 아니다.

실제 묶음 삭제값의 경험적 분위수
원본 벡터 · 클릭하여 확대 · SVG · PNG
그림의 모든 수치 · 정확값은 CSV에 보존
실제 묶음 삭제값의 경험적 분위수
순서원행·집단·분위수값
1min-0.018029096
25%-0.017796986
325%-0.017767661
450%-0.01773956
575%-0.017712772
695%-0.017563319
7max-0.017156392

모든 원행의 예측·손실 · 모든 실제 삭제값 · 카드 근거 · 모든 그림 좌표 · Python 전체 코드 · R 전체 코드 · 동결 파라미터 · 출처·단위·범위

The third card uses 3,150 Iranian telecom churn records. Preserve the source’s first-nine-month attributes and end-of-month-twelve labels without inventing individual event dates. All fourteen native columns remain; the frozen predictor uses call failures, subscription length, seconds of use and age. Seven native Charge Amount values of ten are preserved, not relabeled as tariff codes.

The frozen test contains 771 records: 132 positives and 639 negatives. A Brier loss of about 0.12441445 improves on B’s 0.14213568, with AUROC about 0.81541945. Yet threshold one-half gives TP=0, FP=0, TN=639 and FN=132. Ranking or mean-loss improvement does not imply finding positive customers.

Accuracy is 639/771, positive recall zero, negative recall one, balanced accuracy one-half and precision undefined. “About 83% accurate, therefore deployable” hides the failure. Threshold exploration needs false-alarm costs, intervention costs, missed-contact costs and further validation.

The native records provide no randomized coupon assignments, realized campaign profit or authenticated field-support process. The card reports observed prediction evidence and explicit unknowns, not a retention-effect or fairness certification.

This factual case links native values, frozen predictions and computed summaries. It adds no observed intervention assignments or field operating outcomes. Short displays accompany complete exact values and native data.

Core model card
FieldDeclared content
Target and frameNative Iranian telecom churn label 0/1
Frozen modelPrior ridge clipped to [0,1]; decision threshold 1/2
Intended useStudy risk, ranking and classification failure on fixed test
Data limitsNo individual serving dates, coupon assignment or campaign profits
Observed findingUseful risk/ranking information but zero positive recall
UnknownField retention effects, operating costs and all-group fairness
Denominator ledger
FrameRecords
Native records3150
Eligible records3150
Training1593
Validation786
Planned test771
Scored test771
Native missing target0
Positive complete groups709
Change comparison on the same scored records
MetricApproximationScored rowsUnit
A mean squared loss0.12441445771binary outcome; dimensionless squared
B mean squared loss0.14213568771binary outcome; dimensionless squared
Mean difference A minus B-0.017721233771binary outcome; dimensionless squared
Mean deletion estimate-0.017721228771binary outcome; dimensionless squared
Actual deletion VJ5.0647335e-06771binary outcome; dimensionless to fourth power
Failure metrics on the complete scored frame
MetricApproximationRecords
MSE0.12441445771
MAE0.25265236771
R²0.12319142771
Mean residual0.010582602771
Accuracy0.82879377771
Positive recall0771
Negative recall1771
PrecisionUndefined / absent771
Balanced accuracy0.5771
AUROC0.81541945771
Descriptive subgroup MSE
Recorded cohortMSEScored rows
pay-as-you-go0.13244021705
contractual0.03868477666
First eight planned-test records; not a representative random sample
Source IDNative targetABA−B lossState
customer-row:100.154397710.1556811-0.00039795324test
customer-row:600.186105690.15568110.010398723test
customer-row:800.0595018010.1556811-0.020696142test
customer-row:9000.1556811-0.024236606test
customer-row:1000.145209280.1556811-0.0031508707test
customer-row:1400.165673390.15568110.0032110652test
customer-row:2000.044824740.1556811-0.022227349test
customer-row:2200.0924498530.1556811-0.015689631test

Negative loss contrast favours A. Delta and leave-out estimates have squared outcome units; VJ has outcome units to the fourth power. VJ alone certifies neither an interval, independence nor deployment suitability. Undefined metrics are not replaced by zero.

Same-record loss of frozen A and B

Frozen observed-target test records. A is the prior selected ridge; B the prior training mean. Not an intervention effect.

Same-record loss of frozen A and B
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Same-record loss of frozen A and B
OrderSource/cohort/quantileValue
1A frozen ridge0.12441445
2B frozen constant0.14213568

Subgroup MSE within the observed frame

Descriptive means conditional on recorded cohorts and scoring denominators; gaps identify neither causes nor fairness.

Subgroup MSE within the observed frame
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Subgroup MSE within the observed frame
OrderSource/cohort/quantileValue
1pay-as-you-go0.13244021
2contractual0.038684776

Twenty largest absolute loss differences

Common scored records ordered by absolute A-minus-B, ties by native ID. Negative favours A. This is not a representative random sample.

Twenty largest absolute loss differences
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Twenty largest absolute loss differences
OrderSource/cohort/quantileValue
1customer-row:2973-0.30251347
2customer-row:2123-0.28512537
3customer-row:2673-0.2801825
4customer-row:873-0.2795327
5customer-row:2823-0.2773087
6customer-row:823-0.27091304
7customer-row:623-0.26411615
8customer-row:173-0.26193958
9customer-row:973-0.25905368
10customer-row:1323-0.25635984
11customer-row:1923-0.25329363
12customer-row:1123-0.25293695
13customer-row:523-0.25066003
14customer-row:1873-0.24707567
15customer-row:1073-0.23490279
16customer-row:2023-0.23490279
17customer-row:1623-0.2323777
18customer-row:1473-0.2295833
19customer-row:1823-0.22529179
20customer-row:2400-0.1625448

Empirical quantiles of actual group deletions

Select floor(p·(G−1)) from ordered actual deletion estimates without interpolation. These quantiles are not confidence intervals.

Empirical quantiles of actual group deletions
Original vector; activate to enlarge · SVG · PNG
All plotted values; exact values retained in CSV
Empirical quantiles of actual group deletions
OrderSource/cohort/quantileValue
1min-0.018029096
25%-0.017796986
325%-0.017767661
450%-0.01773956
575%-0.017712772
695%-0.017563319
7max-0.017156392

Every native prediction and loss · Every actual deletion · Card evidence · Every figure coordinate · Complete Python code · Complete R code · Frozen parameters · Sources, units and scope

학부Undergraduate

실습 · 실제 세 자료의 카드와 실패를 함께 읽는다Lab: read factual cards and failures together

자료 종류를 선택하고 실행하면 고정 원자료 전체에서 계산한 카드·같은 행의 A−B·집단별 실패가 나옵니다. 먼저 와인의 예정 시험과 채점 시험이 같은지, NLS에서 다른지 확인합니다. NLS의 원 목표 결측은 기록에 남아 있으며 없는 손실을 0으로 채점하지 않습니다.

이탈 자료의 기본 임계값 1/2에서 정밀도와 양성 재현율을 비교하세요. 다음에는 임계값만 0.2로 바꾸고 실행합니다. 분류 결정은 바뀔 수 있지만 A와 B의 제곱 손실 차이·Brier·AUC는 그대로입니다. 시험 라벨을 보며 바꾼 임계값을 새로운 미사용 검증 결과라고 부르지 않습니다.

원 임계값으로 되돌린 뒤 손실 초과 문턱을 정해 어떤 행이 그 기준을 넘는지 살펴봅니다. 원행 ID와 전체 CSV에서 값을 확인하고, 소수 근사와 정확 분수를 구분합니다. 큰 전체 결과는 페이지로 읽고 원문 전체를 다운로드할 수 있습니다. 계산을 취소하거나 자료를 바꾸면 이전 결과를 새 입력의 결과처럼 읽지 않도록 상태를 확인하세요.

Choose a dataset and run its card, same-record contrast and subgroup failures from the complete frozen native frame. Compare planned and scored test denominators: equal for wine, unequal for NLS. Missing NLS targets remain in records without zero-imputed losses.

For churn, compare undefined precision with zero positive recall at one-half. Then change only the threshold to 0.2 and run. Decisions may change while squared-loss contrast, Brier and AUC remain unchanged. Threshold exploration using test labels is not a fresh untouched validation.

Restore the original threshold before setting a squared-loss exceedance threshold. Trace selected records through native IDs and complete CSVs, distinguishing short approximations from exact values. Read large results in pages and download the complete text. Inspect cancellation and input-change states so old results are not read as results for new inputs.

학부Undergraduate

실제 원자료에서 Python과 R로 재현한다Reproduce from factual inputs in Python and R

재현은 그림을 다시 보여주는 것보다 넓습니다. 원자료를 읽고 특징·목표·분할을 재구성한 다음, 동결 파라미터로 예측하고 손실·삭제값·분모를 다시 계산해야 합니다. 공개 프로그램은 원 CSV 4개와 동결 파라미터 CSV를 입력으로 사용합니다. 이미 계산한 답 표나 웹 엔진을 불러와 정답으로 쓰지 않습니다.

Python은 표준 라이브러리의 정확 유리수로 계산합니다. R은 기본 수치형의 근사 계산을 명시하며, 원 숫자 토큰과 원파일을 함께 보존합니다. 정확값과 근사값의 대조에서는 작은 반올림 오차·결측·미정의를 구분합니다. 원 코드북의 변수 식별자는 번역된 설명과 별도로 유지합니다.

먼저 새 출력 폴더에서 전체 코드를 실행하고 행 수와 분모를 대조하세요. 다음으로 같은 행의 A−B와 실제 삭제 분산을 확인합니다. 마지막으로 그림 좌표와 원행 ID를 대조합니다. 라이브러리·실행 명령·원자료 출처·파일 지문·실패 사유를 기록하면 다른 컴퓨터에서도 재현 범위를 설명할 수 있습니다.

Reproduction means reading native inputs, rebuilding features, targets and roles, predicting with frozen parameters, and recomputing losses, deletions and denominators. Public programs use four factual CSVs and the frozen-parameter CSV. They do not use answer tables or the web engine as their numerical reference.

Python uses standard-library exact fractions. Base R explicitly uses approximate numeric arithmetic, with original tokens and files retained. Comparisons distinguish rounding error, missingness and undefined metrics. Keep native variable identifiers alongside translated explanations.

Run complete code into a fresh output directory. Check counts and denominators, then same-row contrasts and actual deletion variance, then figure coordinates and IDs. Record software, commands, provenance, fingerprints and failure reasons to describe reproducibility on another machine.

학부Undergraduate

세 카드를 같은 질문으로 비교한다Ask the same questions of all three cards

세 자료는 다른 목표와 단위이므로 MSE 크기를 서로 순위 매기지 않습니다. 대신 같은 질문을 던집니다. 무엇을 예측하는가? 누가 원자료에 있는가? 누구의 손실을 계산했는가? A와 B는 어떻게 고정했는가? 실패가 어떤 형태인가? 실제 사용에서 무엇을 아직 모르는가?

와인은 순서형 점수에 수치 손실을 적용한 관례와 실제 업무 비용의 차이를 보여줍니다. NLS는 목표 결측과 관측 남성의 역사적 범위를 보여줍니다. 이탈은 평균 위험·순위가 좋아도 선택한 임계값의 양성 탐지가 실패할 수 있음을 보여줍니다. 자료의 약점을 감추지 않을 때 사례가 더 많은 것을 가르칩니다.

보고서의 공통 결론은 “모두 배포”나 “모두 폐기”가 아닙니다. 각 관측 범위에서 무엇을 알았고 다음 어떤 근거가 필요한지 구체적으로 씁니다. 실제 업무의 목표·비용·대상과 연결하는 판단은 해당 자료가 없는 항목을 미확인으로 남긴 채 진행해야 합니다.

Do not rank raw MSE across different targets and units. Ask common questions instead: What is predicted? Who is in the native file? Whose losses are scored? How were A and B frozen? Which failures occur? What remains unknown for actual use?

Wine illustrates the distinction between numeric loss on an ordinal score and operating costs. NLS illustrates missing targets and a historical male frame. Churn shows how improved mean risk and ranking can coexist with failed positive detection at a chosen threshold. Disclosed weaknesses make cases more informative.

The shared conclusion is neither universal deployment nor universal rejection. State findings within each observed frame and specify needed evidence. Connecting a model to operational goals, costs and populations must preserve unknowns where evidence is absent.

대학원 연결Graduate bridge

대학원 연결 · 조건부 비교와 일반화 오차Graduate bridge: conditional comparison and generalization

동결된 두 함수와 고정 평가 자료를 조건으로 두면 Δ는 하나의 정확한 유한 자료 요약입니다. 확률적 일반화 오차 차이를 논하려면 새 관측의 분포와 추출 과정을 추가해야 합니다. 같은 숫자가 자료 조건부 기술량이기도 하고 설계 가정 아래 추정량이기도 하지만 두 해석을 섞어서는 안 됩니다.

Δ(P)=EP{[fA(X)−Y]2−[fB(X)−Y]2}\Delta(P)=E_P\{[f_A(X)-Y]^2-[f_B(X)-Y]^2\}

미래 분포 P가 현재 시험 분포와 다르거나 목표가 선택적으로 결측이면 시험 평균은 곧바로 Δ(P)를 식별하지 않습니다. 조건부 성능·선택 확률·이동 가중·지지집합 같은 추가 정보가 필요할 수 있습니다. 특징 지문 묶음의 삭제값만으로 그 정보를 복원할 수는 없습니다.

선택·학습 과정까지 반복 표본 불확실성에 포함할지, 고정한 함수의 평가만 추론할지도 정해야 합니다. 이 장의 삭제는 재학습하지 않으므로 학습 알고리즘 전체의 변동을 측정한 것으로 소개하지 않습니다. 목표 추정량·조건부 정보·유효 단위·불확실성의 출처를 먼저 정의하는 습관이 중요합니다.

Conditional on two frozen functions and a fixed evaluation dataset, Δ is an exact finite-data summary. A population generalization contrast additionally requires a distribution and sampling process for new observations. The same number can be descriptive or an estimator under assumptions, but these interpretations must remain separate.

Δ(P)=EP{[fA(X)−Y]2−[fB(X)−Y]2}\Delta(P)=E_P\{[f_A(X)-Y]^2-[f_B(X)-Y]^2\}

Distribution shift or selective target missingness prevents automatic identification of Δ(P) from the test mean. Conditional performance, selection probabilities, transport weights and support may require further information. Deleting predictor-fingerprint groups does not recover it.

Specify whether inference includes selection and training variation or only evaluation of frozen functions. These deletions do not retrain and therefore do not measure all learning-algorithm variability. Define estimand, conditioning information, effective units and sources of uncertainty first.

학부Undergraduate

원표·그림·원본에서 설명으로 되돌아온다Return from tables and artifacts to an explanation

원자료 전체가 다운로드된다고 본문에 모든 행을 한 번에 펼칠 필요는 없습니다. 분모표·핵심 지표·집단별 오차·대표 원행을 읽고 전체 장부에서 검산할 수 있으면 학습과 재현을 함께 지원할 수 있습니다. 대표 행을 골랐다면 선택 규칙과 전체 대상 수를 밝혀야 합니다.

그림은 A와 B의 MSE, 집단별 MSE, 큰 절대 손실 차이를 가진 원행, 삭제값 분포를 서로 다른 축으로 보여줍니다. 큰 손실 차이를 고른 그림은 전형적인 무작위 표본이 아닙니다. 원행 ID와 전체 CSV를 유지하고 축의 단위·0 기준·누락 상태를 함께 읽습니다.

마지막 설명은 표를 그대로 읽는 문장보다 한 단계 더 나아가야 합니다. 어떤 주장이 숫자로 뒷받침되는지, 어떤 가정이 추가되어야 하는지, 다음 검증이 무엇인지 적습니다. 원본 벡터 그림과 정확값은 보존하되 화면의 가독성을 위해 짧은 근사와 반응형 웹 그림을 함께 사용합니다.

Preserving complete downloadable data does not require expanding every row into the initial page. Denominator tables, core metrics, subgroup errors and traceable record previews can support learning and reproduction. Disclose the selection rule and complete frame for any featured records.

Figures show model MSE, subgroup MSE, records with large absolute loss differences and deletion-value distributions on distinct axes. Selected extreme differences are not a representative random sample. Keep IDs, complete CSVs, units, zero references and missing states available.

An explanation should connect evidence with a justified claim, additional assumptions and next verification. Preserve original vectors and exact values while providing readable short approximations and responsive web figures.

학부Undergraduate

민감도 분석으로 가정과 결론을 연결한다Connect assumptions to conclusions with sensitivity analysis

하나의 수치가 조금 바뀌면 결론이 뒤집히는지 살펴보는 것은 보고서를 약하게 만드는 일이 아닙니다. 어떤 가정에 결론이 기대는지 알려줍니다. 다만 결과를 본 뒤 유리한 설정 하나만 남기면 민감도 분석이 새로운 선택 문제가 됩니다. 바꾼 범위와 그 이유를 기록하세요.

이 장에서는 이탈 분류 임계값과 손실 초과 문턱을 바꾸어 볼 수 있습니다. 전자는 행동 결정, 후자는 실패 사례 분류에 영향을 줍니다. 동결 점수의 Brier·순위 AUC는 그 임계값 변경만으로 바뀌지 않습니다. 원 목표 결측이나 실제 개입 배정이 없다는 한계도 사라지지 않습니다.

빠진 손실의 범위를 명시하는 분석은 또 다릅니다. 가상 대상 4개 중 2개 라벨만 도착했고 관측 이진 Brier 손실 합이 1이면, 미관측 두 손실을 [0,1]로만 아는 전체 평균은 [1/4,3/4]입니다. 관측 평균 1/2는 이 구간 안 한 값이며 전체 위험으로 자동 확정되지 않습니다.

Checking whether a conclusion changes under nearby assumptions makes its dependencies visible. Keeping only a favourable setting after inspecting results instead creates selection. Record the explored range and its reason.

A churn classification threshold changes decisions; a squared-loss threshold changes which failures are flagged. Neither alone changes frozen-score Brier or ranking AUC. Neither removes missing targets or creates experimental assignment.

Bounds for missing loss address another uncertainty. In a constructed four-record frame, two arrived labels have total binary Brier loss one. If each unobserved loss is only known to lie in [0,1], full mean risk lies in [1/4,3/4]. Observed mean one-half is not automatically the full risk.

대학원 연결Graduate bridge

설계 기반·모형 기반·자료 조건부 추론을 나눈다Separate design-based, model-based and conditional inference

확률이 어디에서 생기는지 먼저 묻습니다. 완전 무작위 실험은 고정 잠재 결과에 대해 배정을 바꾸는 확률입니다. 모집단 모형은 새로운 사람·측정이 어떤 분포에서 오는지 가정합니다. 고정 시험표를 그대로 요약할 때는 그 표에 조건부인 결정적 계산일 수 있습니다.

같은 A−B라는 표기도 이 세 범위에서 의미가 다릅니다. 동결 예측의 손실 차이, 실제 행동의 평균 효과, 미래 자료의 기대 손실 차이를 각각 정의해야 합니다. 우연 변동의 출처가 다르면 유효 단위와 분산·일반화 가정도 달라집니다.

대학원 실무에서는 추정량 앞에 목표량을 써 보세요. 무엇에 조건부인지, 어떤 모집단을 말하는지, 어떤 과정을 반복한다고 보는지 적습니다. “통계적으로 유의”라는 표현을 먼저 붙이기보다 확률 모형·설계·지지집합·누락 정보가 그 표현을 허용하는지 점검합니다.

Ask where probability enters. Complete randomization varies assignment conditional on fixed potential outcomes. A population model describes new people or measurements from an assumed distribution. A frozen test-table summary can instead be deterministic conditional on that table.

An A-minus-B label can refer to frozen predictive loss, an intervention effect or future expected loss. Define each separately. Different sources of randomness require different effective units, variance formulas and generalization assumptions.

Write the estimand before the estimator. State conditioning information, population and repeated process. Examine probability, design, support and missing information before applying a significance label.

학부Undergraduate

확실하지 않은 것을 정확하게 보고한다Report uncertainty without inventing an interval

보고서에 모든 값이 하나의 신뢰구간으로 나와야 하는 것은 아닙니다. 계산 반올림, 표본 변동, 목표 결측, 분포 이동, 측정 오류, 행동 설계의 미확인은 서로 다른 불확실성입니다. 한 종류의 표준오차가 나머지 전부를 설명한다고 쓰면 오히려 부정확합니다.

이 장은 정확 분수·표시 근사·이유가 있는 미정의·삭제 민감도·설계 조건부 분산 추정을 구분합니다. 실제 세 자료에는 현장 무작위 개입 결과가 없으므로 개입 효과의 95% 구간을 임의로 만들지 않습니다. G가 작거나 묶음 독립성이 불명확한 상황에서 삭제 분산에 1.96을 곱하는 규칙을 자동 적용하지도 않습니다.

모르는 이유를 구체적으로 쓰면 다음 작업이 보입니다. 목표 결측이면 수집 과정이나 선택 가정을, 미래 대상이면 범위와 검증을, 개입 효과이면 설계와 실행 증거를 확인합니다. 자료로 식별되지 않는 부분과 계산이 아직 안 된 부분도 구분해야 합니다.

Not every uncertainty needs one confidence interval. Rounding, sampling variation, missing targets, shift, measurement error and unverified assignment are distinct. A standard error for one source does not cover all others.

We distinguish exact fractions, display approximations, reasoned undefined values, deletion sensitivity and design-conditional variance estimates. Native cases lack field randomized interventions, so we do not fabricate intervention-effect intervals. Nor do we automatically multiply deletion dispersion by 1.96 with few or unverified independent groups.

Specific unknowns suggest next work: data collection or selection assumptions for missing targets, scope and validation for new populations, design and execution evidence for interventions. Distinguish unidentified information from unfinished computation.

학부Undergraduate

인물과 아이디어 · 모형을 둘러싼 문서화People and ideas: documenting the model in context

Margaret Mitchell, Timnit Gebru와 공동저자들의 Model Cards for Model Reporting은 성능 숫자와 함께 사용 범위·평가 조건·한계를 체계적으로 전달하는 방법을 제안했습니다. 원고는 2018년에 처음 공개되었고 여기서 참고한 v2와 FAT* 논문은 2019년 맥락입니다. 저자의 현재 소속이나 직책을 이 역사적 소개에 덧붙이지 않습니다.

이 제안이 모든 분야에 같은 양식을 기계적으로 강제하거나 카드 완비를 윤리 인증으로 바꾸는 것은 아닙니다. 카드의 핵심 질문을 자신의 문제에 적용하면서, 어떤 집단·측정·용도·실패를 공개할지 논증해야 합니다. 체크리스트를 채운 뒤에도 내용의 질을 사람이 읽어야 하는 이유입니다.

이 장의 세 카드는 그 아이디어를 예측·단위·분모·증거 연결과 재현 가능한 계산에 적용한 교육 예입니다. 분야마다 중요한 정보는 달라질 수 있습니다. 와인 산업과 역사적 임금, 고객 이탈에서 같은 항목이 어떤 다른 의미를 갖는지 비교해 보세요.

Model Cards for Model Reporting by Margaret Mitchell, Timnit Gebru and coauthors proposed systematic communication of intended uses, evaluation conditions and limitations alongside performance. The initial manuscript appeared in 2018; the referenced second version and FAT* paper belong to 2019. This historical introduction makes no claim about current affiliations.

The proposal does not turn one mechanical form into universal ethical certification. Apply its questions to the domain and justify which populations, measurements, uses and failures are disclosed. Human review of content remains necessary after fields are filled.

Our three cards are educational applications connecting prediction, units, denominators, evidence and reproducible computation. Compare how the same headings have different practical meanings in wine, historical wages and telecom churn.

학부Undergraduate

본문 영상 · 판단의 전제를 적으며 본다In-page video: write down premises behind decisions

FSDL 2022의 Charles Frye 강의 Ethics를 본문에서 재생할 수 있습니다. 특정 관점과 논거를 가진 선택 학습 자료로 읽으며, 강의 시청을 규범적 합의나 모형의 적합성 증거로 바꾸지 않습니다. 이 장의 수치와 별도로 강의가 어떤 가치·책임·이해관계자를 중요하게 보는지 메모하세요.

재생 중 한 주장에 대해 세 줄을 적습니다. 첫째, 검증 가능한 경험적 주장은 무엇인가? 둘째, 어떤 가치 판단이나 목적이 들어 있는가? 셋째, 내 사례에서 아직 관측하지 않은 정보는 무엇인가? 다른 결론에 동의하더라도 근거를 분리해 읽는 연습이 목적입니다.

시청 뒤 이탈 카드로 돌아와 양성 재현율 0이라는 관측과 그 다음 업무 판단을 연결해 보세요. 누구의 손실·이익을 어떤 단위로 볼지, 어떤 대상을 더 확인할지, 어떤 조치는 아직 근거가 부족한지 씁니다. 영상이 실제 자료에 없는 실험 결과나 법적 인증을 대신하지 않습니다.

Play Charles Frye’s Ethics lecture from FSDL 2022 within the page. Treat it as a selected argument with premises, rather than normative consensus or proof of model suitability. Note the values, responsibilities and stakeholders it emphasizes separately from our numeric evidence.

For one claim write three lines: what is empirically testable, which value judgment or purpose enters, and what is unobserved in your case? The aim is to distinguish evidence even when you disagree with a conclusion.

Return to the churn card and connect zero observed positive recall with a next operational judgment. Specify whose costs and benefits matter, their units, further populations to examine and unsupported actions. A lecture cannot supply missing experimental results or a legal certificate.

학부Undergraduate

참고자료 읽기 · 질문을 가지고 원문으로 간다Guided readings: take a question to each source

Model Cards 원문에서는 사용·평가·한계 항목이 왜 필요한지 읽고, 자기 카드의 한 문장을 더 좁혀 쓰세요. NIST AI Risk Management Framework는 자발적 위험 관리 틀로 읽습니다. 특정 카드가 해당 틀의 모든 요구를 충족하거나 법적 준수를 인증했다고 표현하지 않습니다. 버전과 현재 수정 논의는 실제 이용 시 공식 자료에서 확인해야 합니다.

UCI 와인 설명에서는 원 특징·목표·빠진 메타데이터를 확인합니다. Card의 원자료 목록과 코드북에서는 변수 식별자·원 단위·자료 범위를 확인합니다. 정확한 URL이나 DOI는 같은 자료를 찾는 출발점이지만 원파일 바이트와 변환 과정을 기록하는 일을 대체하지 않습니다.

자료별 읽기 질문과 풀이가 아래 참고자료에 있습니다. 입력 계약 통과가 사실 인증인지, 동결 변환이 바뀌면 같은 모형인지, 원자료만으로 운영 환경까지 재현되는지, 가상 시점이 실제 로그인지, 위험 관리 문서가 성능 보장인지 등을 반문하세요. 읽기는 문장을 모으는 일이 아니라 주장의 범위를 점검하는 과정입니다.

Read Model Cards with a question about why use, evaluation and limitation fields matter, then narrow one sentence in your own card. Read the NIST AI Risk Management Framework as a voluntary risk-management framework, not as a certificate that a completed card satisfies every obligation or legal rule. Check official versions and revisions when applying it.

Use UCI wine documentation to identify native features, target and absent metadata. Use Card’s data listing and codebook for identifiers, units and scope. URLs and DOIs help locate a source but do not replace byte provenance and transformation records.

Guided questions and answers accompany the readings. Ask whether contract passage authenticates facts, changed transformations preserve a model, native data reproduce operational conditions, constructed times are real logs or risk documentation guarantees performance. Reading tests the boundary of a claim rather than collecting impressive quotations.

학부Undergraduate

종합 보고서 · 결론에서 원행까지 연결한다Capstone report: connect conclusions to native records

한 사례를 골라 다른 사람이 원문을 내려받지 않아도 핵심을 이해할 수 있는 보고서를 씁니다. 첫 문단에는 목적·대상·버전·핵심 비교를 적고, 다음에는 분모·핵심 표·그림을 배치합니다. 모든 원행은 별도 파일로 보존하고 대표 사례가 전체를 대신하지 않는다고 설명합니다.

완성 보고서의 구성
항목독자가 확인할 질문
목적·범위어떤 대상의 무엇을 예측하는가?
자료·분모원자료·적격·예정·채점은 각각 얼마인가?
고정 규칙특징·변환·계수·비교 대상은 무엇인가?
비교·실패A−B·집단·누락·미정의를 어떻게 읽는가?
해석·한계무엇은 관측이고 무엇은 가정인가?
다음 작업어떤 측정·실험·검토가 더 필요한가?

근거 ID를 카드의 주장과 연결하고 코드·원자료·그림을 따라갈 수 있게 합니다. 정확값 전체와 짧은 표시값을 함께 제공하되, 문장에는 불필요한 수백 자리 숫자를 반복하지 않습니다. 분류 실패는 참·거짓·미정의를 실제 결과와 대조합니다.

마지막 문단은 “좋다/나쁘다”보다 구체적이어야 합니다. 현재 기술 비교가 지지하는 결론, 추가 가정이 필요한 확장, 현장 검증이 없어서 미확인인 항목을 나눕니다. 담당자가 다음에 무엇을 확인하면 판단이 바뀔 수 있는지 쓸 때 보고서가 작업 도구가 됩니다.

Choose one case and write a report whose core is understandable without downloading the full source. Start with purpose, frame, version and main comparison, then denominators, core tables and figures. Preserve every native record separately and explain why selected examples do not replace the full frame.

Complete report structure
ElementQuestion for the reader
Purpose and scopeWhose outcome is predicted?
Data and denominatorsHow many native, eligible, planned and scored records?
Frozen ruleWhich features, transforms, coefficients and comparator?
Comparison and failureHow are A−B, groups, missingness and undefined values read?
Interpretation and limitsWhich statements are observed and which assumed?
Next workWhich measurement, experiment or review is needed?

Connect evidence IDs to claims and trace code, native data and figures. Offer complete exact values with short displays without repeating hundreds of digits in prose. Compare true, false and undefined classification states against actual results.

End with a specific supported conclusion, extensions requiring assumptions and unknowns from absent field validation. A report becomes a working tool when it states what new evidence could change the decision.

학부Undergraduate

학습 마무리 · 계산에서 책임 있는 설명으로Course capstone: from calculation to accountable explanation

수리 기초에서 배운 함수·합·비율은 모형 카드의 단위와 분모로 이어집니다. 통계학의 결측·표본·불확실성은 어떤 성적표가 누구에게 해당하는지 묻게 합니다. 데이터 사이언스의 자료 변환과 재현은 같은 계산을 다른 사람이 확인하게 합니다. 경제학의 비용·유인은 예측 점수가 어떤 결정에 쓰이는지 구체화합니다.

계량경제학은 관측 상관과 개입 효과의 차이, 배정과 식별의 조건을 묻습니다. 머신러닝은 함수·검증·일반화와 실패를 다룹니다. 인공지능의 복잡한 시스템도 이 질문을 피할 수 없습니다. 더 큰 모형이나 많은 표가 목적·측정·설계의 설명을 대신하지 않습니다.

최종 과제에서는 같은 자료의 예측 비교 한 건과 별도 가상 실험 한 건을 완성하세요. 각각 원행·공식·단위·분모·코드·해석·한계를 연결합니다. 다른 사람이 결과를 반박하거나 재현할 수 있도록 불편한 결과와 미정의를 보존합니다. 배운 내용을 쓴다는 것은 정답 숫자뿐 아니라 그 숫자가 답하지 못하는 질문까지 설명하는 일입니다.

Functions, sums and ratios from mathematics become units and denominators in a model card. Statistics asks about missingness, sampling and uncertainty. Data science provides transformations and reproducibility. Economics clarifies the costs and incentives of decisions using a score.

Econometrics distinguishes observational association from intervention effects and examines identification and assignment. Machine learning addresses functions, validation, generalization and failures. More complex AI systems face the same questions. Larger models and more tables cannot replace purpose, measurement and design.

Complete one same-data prediction comparison and a separate constructed experiment. Connect records, formulas, units, denominators, code, interpretation and limits. Preserve inconvenient outcomes and undefined values so others can reproduce or challenge the result. Application means explaining both the answer and what it does not answer.

영상·학자·함께 읽기Videos, thinkers and guided reading

본문의 질문을 넓히는 선택 학습입니다. 영상을 보기 전 질문을 먼저 읽고, 자신의 답을 쓴 뒤 해설과 비교하세요. 자료의 언어·선수 지식은 각 항목에 표시했습니다.Optional extensions to the chapter. Read the question first, write your answer, then compare with the explanation. Language and prerequisites are indicated below.

모형 카드의 원 제안The original model-card proposal

Mitchell, Wu, Zaldivar and coauthors, Model Cards for Model Reporting, FAT* 2019 / arXiv v2

용도·평가 조건·한계를 실제 카드의 근거와 연결합니다.Connect intended use, evaluation conditions and limitations to case evidence.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 같은 정확도라도 다른 용도에 적합할 수 있는가?Can models with the same accuracy suit different uses?

생각을 점검하는 해설Check your reasoning

가능하다. 어떤 대상·손실·경계·자료에서 얻은 숫자인지와 사용 목적을 함께 읽어야 한다. 카드를 채운 것만으로 적합성이 증명되지는 않는다.Yes. Read the population, loss, threshold and evaluation data alongside the intended use. Filling a card does not prove suitability.

자발적 위험관리의 읽기 틀A voluntary risk-management reading framework

NIST official AI Risk Management Framework page

위험·측정·관리 질문을 기술적 성과와 구분합니다.Separate questions about risk and management from predictive metrics.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 이 문서 이름을 적으면 현재 서비스가 인증된 것인가?Does citing this framework certify a current service?

생각을 점검하는 해설Check your reasoning

아니다. 자발적 읽기 틀과 특정 시스템의 실제 평가 근거는 다르다. 공식 페이지는 1.0의 개정 진행도 알리고 있으므로 버전과 읽은 범위를 명시한다.No. A voluntary framework differs from evidence about a specific system. The official page also notes revision of version 1.0; state the version and scope actually read.

와인의 관측 단위와 척도Wine observation units and scales

UCI Wine Quality, Cortez and coauthors, DOI 10.24432/C56S3T

와인 기록을 국가나 확정된 병 ID로 바꾸지 않습니다.Keep wine records distinct from countries or authenticated bottle IDs.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 적·백포도주 평가 차이를 포르투갈 전체 정책 효과로 해석할 수 있는가?Can a red/white evaluation difference identify a national policy effect?

생각을 점검하는 해설Check your reasoning

그렇지 않다. 실제 관측 단위와 수집·분할·모형의 범위를 벗어난 주장이다. 카드에는 이 자료에서 계산한 예측 손실과 남은 한계를 적는다.No. That claim exceeds the observation unit, collection, split and model evidence. Report the computed prediction losses and remaining limitations.

NLS 원자료와 변수 해석NLS source data and variable interpretation

David Card official data page and preserved original proximity codebook

원 임금 결측과 교육·나이 예측의 분모를 확인합니다.Check native wage missingness and denominators for schooling/age prediction.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 교육으로 임금을 예측했다면 교육의 인과 수익도 구한 것인가?Does predicting wages with schooling identify a causal schooling return?

생각을 점검하는 해설Check your reasoning

아니다. 예측 비교와 개입 효과는 다른 질문이다. 원자료의 남성 1976년 표본, 결측 임금과 관측된 시험 집합의 범위를 먼저 적는다.No. Prediction comparison and intervention effects answer different questions. First document the male 1976 sample, missing wages and observed test frame.

윤리 강의 뒤의 검토 질문Questions after an ethics lecture

Full Stack Deep Learning 2022, Lecture 9: Ethics, Charles Frye

서로 다른 당사자의 손실과 아직 모르는 영향을 함께 검토합니다.Examine different stakeholders’ losses and impacts that remain unknown.

공식 자료 읽기 ↗Read official resource ↗

보고 읽은 뒤 답하기Respond after watching/reading 집단별 오차 차이만으로 원인과 최선의 대응이 정해지는가?Do subgroup error differences alone determine causes and the best response?

생각을 점검하는 해설Check your reasoning

아니다. 측정된 집단·분모·의사결정 경계를 확인하고, 원인 가설과 관측을 구분하며, 당사자의 요구와 추가 근거를 검토해야 한다. 강의의 관점도 비판적으로 읽는다.No. Check groups, denominators and decision thresholds, separate causal hypotheses from observations, and consider stakeholder needs and additional evidence. Read the lecture’s perspective critically too.

본문 강의로 영향과 근거 검토하기Examining impacts and evidence with the in-page lecture

Full Stack Deep Learning 2022 / Charles Frye

공식 강의를 본문에서 보고 사례의 오류·손실·미지의 영향을 검토합니다. 강의의 관점도 질문하며 읽습니다.Watch the official lecture here and examine case errors, losses and unknown impacts. Read its perspective critically as well.

본문에서 영상 재생Play the video in the chapter

보고 읽은 뒤 답하기Respond after watching/reading 앞의 실제 사례 하나에서 누구에게 어떤 영향이 생길지 판단하려면 무엇을 더 알아야 하나요?For one preceding real-data case, what additional information would you need to assess who might be affected and how?

생각을 점검하는 해설Check your reasoning

관측 단위·포함 및 누락 대상·오류 유형·사용 목적과 손실 가정을 분리해 적습니다. 예측 차이와 개입 효과를 구분하고, 아직 관측하지 않은 영향과 필요한 추가 근거를 모형 카드에 남깁니다. 카드의 완성 자체가 적합성을 증명하지는 않습니다.Separate observation units, included and missing groups, error types, intended use and loss assumptions. Distinguish predictive differences from intervention effects, and record unobserved impacts and needed evidence in the model card. A completed card does not itself prove suitability.

연습문제 · 계산에서 설명과 증명까지Exercises: calculation, explanation and proof

먼저 혼자 풀고 풀이를 여세요. 숫자와 함께 단위·포함 기준·계산 이유를 확인하세요.Attempt each problem before opening its solution. Check units, inclusion rules and the reason for the calculation.

1. 설명서의 역할Purpose of a model card

정확도 90%만 있는 카드에 어떤 질문 세 가지를 추가하겠는가?

What three questions should be added to a card reporting only 90% accuracy?

풀이와 확인할 이유Solution and explanation

예를 들어 누구를 평가했는가, 양성과 음성의 분모는 얼마인가, 어떤 임계값과 비교 대상을 썼는가를 묻습니다. 실제 사용 환경·관측 시기·제외된 행도 중요합니다. 정답 문구가 하나인 문제가 아니라 숫자의 범위를 복원하는 문제입니다.

Ask who was evaluated, how many positive and negative cases were included, and which threshold and comparator were used. Operational setting, observation period and exclusions also matter. The aim is to recover the scope of the number.

2. 예측과 개입Prediction versus intervention

이탈 점수가 높은 사람에게 쿠폰을 주면 이탈이 줄어든다고 결론 낼 수 있는가?

Does a high churn score establish that a coupon will reduce churn?

풀이와 확인할 이유Solution and explanation

아닙니다. 점수는 관측 이탈의 예측이고 쿠폰의 인과 효과는 서로 다른 질문입니다. 같은 사람의 쿠폰 있음·없음 잠재 결과를 모두 관측할 수 없으며, 별도의 배정 설계나 식별 가정이 필요합니다.

No. Prediction of observed churn differs from a coupon effect. Both potential outcomes cannot be observed for one person, so an assignment design or other identification assumptions are needed.

3. 손실 단위Loss units

원 품질 점수 오차가 −2라면 제곱 손실과 단위는?

What is squared loss when the native quality-score error is minus two?

풀이와 확인할 이유Solution and explanation

제곱 손실은 (−2)²=4이고 단위는 원 품질 점수의 제곱입니다. 로그 임금의 MSE와 그대로 크기를 비교하는 기준은 아닙니다.

Squared loss is four, in squared native quality-score units. It is not directly comparable in magnitude to log-wage MSE.

4. 같은 계수·다른 중심Same coefficients, different centering

가상 식 1+2(x−μ)에서 x=5, μ=3이다. μ만 4로 바꾸면?

For the constructed rule 1+2(x−μ), x=5 and μ=3. What happens if only μ becomes four?

풀이와 확인할 이유Solution and explanation

원 예측은 1+2×2=5이고 새 예측은 1+2×1=3입니다. 계수 1과 2가 같아도 변환이 달라졌으므로 같은 예측 함수가 아닙니다.

The original prediction is five; the new prediction is three. Equal coefficients do not preserve the function when the transformation changes.

5. 관측하지 않은 정답Unobserved targets

원자료 100개, 적격 90개, 예정 시험 30개, 채점 시험 24개다. 시험 MSE의 기본 분모와 원 라벨 비율은?

There are 100 native, 90 eligible, 30 planned-test and 24 scored-test records. What are the MSE denominator and native-label fraction?

풀이와 확인할 이유Solution and explanation

단위 비중·완전 예측이면 MSE 분모는 24입니다. 예정 시험에서 원 라벨 비율은 24/30=0.8입니다. 전체 목표 결측 10개와 시험 안 결측 6개는 다른 수입니다.

With unit weights and complete predictions the MSE denominator is twenty-four. The native-label fraction within planned test is 24/30=0.8. Ten missing targets overall differ from six missing targets inside the test frame.

6. NLS 분모NLS denominators

NLS 예정 시험 904개·채점 745개에서 시험 안 원 목표 결측은 몇 개인가?

How many planned NLS test targets are missing when 904 are planned and 745 are scored?

풀이와 확인할 이유Solution and explanation

904−745=159개입니다. 전체 자료의 목표 결측 603개와 혼동하지 않습니다. 시험 MSE는 원 목표가 관측된 745개에 대한 값이며 159개의 미관측 손실을 알려주지 않습니다.

There are 159 missing test targets. This differs from 603 missing targets across the complete native file. Test MSE concerns the 745 observed targets and does not reveal losses for the missing 159.

7. 해시 형식과 인증Hash format and authentication

SHA256 칸에 0을 64개 넣어 형식 검사를 통과했다. 원본 파일을 인증한 것인가?

Sixty-four zeros pass the SHA256 format check. Has the original file been authenticated?

풀이와 확인할 이유Solution and explanation

아닙니다. 64자리 16진수 형식이라는 사실만 확인했습니다. 실제 파일 바이트를 내려받거나 보존본에서 읽어 해시를 계산하고 신뢰할 출처와 대조하는 단계는 별도입니다.

No. Only the hexadecimal format was checked. Reading actual artifact bytes, computing their hash and comparing a trusted provenance record are separate steps.

8. 근거의 역할Evidence role

검증 자료의 MSE를 test 역할을 요구하는 주장에 연결하면 무엇을 표시해야 하는가?

What should happen when validation MSE is linked to a claim requiring test evidence?

풀이와 확인할 이유Solution and explanation

ID가 존재하여 연결은 찾을 수 있어도 역할 불일치를 표시해야 합니다. 검증 값을 시험 값으로 이름만 바꾸어 쓰지 않습니다. 검증은 선택에 사용되었을 수 있다는 점도 보고합니다.

The ID can resolve while the role requirement fails. Do not relabel validation evidence as test evidence. Disclose that validation may have been used for selection.

9. 정직한 미정의A documented undefined metric

양성 예측이 0개인 정밀도를 카드에 어떻게 기록하는가?

How should a card document precision when there are no positive predictions?

풀이와 확인할 이유Solution and explanation

값은 미정의로 두고 TP/(TP+FP)의 분모가 0이라는 사유와 해당 임계값·행 수를 씁니다. 정밀도 0으로 대체하면 정의된 낮은 정밀도와 혼동합니다. 명시적인 사유가 있는 미정의는 올바른 문서화입니다.

Keep the value undefined and state that the denominator TP+FP is zero, with threshold and frame size. Replacing it with zero confuses undefined precision with a defined poor precision. A reasoned undefined value is valid documentation.

10. 연결된 주장도 검토한다A linked claim still needs review

시험 MSE 근거 ID가 연결되면 “모든 집단에 공정”이라는 주장도 성립하는가?

Does linking a test-MSE evidence ID establish fairness for all groups?

풀이와 확인할 이유Solution and explanation

성립하지 않습니다. 주소 연결은 확인할 수 있지만 집단별 대상·오류·이익과 비용·공정성 기준을 검토한 것은 아닙니다. 주장을 관측 범위로 좁히고 필요한 추가 평가를 명시합니다.

No. A valid reference does not examine group coverage, errors, benefits, costs or a fairness criterion. Narrow the claim to observed evidence and specify additional evaluation.

11. 차이의 방향Sign convention

정답 [0,1,2], A=[0,1,2], B=[1,1,1]의 단위 비중 평균 손실 차이 A−B는?

Find mean squared-loss A minus B for y=[0,1,2], A=[0,1,2], B=[1,1,1] with unit weights.

풀이와 확인할 이유Solution and explanation

A 손실은 [0,0,0], B는 [1,0,1]입니다. 차이는 [−1,0,−1]이므로 평균은 −2/3입니다. 음수는 이 공통 행의 제곱 손실에서 A에 유리합니다.

A losses are [0,0,0] and B losses [1,0,1]. Differences average to −2/3. Negative favours A for squared loss on this common frame.

12. 가중 평균Weighted mean

차이 [1,3], 비중 [3,1]의 Δ와 행 수·질량은?

Find Δ, record count and mass for differences [1,3] with weights [3,1].

풀이와 확인할 이유Solution and explanation

Δ=(3+3)/4=3/2, 행 수 2, 질량 4입니다. 질량 4가 독립 관측 4명을 뜻하지는 않습니다.

Δ=6/4=3/2, with two records and mass four. Mass four does not establish four independent observations.

13. 공통 배율Common weight scaling

위 비중을 [30,10]으로 바꾸면 Δ와 삭제값은?

What happens to Δ and leave-group estimates when weights become [30,10]?

풀이와 확인할 이유Solution and explanation

분자·분모가 모두 10배이므로 Δ=3/2이고 삭제값도 3,1입니다. VJ=1도 유지됩니다. 자료의 실제 정보량이 10배가 되었다는 의미는 아닙니다.

Both numerator and denominator multiply by ten. Δ remains 3/2, deletions remain three and one, and VJ remains one. The data have not acquired ten times the information.

14. 불완전 행Incomplete comparison row

목표가 1이고 A 예측이 null, B 예측이 0이면 이 행의 d는 0인가?

Is d zero when y=1, A is null and B predicts zero?

풀이와 확인할 이유Solution and explanation

아닙니다. A의 손실을 계산할 수 없으므로 공통 차이는 미정의이고 비교 예측 결측 사유로 남깁니다. B 손실 1을 안다는 사실만으로 A의 손실을 만들 수 없습니다.

No. A loss is unavailable, so the paired difference is undefined with a missing-comparison-prediction reason. Knowing B loss one cannot supply A loss.

15. 실제 삭제값Actual leave-group values

차이 [1,3]과 비중 [3,1]에서 두 묶음을 하나씩 뺀 값과 VJ를 구하라.

Compute both deletions and VJ for differences [1,3] and weights [3,1].

풀이와 확인할 이유Solution and explanation

전체 S=6,W=4입니다. 첫 묶음 삭제는 (6−3)/(4−3)=3, 둘째 삭제는 (6−3)/(4−1)=1입니다. 삭제 평균 2, VJ=(1/2)(1+1)=1입니다.

Totals are S=6 and W=4. Deleting the first gives three; deleting the second gives one. Their mean is two and VJ is one.

16. 왜 선형 근사와 다른가Why a linearized proxy differs

위 예에서 2·Σ(Sg−ΔWg)²/W²를 계산하고 VJ와 비교하라.

Evaluate 2·Σ(Sg−ΔWg)²/W² in the preceding example and compare it with VJ.

풀이와 확인할 이유Solution and explanation

Δ=1.5이고 잔여 기여는 3−4.5=−1.5, 3−1.5=1.5입니다. 식은 2×4.5/16=9/16입니다. 실제 삭제 VJ=1과 다릅니다. 이 장의 API는 크기가 다른 묶음에서 이 선형화 식을 실제 삭제식 대신 쓰지 않습니다.

The residual contributions are −1.5 and 1.5, giving 2×4.5/16=9/16. Actual deletion VJ is one. The API does not substitute this linearization for actual unequal-mass deletions.

17. 한 묶음One group

같은 두 행을 한 묶음으로 합치면 평균 차이와 VJ는?

What happens if both records belong to one group?

풀이와 확인할 이유Solution and explanation

평균 차이는 원래와 같은 3/2입니다. 그러나 유일한 묶음을 빼면 남은 비중이 0이므로 삭제값과 VJ는 미정의입니다. 이를 분산 0으로 읽지 않습니다.

The mean remains 3/2. Deleting the only group leaves zero weight, so its leave-out value and VJ are undefined, not zero.

18. 역방향 비교Reverse the comparison

A와 B를 바꾸면 Δ와 VJ는 어떻게 바뀌는가?

How do Δ and VJ change when A and B are swapped?

풀이와 확인할 이유Solution and explanation

모든 d와 삭제값의 부호가 바뀌므로 Δ는 −Δ가 됩니다. 삭제값과 삭제 평균의 차이를 제곱하므로 VJ는 같습니다. 비교 표의 방향을 명시해야 같은 숫자를 반대로 해석하지 않습니다.

All differences and leave-out values change sign, so Δ becomes −Δ. Squared deviations from the leave-out mean are unchanged, so VJ is unchanged. Always state the comparison direction.

19. 시험 평균을 기준선으로 쓰기Using the test mean as baseline

시험 목표 평균으로 B를 다시 만들면 왜 원래 고정 비교가 아닌가?

Why is rebuilding B from the test-target mean not the original frozen comparison?

풀이와 확인할 이유Solution and explanation

시험 정답이 비교 규칙을 만드는 데 들어갔기 때문입니다. B는 새 함수가 되어 이전 훈련 평균 기준선과 다릅니다. 새 규칙의 탐색 결과로 보고할 수는 있지만 시험을 보지 않은 고정 기준선이라고 소개할 수 없습니다.

Test answers now define the comparator. B becomes a new function rather than the frozen training-mean baseline. This may be reported as exploration, but not as a comparator fixed without test information.

20. 잭나이프와 보장Jackknife and guarantees

VJ가 정확한 분수로 계산되면 95% 신뢰구간과 독립성이 자동으로 보장되는가?

Does an exact rational VJ automatically establish a 95% interval and group independence?

풀이와 확인할 이유Solution and explanation

아닙니다. 정확 산술은 계산 오차와 미정의를 확인하는 데 도움이 되지만 표본 추출·의존·정규 근사·유효 집단 수의 가정을 증명하지 않습니다. 이 장은 삭제 민감도와 추론 조건을 나누어 보고합니다.

No. Exact arithmetic checks calculations and undefined cases, not sampling, dependence, normal approximation or effective group count assumptions. Report deletion sensitivity separately from inferential conditions.

21. 같은 고객의 두 상황Two potential outcomes

한 고객에게 쿠폰을 주어 잔류를 관측했다. 쿠폰이 없었어도 잔류했을지 알 수 있는가?

A customer receives a coupon and stays. Is retention without the coupon observed?

풀이와 확인할 이유Solution and explanation

아닙니다. 관측한 것은 해당 배정에서의 결과 하나입니다. 반대 상황의 잠재 결과는 관측하지 못합니다. 비교 설계가 평균 효과를 추정할 수 있게 하는 조건을 제공해야 합니다.

No. One assignment reveals one potential outcome. A comparison design must supply conditions for estimating an average effect.

22. 배정 평균의 불편성Assignment unbiasedness

가상 네 명의 Y(0)=[0,1,2,3], Y(1)=[2,3,4,5]이고 둘씩 완전 무작위 배정한다. 효과와 가능한 평균 차이는?

Four constructed units have Y(0)=[0,1,2,3], Y(1)=[2,3,4,5]. Randomize two to each arm. Find the effect and possible mean contrasts.

풀이와 확인할 이유Solution and explanation

개인 효과는 모두 2라서 τS=2입니다. A의 조합을 순서대로 {1,2},{1,3},{1,4},{2,3},{2,4},{3,4}로 두면 관측 평균 차이는 [0,1,2,2,3,4]입니다. 여섯 값을 같은 확률로 평균하면 2입니다. 각 배정에서 효과와 정확히 같을 필요는 없습니다.

Every effect is two, so τS=2. For A subsets {1,2},{1,3},{1,4},{2,3},{2,4},{3,4}, observed contrasts are [0,1,2,2,3,4]. Their equally weighted mean is two, although an individual allocation need not equal the effect.

23. 관측 분산은 항상 상한인가Is every variance estimate an upper bound?

앞 문제에서 A={1,2}면 관측 A=[2,3], B=[2,3]이다. V̂N과 참 배정 분산을 비교하라.

In the preceding problem, A={1,2} yields observed A=[2,3] and B=[2,3]. Compare V̂N with true assignment variance.

풀이와 확인할 이유Solution and explanation

각 표본 분산은 1/2이므로 V̂N=(1/2)/2+(1/2)/2=1/2입니다. 가능한 차이 [0,1,2,2,3,4]의 평균 2 주위 분산은 (4+1+0+0+1+4)/6=5/3입니다. 따라서 이 배정에서는 추정값이 참 분산보다 작습니다. 기대값의 보수성과 매번의 상한 보장은 다릅니다.

Each sample variance is one-half, giving V̂N=one-half. Assignment variance of [0,1,2,2,3,4] about mean two is 5/3. The realized estimate is smaller here. Conservativeness in expectation is not a guarantee for every realization.

24. 기본 실험 계산Default experiment calculation

가상 A=[1,3], B=[0,2]에서 평균 차이·표본 분산·V̂N을 구하라.

Compute contrast, sample variances and V̂N for constructed A=[1,3], B=[0,2].

풀이와 확인할 이유Solution and explanation

평균은 2와 1이므로 차이는 1입니다. 각 팔에서 제곱 편차 합이 2이고 분모는 1이어서 표본 분산은 2입니다. 완전 무작위 선언·완전 결과·단위 비중 조건에서 V̂N=2/2+2/2=2입니다. 선언 자체를 실제 배정의 증거로 읽지는 않습니다.

Means are two and one, contrast one. Each squared-deviation sum is two with denominator one, giving sample variance two. Under the stated design conditions V̂N=two. The declaration does not authenticate actual allocation.

25. 결측 결과Missing experimental outcome

위 A의 첫 결과를 null로 바꾸면 완전 틀 Neyman 분산을 계속 계산하는가?

Does the complete-frame Neyman formula remain available after the first A outcome becomes null?

풀이와 확인할 이유Solution and explanation

아닙니다. 전체 결과 관측 조건이 깨지고 A 관측도 한 명뿐입니다. 관측 결과의 기술 평균 차이는 계산할 수 있지만 원 완전 배정 틀의 효과·분산이라고 바로 해석하지 않습니다.

No. Complete outcomes fail and A has only one observed result. An observed-outcome contrast can remain descriptive without inheriting the original complete-frame interpretation.

26. 비단위 비중Nonunit experimental weight

실험 비중을 하나만 2로 바꾸면 단위 비중 Neyman 식을 쓰는가?

Can the unit-weight Neyman formula be used after one experimental weight becomes two?

풀이와 확인할 이유Solution and explanation

이 실습에서는 미정의로 둡니다. 가중 평균 자체는 계산할 수 있어도 비중의 목표와 배정 설계에 맞는 분산식을 별도로 정당화해야 합니다.

The lab leaves it undefined. Weighted means may be calculated, but require a variance justified for the weight target and assignment design.

27. 작은 팔Small arms

A 한 명·B 한 명에서 평균 차이는 있는데 표본 분산이 없는 이유는?

Why can one record per arm give a contrast but no within-arm sample variance?

풀이와 확인할 이유Solution and explanation

평균에는 각 값 하나면 충분하지만 표본 분산의 n−1 분모는 0입니다. 정보 부족을 분산 0으로 바꾸지 않습니다.

A mean needs one value, but the sample-variance denominator n−1 is zero. Missing information is not zero variance.

28. 간섭Interference

한 학생의 알림이 친구 출석에도 영향을 준다면 어떤 가정을 점검하는가?

Which assumption needs examination if one pupil’s reminder affects a friend’s attendance?

풀이와 확인할 이유Solution and explanation

각 사람의 결과가 자기 배정 두 상황만으로 결정된다는 간섭 없음의 범위입니다. 친구 배정까지 포함한 잠재 결과나 학급 단위 설계가 필요할 수 있고 유효 단위 수도 달라집니다.

Examine no interference: the outcome may depend on others’ assignments. Richer potential outcomes or class-level assignment may be needed, changing effective units.

29. 빈 배정 명단Empty assignment frame

빈 행 목록에서 모든 결과 관측 검사가 참이면 효과도 0인가?

If all-outcomes-observed is vacuously true on an empty list, is the effect zero?

풀이와 확인할 이유Solution and explanation

아닙니다. 관측한 팔과 평균 분모가 없으므로 차이와 분산은 미정의입니다. 빈 틀이라는 별도 표지가 필요합니다.

No. Neither arm has an observed mean denominator. Contrast and variance are undefined, and the empty frame needs an explicit flag.

30. 사전 계획과 탐색Planning and exploration

시험 결과를 본 뒤 새 임계값을 골랐다. 보고서에는 어떻게 구분하는가?

A new threshold is selected after inspecting test results. How should it be reported?

풀이와 확인할 이유Solution and explanation

원래 정한 임계값의 평가와 사후 탐색을 구분합니다. 새 임계값이 같은 시험에서 선택되었다고 밝히고 추가 검증을 계획합니다. 새 임계값의 관측 성능을 보지 않은 자료에 대한 확증 결과라고 부르지 않습니다.

Separate the original planned evaluation from exploration. Disclose selection on the test data and plan further validation. Do not present the new score as confirmation on untouched evidence.

31. 잔차 상쇄Residual cancellation

정답 [3,1], 예측 [1,3]의 평균 잔차와 MSE는?

Find mean residual and MSE for outcomes [3,1], predictions [1,3].

풀이와 확인할 이유Solution and explanation

잔차 y−예측은 [2,−2]여서 평균은 0입니다. 제곱 손실은 [4,4]이므로 MSE=4입니다. 평균 잔차 0은 오차가 없다는 뜻이 아닙니다.

Residuals are [2,−2] with mean zero. Both squared losses are four, so MSE is four. Zero mean residual does not imply accurate predictions.

32. 문턱의 등호Threshold equality

제곱 손실이 4이고 손실 문턱이 4이면 초과인가? 이진 점수 p=1/2의 양성 결정과 비교하라.

Does squared loss four exceed loss threshold four? Compare a binary decision at p=one-half.

풀이와 확인할 이유Solution and explanation

손실 초과는 엄격한 >이므로 아닙니다. 이진 결정은 p≥문턱 규칙이므로 p=1/2에서 문턱 1/2이면 양성입니다. 두 규칙의 등호 조건이 다릅니다.

Loss exceedance uses strict greater-than, so no. Classification uses p at least threshold, so one-half at threshold one-half is positive. Their equality conventions differ.

33. 순위와 분류Ranking versus classification

정답 [0,1], 점수 [0.2,0.4], 임계값 0.5의 AUC·양성 재현율·정밀도를 구하라.

Find AUC, positive recall and precision for labels [0,1], scores [0.2,0.4], threshold 0.5.

풀이와 확인할 이유Solution and explanation

양성 점수 0.4가 음성 0.2보다 높아 AUC=1입니다. 둘 다 음성 결정이어서 재현율 0/1=0입니다. 양성 예측 분모가 0이므로 정밀도는 미정의입니다.

The positive ranks higher, giving AUC one. Both decisions are negative, so positive recall is zero. No positive predictions make precision undefined.

34. 탐색 임계값Exploratory threshold

앞 예의 임계값을 0.3으로 낮추면 관측 결과는? 이것이 미래 성능 보장인가?

What happens at threshold 0.3 in the preceding example, and does it guarantee future performance?

풀이와 확인할 이유Solution and explanation

음성 0.2는 음성, 양성 0.4는 양성이므로 관측 정확도·재현율·정밀도는 모두 1입니다. AUC도 원래 1입니다. 같은 두 정답을 보고 고른 탐색 규칙일 수 있으므로 미래·새 자료 보장은 아닙니다.

Both labels are classified correctly, so observed accuracy, recall and precision are one. AUC remains one. Selection using these same labels does not establish future or untouched-data performance.

35. 거짓과 미정의False versus undefined

정답 1·예측 0인 행과 정답 null·예측 0인 행의 correct를 비교하라.

Compare correctness for y=1,p=0 and y=null,p=0 at threshold one-half.

풀이와 확인할 이유Solution and explanation

첫 행은 평가할 수 있고 틀렸으므로 false입니다. 둘째는 정답을 몰라 미정의입니다. 객체가 존재한다는 이유로 둘 다 true로 렌더링해서는 안 됩니다.

The first is evaluated and false. The second is undefined because the label is unavailable. The existence of a packed status object must not render both as true.

36. 음의 R 제곱Negative R-squared

정답 [0,2], 예측 [3,3]의 R²를 구하라.

Find R-squared for outcomes [0,2] and predictions [3,3].

풀이와 확인할 이유Solution and explanation

목표 평균은 1, SST=1+1=2입니다. SSE=9+1=10이므로 R²=1−10/2=−4입니다. 이 프레임에서 목표 평균 예측보다 제곱 오차가 크다는 뜻이며 0으로 잘라 숨기지 않습니다.

The outcome mean is one and SST two. SSE is ten, so R-squared is minus four. The predictions have more squared error than the frame’s outcome-mean benchmark; do not clip it to zero.

37. 아주 작은 손실Tiny positive loss

오차 10의 −200승의 제곱 손실이 화면에서 0으로 보이면 정확히 0인가?

If squared error from an error of ten to minus two hundred displays as zero, is it exactly zero?

풀이와 확인할 이유Solution and explanation

정확값은 10의 −400승으로 양수입니다. 표시 범위에서 언더플로가 생긴 것이므로 정확 0 표지와 구분하고 전체 정확값을 유지합니다.

The exact loss is the positive value ten to minus four hundred. Display underflow differs from exact zero; preserve the complete exact value.

38. 필수 항목의 우선순위Required-item precedence

필수 평가=false·필수 한계=null이면 어떤 결정을 내리는가?

What decision applies when required evaluation is false and required limitations are null?

풀이와 확인할 이유Solution and explanation

확인된 필수 실패가 우선이므로 blocked입니다. 한계의 미확인도 목록에 남겨 후속 확인합니다. null을 false로 바꾸거나 알려진 실패를 숨기지 않습니다.

A known critical failure has priority, giving blocked. The unknown limitations item remains visible for follow-up rather than being converted to false or hiding the failure.

39. 필수성 낮추기Attempted downgrade

필수 ID evaluation의 critical을 false로 적으면 선택 항목이 되는가?

Does setting critical=false make required evaluation optional?

풀이와 확인할 이유Solution and explanation

아닙니다. 필수 ID 목록에 속한 항목은 계속 필수입니다. 필수 검토를 부울 하나로 조용히 낮추지 않습니다.

No. Membership in the required-ID list keeps it critical. A single flag does not silently downgrade the required review.

40. 패턴에서 원인으로From pattern to cause

특정 요금제의 관측 이탈 오류가 크다. 요금제가 원인이라고 결론 내릴 수 있는가?

A recorded tariff cohort has higher churn-prediction error. Does tariff cause the error?

풀이와 확인할 이유Solution and explanation

집단별 관측 차이만으로 원인을 식별할 수 없습니다. 표본 크기·목표 분포·특징·측정·결측·다른 업무 요인을 확인하고 원인 가설을 구분할 추가 관측이나 설계를 제안합니다.

The observed gap does not identify a cause. Examine sample size, targets, features, measurement, missingness and operational factors, then propose evidence that discriminates among causal hypotheses.

41. 실제 와인 비교Factual wine comparison

와인 A MSE≈0.56653931, B≈0.77056225에서 어떤 결론을 보고할 수 있는가?

What can be reported from wine A MSE≈0.56653931 and B≈0.77056225?

풀이와 확인할 이유Solution and explanation

같은 동결 시험 1,614개에서 A의 제곱 손실이 낮고 정확 계산한 A−B는 약 −0.20402294입니다. 출하 품질이나 소비자 만족을 개선한 인과 효과는 아닙니다. 짧게 반올림한 두 MSE의 차이를 정확값 대신 저장하지 않습니다.

A has lower squared loss on the same frozen 1,614-record test frame; the exact-computed contrast is about −0.20402294. This is not a causal shipment or satisfaction effect. Do not replace the exact contrast with subtraction of rounded displays.

42. 로그 임금의 단위Log-wage units

NLS MSE 감소 약 0.02828793을 0.028달러 절감이라고 써도 되는가?

Can the NLS MSE reduction of about 0.02828793 be described as 0.028 dollars saved?

풀이와 확인할 이유Solution and explanation

아닙니다. 목표는 원 로그 시급이므로 감소 단위는 그 제곱입니다. 실제 비용 함수나 달러 결과를 정의하지 않았습니다. 교육의 인과 수익도 아닙니다.

No. The target is native log hourly wage, so the reduction has squared log-wage units. No dollar cost function or causal schooling return was identified.

43. 빠진 시험 대상Missing test records

NLS 원 목표 결측 603개와 예정 시험 안 결측 159개의 관계를 설명하라.

Explain 603 missing native NLS targets versus 159 missing planned-test targets.

풀이와 확인할 이유Solution and explanation

603개는 전체 3,613개 원기록에서의 결측이고 159개는 고정 예정 시험 904개 중 채점하지 못한 904−745개입니다. 같은 분모의 비율이 아니며 시험 위험은 관측 745개에 조건부입니다.

603 refers to the full 3,613-record file. 159 equals 904−745 inside the fixed planned test. They have different denominators; scored risk is conditional on the 745 observed test targets.

44. 높은 정확도의 실패Failure hidden by accuracy

이탈 시험 TN639,FN132,TP0,FP0에서 정확도·양성 재현율·정밀도는?

Find accuracy, positive recall and precision for TN=639, FN=132, TP=0, FP=0.

풀이와 확인할 이유Solution and explanation

정확도는 639/771≈0.82879, 양성 재현율은 0/132=0, 정밀도는 0/0으로 미정의입니다. 약 83%라는 전체 숫자가 양성 탐지 실패를 숨기지 않게 함께 보고합니다.

Accuracy is 639/771≈0.82879, positive recall zero and precision undefined from zero positive predictions. Report them together so overall accuracy does not hide failed positive detection.

45. AUC와 양성 결정AUC and positive decisions

이탈 AUROC≈0.815419인데 양성 예측이 0개인 것이 모순인가?

Is AUROC≈0.815419 inconsistent with no positive churn predictions?

풀이와 확인할 이유Solution and explanation

모순이 아닙니다. AUROC는 양성·음성 점수 순위이고 양성 결정은 정한 임계값의 문제입니다. 점수가 모두 1/2보다 낮아도 양성의 점수가 음성보다 높은 쌍이 많을 수 있습니다.

No. AUROC concerns pair ranking; positive decisions depend on threshold. Scores can all be below one-half while many positives rank above negatives.

46. 특징 지문 묶음Predictor-fingerprint groups

동일 와인 특징 지문이 같은 분할에 있다는 사실은 동일 병 인증과 묶음 독립성을 뜻하는가?

Do identical wine fingerprints staying in one split authenticate bottle identity and group independence?

풀이와 확인할 이유Solution and explanation

아닙니다. 같은 설명변수 조합을 같은 계산 묶음으로 처리한 것입니다. 원자료에 물리적 병 ID나 독립 추출 증거가 추가되지 않습니다.

No. This is a computational grouping of equal predictor combinations, adding neither physical bottle IDs nor independent-sampling evidence.

47. 재현 입력과 답Inputs versus answer data

동결 파라미터 CSV를 재현 입력으로 읽는 것과 이미 계산한 MSE를 답으로 읽는 것은 어떻게 다른가?

How does reading frozen model parameters differ from using stored MSE as an answer?

풀이와 확인할 이유Solution and explanation

파라미터는 고정 예측 함수를 정의하는 정당한 입력입니다. 원 특징·목표에서 예측과 손실을 새로 계산합니다. 저장된 MSE를 읽어 그대로 출력하면 그 MSE 계산을 독립적으로 재현한 것이 아닙니다.

Parameters legitimately define the frozen prediction function. Recompute predictions and losses from native features and targets. Merely printing a stored MSE does not reproduce its calculation.

48. 다른 목표의 크기Different target scales

와인 MSE0.5665가 로그 임금 MSE0.1612보다 크므로 와인 모형이 나쁘다고 결론 내리는가?

Does wine MSE=0.5665 being above log-wage MSE=0.1612 establish a worse model?

풀이와 확인할 이유Solution and explanation

단위·목표·분포가 달라 직접 비교할 수 없습니다. 각 사례 안에서 같은 행의 기준선과 비교하고 목표에 맞는 비용·성능을 검토합니다.

No. Targets, units and distributions differ. Compare each with its within-task same-record baseline and relevant costs.

49. 삭제와 재학습Deletion versus retraining

고정 예측의 묶음 삭제값이 전체 학습 알고리즘의 표본 변동을 측정하는가?

Do group deletions of frozen predictions measure all sampling variation of the learning algorithm?

풀이와 확인할 이유Solution and explanation

이 장의 삭제에서는 훈련·선택·변환·계수를 다시 계산하지 않습니다. 고정 함수 평가의 삭제 민감도이며 학습 과정 전체의 변동을 포함했다고 소개할 수 없습니다.

Training, selection, transformations and coefficients stay fixed. This is deletion sensitivity of frozen-function evaluation, not total learning-pipeline variability.

50. 대표 행 선택Selected record examples

절대 손실 차이가 큰 20개 행의 그림을 전형적 원자료 분포라고 설명해도 되는가?

Can a plot of the twenty largest absolute loss differences represent the typical native distribution?

풀이와 확인할 이유Solution and explanation

극단값 선택이므로 전형적인 무작위 표본이 아닙니다. 선택 규칙·전체 대상·원행 ID를 밝혀 실패 사례로 읽고 전체 분포는 별도 요약합니다.

No. This is deliberate extreme selection. State the rule, complete frame and IDs, using it for failure inspection rather than typical-distribution claims.

51. 빠진 위험의 범위Bounds for missing risk

가상 4개 대상 중 관측 2개의 Brier 손실 합이 1이다. 나머지 두 손실을 [0,1]로만 알 때 전체 평균 범위는?

In four constructed records, two observed Brier losses sum to one. Bound full mean risk when each remaining loss is only known to be in [0,1].

풀이와 확인할 이유Solution and explanation

최소는 (1+0+0)/4=1/4, 최대는 (1+1+1)/4=3/4입니다. 관측 평균 1/2만 보고 전체 평균을 확정할 수 없습니다. 이진 손실의 범위를 썼으며 무한한 회귀 손실에 같은 상한을 붙이지 않습니다.

The minimum is one-quarter and maximum three-quarters. Observed mean one-half does not determine full risk. This uses bounded binary loss, not an assumed finite cap for arbitrary regression loss.

52. 상수 목표Constant target

모든 관측 y가 1이고 예측도 1이면 MSE와 R²는?

What are MSE and R-squared when every observed y and prediction equals one?

풀이와 확인할 이유Solution and explanation

MSE는 0입니다. 그러나 SST=0이라 R²의 SSE/SST가 0/0이므로 이 실습의 R²는 미정의입니다. 완벽한 수치 오차와 기준 분산이 없는 지표를 구분합니다.

MSE is zero. SST is zero, so SSE/SST is zero over zero and R-squared remains undefined. Exact prediction loss and a variance-normalized metric are distinct.

53. 모든 필수 칸이 참All required fields true

체크리스트의 필수 항목이 모두 true이면 실제 배포가 승인된 것인가?

Does an all-true required checklist approve actual deployment?

풀이와 확인할 이유Solution and explanation

아닙니다. 제공된 선언 기준으로 문서 검토 준비라는 뜻입니다. 실제 파일·현장·목적 적합성·법적 조건을 인증하지 않고 외부 시스템을 작동시키지도 않습니다.

No. It means documentation is ready for review under supplied declarations. It authenticates neither artifacts, field conditions, suitability nor legal compliance, and triggers no external deployment.

54. 추론의 확률 출처Source of inferential randomness

동결 예측 손실의 Δ와 완전 무작위 실험의 평균 차이는 왜 같은 분산식을 자동 공유하지 않는가?

Why do a frozen prediction contrast and randomized experimental contrast not automatically share a variance formula?

풀이와 확인할 이유Solution and explanation

전자는 정한 자료에 조건부인 기술량이거나 새 자료 추출 모형 아래 추정량이고, 후자는 고정 잠재 결과에 대한 배정 변동을 다룹니다. 확률 출처·유효 단위·목표량이 달라 같은 공식을 정당화하지 않습니다.

One is conditional finite-data description or an estimator under a new-data sampling model; the other varies assignment over fixed potential outcomes. Different randomness, units and estimands require separate justification.

55. 집단 격차의 해석Interpreting subgroup gaps

관측 집단 MSE가 다르면 보고서에 반드시 무엇을 함께 적는가?

What must accompany different observed subgroup MSE values?

풀이와 확인할 이유Solution and explanation

집단 정의·원 대상·채점 분모·목표와 단위·결측·선택 및 관측 범위를 적습니다. 원인이나 공정성의 결론이 추가로 필요하면 그 기준과 식별 근거를 별도로 제시해야 합니다.

State group definitions, native and scored counts, target, units, missingness, selection and scope. Causal or fairness conclusions need additional criteria and identification evidence.

56. 역사적 자료의 전이Transporting historical evidence

1976년 남성 NLS 로그 임금 모형의 관측 시험 개선을 현재 모든 근로자에게 적용할 수 있는가?

Does observed test improvement in a 1976 male NLS model establish improvement for all current workers?

풀이와 확인할 이유Solution and explanation

자동 적용할 수 없습니다. 시대·성별·노동시장·측정·특징 지지집합과 결측 과정이 다를 수 있습니다. 새로운 대상과 사용 목적을 정하고 이동 가정과 새 검증을 마련해야 합니다.

No. Period, sex coverage, labour markets, measurements, support and missingness may differ. Specify the new population, transport assumptions and validation.

57. 기존 시험의 재사용Reusing the old test

같은 시험에서 임계값 20개를 살펴 가장 좋은 값을 골랐다. 원래 고정 임계값 평가와 어떻게 다른가?

How does choosing the best of twenty thresholds on the same test differ from evaluating a frozen threshold?

풀이와 확인할 이유Solution and explanation

선택에 시험 정답이 사용되었습니다. 가장 좋은 관측 성능에는 탐색 선택이 포함되므로 원래의 미사용 시험 해석이 유지되지 않습니다. 탐색 범위와 선택 규칙을 밝히고 별도 검증을 계획합니다.

Test labels now influence selection. Best observed performance includes search, losing the original untouched-test interpretation. Disclose the search and plan separate validation.

58. 해결하지 못한 불확실성Unresolved uncertainty

정확 분수 계산과 삭제 분산으로 해결하지 못하는 불확실성 세 가지를 들어라.

Name three uncertainties not resolved by exact arithmetic and deletion variance.

풀이와 확인할 이유Solution and explanation

예를 들어 목표 측정 오류, 결측 손실의 선택, 미래 분포 이동, 미검증 행동 배정과 간섭을 들 수 있습니다. 이들은 새로운 자료나 설계·가정을 요구하며 반올림 오차와 다릅니다.

Examples include target measurement error, selection of missing losses, future shift, unverified action assignment and interference. They need data, design or assumptions beyond rounding control.

59. 카드 비평Critique a card

“원자료 3,150개, 정확도 83%, 해시 정상, 모든 고객에게 공정하며 쿠폰 효과 입증”을 어떻게 고치겠는가?

Revise: “3,150 native records, 83% accuracy, valid hash, fair for all customers and coupon effectiveness proven.”

풀이와 확인할 이유Solution and explanation

원자료와 시험 771개의 분모를 나누고 정확도 639/771·양성 132개 재현율 0·정밀도 미정의·임계값 1/2를 씁니다. 해시 형식과 실제 바이트 검증을 구분합니다. 집단 공정성과 쿠폰 효과는 현재 자료로 입증하지 않았다고 명시하고 필요한 평가를 제안합니다.

Separate 3,150 native records from the 771-record test. Report accuracy 639/771, zero recall among 132 positives, undefined precision and threshold one-half. Distinguish hash syntax from byte authentication. Remove unsupported fairness and coupon-effect claims and specify needed evaluation.

60. 완성 보고서의 논리Logic of a complete report

실제 한 사례와 별도 가상 실험을 연결하는 최종 보고서의 결론을 어떻게 구성하는가?

How should a final report connect one factual case with a separate constructed experiment?

풀이와 확인할 이유Solution and explanation

실제 사례에서는 고정 모형·단위·분모·동일 행 A−B·집단 실패·미정의를 보고합니다. 그 결과가 개입 효과가 아님을 명시합니다. 별도 가상 실험에서는 행동·잠재 결과·배정 선언·완전성·단위 비중·팔 크기를 적고 허용될 때만 Neyman 분산을 해석합니다. 원파일·코드·그림을 연결하고 현재 관측 결론, 추가 가정, 다음 수집·실험을 구분합니다. 가상 결과를 실제 현장 성과로 섞지 않는 것이 핵심입니다.

For the factual case report frozen rule, units, denominators, same-row A-minus-B, subgroup failures and undefined metrics, without calling it an intervention effect. For the separate constructed experiment state actions, potential outcomes, declared assignment, completeness, unit weights and arm sizes, interpreting Neyman variance only under its conditions. Link files, code and figures, separating observed conclusions, assumptions and next data collection or experiments. Never merge constructed results into factual field success.

자료와 출처Data and sources

실습에 추가한 실제 입력과 출처Additional observed lab inputs and provenance

실제 자료 사례Actual-data cases · 원자료·단위·결측·변환·출처Inputs, units, missingness, transformations and sources

자료별 확보일·원행 식별·단위·이용 조건은 출처 기록을 확인하세요. 학습 사본은 제공처의 현재 최신 자료와 다를 수 있습니다.Consult each source record for retrieval dates, row identifiers, units and terms. Teaching copies can differ from current provider releases.

자료사전·출처·이용 조건Data dictionary, sources and terms