professor2.ml package

Submodules

professor2.ml.histos module

class professor2.ml.histos.MLBin(xmin, xmax, X, Y, pnames=None)

Bases: professor2.histos.Bin

A bin containing a value Machine Learning

mlval
toDataBin(*params)

Convert this NNBin to a DataBin with values at params

val(*params)

Get the ML prediction of this bin

class professor2.ml.histos.MLHisto(nnbins=None, path=None)

Bases: professor2.histos.Histo

Specialisation of Histo as a container of MLBins

toDataHisto(*params)

Convert this IpolBin to a DataBin with values and errors computed at params

professor2.ml.histos.mk_MLHisto(histos, runs, paramslist, paramnames=None)

Module contents