IdentityFitter
Class for using classifier scores directly as global scores
[class] IdentityFitter
comments:
class for propagating classifier output scores (e.g. MSE) to global lumisection score
⤷ __init__
full signature:
def __init__(self)
comments:
empty constructor
⤷ fit
full signature:
def fit(self, points)
comments:
fit to a set of points
input arguments:
- points: a numpy array of shape (npoints,ndims)
note that ndims is supposed to be 1,
else this type of classifier is not well defined.
full signature:
def pdf(self, points)
comments:
get pdf at points
⤷ save
full signature:
def save(self, path)
comments:
save this fitter (dummy for now since nothing to be saved)
⤷ load
full signature:
def load(self, path)
comments:
load this fitter (dummy for now since nothing to be loaded)