healpix_resample.CategoricalResampleResults#

class healpix_resample.CategoricalResampleResults(cell_data, cell_ids, cg_residual_norms=None, cg_niters=None, classes=None, scores=None)[source]#

ResampleResults returned by CategoricalResampler.resample().

classes#

The distinct class labels found in the mask passed to resample(), in the same order as scores’s leading axis. None unless return_scores=True.

Type:

numpy.ndarray or torch.Tensor or None

scores#

Softmax-normalized per-class score, shape (n_classes, K). None unless return_scores=True – see resample()’s docstring for the softmax temperature and what it means for different kernel choices.

Type:

numpy.ndarray or torch.Tensor or None

__init__(cell_data, cell_ids, cg_residual_norms=None, cg_niters=None, classes=None, scores=None)#

Methods

__init__(cell_data, cell_ids[, ...])

Attributes

cg_niters

cg_residual_norms

classes

scores

cell_data

cell_ids