Available at: https://digitalcommons.calpoly.edu/theses/3459
Date of Award
12-2026
Degree Name
MS in Computer Science
Department/Program
Computer Science
College
College of Engineering
Advisor
Sumona Mukhopadhyay
Advisor Department
Computer Science
Advisor College
College of Engineering
Abstract
Feature selection can still find genomic signal for clinical mastitis in dairy cattle, even when almost every advantage is stripped away. Mastitis combines four compounding constraints: far more features than samples (624,300 single nucleotide polymorphisms, or SNPs, across 1,850 cows), severe class imbalance (5% prevalence), a heritability of only 0.02 to 0.06, and no known causal variants. With so little of the disease heritable, breed and herd-year carry most of the predictable risk, so any genomic signal must be found beyond them. This thesis compares two univariate and two multivariate feature selection methods against covariate-only and random-selection baselines, using repeated 10-fold cross-validation and three downstream classifiers. Only the univariate methods find signal beyond breed and herd-year: with two of the three classifiers, their 500- and 1,000-SNP panels raise the area under the precision–recall curve by 0.006 to 0.013 over a covariate-only value of 0.069 to 0.076, a relative gain of up to 17%.
Without ground truth, and with standard single-SNP knockoffs (the leading framework for controlled discovery) proving infeasible on these genotypes, feature selection must be judged through proxies, and a synthetic benchmark with planted causal SNPs shows which proxies to trust. Stability, how consistently a method selects the same SNPs across data splits, ranked the methods closely to how many causal SNPs each actually found, while predictive performance did not. Yet a method can stably select noise, so prediction must first show meaningful signal before stability ranks the methods. On the real data, the multivariate methods trailed on both; a stability measure that credits correlated neighbors traces much of their instability, but not their weaker prediction, to swapping SNPs for near-copies.
The univariate gain is as large as such low heritability allows, and it concentrates where it matters most. Among the 5% of cows ranked riskiest, their 500-SNP panels caught 10 to 11% of all cases, against 6% for breed and herd-year alone. Because breed and herd-year can only rank whole groups of cows, this suggests they suit flagging high-risk groups, while compact genomic panels help pinpoint the individual cows most at risk.
Notes
I would like a 2 year embargo