A thermistor's resistance is measured at known temperatures (in )
PHYSICS · Multi-part · Fermi University Physics · Scientific Practice & Experimental Methods · Computational Physics · Data analysis and model fitting in the laboratory
Scientific Computing for Physicists, Ch Learning from physical data: regression, classification and principal components
Problem
A thermistor's resistance R is measured at N=6 known temperatures T (in ∘C), with each measurement subject to independent Gaussian noise of known standard deviation σ=0.8Ω. The candidate model is the straight line R(T)=θ0+θ1T. Data: for T=0,20,40,60,80,100∘C the measured resistances are R=10.2,19.8,30.5,39.6,51.0,60.3Ω respectively.
((a)) State the supervised learning problem: identify the design matrix, the parameter vector θ=(θ0,θ1), and write the loss as the negative log-likelihood of the Gaussian noise model.
((b)) Show that minimising this negative log-likelihood over θ is equivalent to ordinary least squares.
((c)) Evaluate the negative log-likelihood, in nats, for the trial parameters θ0=10Ω, θ1=0.5Ω/∘C, using the tabulated data.