healpix_resample.CategoricalResampleResults#
- class healpix_resample.CategoricalResampleResults(cell_data, cell_ids, cg_residual_norms=None, cg_niters=None, classes=None, scores=None)[source]#
ResampleResultsreturned byCategoricalResampler.resample().- classes#
The distinct class labels found in the
maskpassed toresample(), in the same order asscores’s leading axis.Noneunlessreturn_scores=True.- Type:
numpy.ndarrayortorch.TensororNone
- scores#
Softmax-normalized per-class score, shape
(n_classes, K).Noneunlessreturn_scores=True– seeresample()’s docstring for the softmax temperature and what it means for differentkernelchoices.- Type:
numpy.ndarrayortorch.TensororNone
- __init__(cell_data, cell_ids, cg_residual_norms=None, cg_niters=None, classes=None, scores=None)#
Methods
__init__(cell_data, cell_ids[, ...])Attributes