pyrad.io.read_centroids#

pyrad.io.read_centroids(fname)[source]#

Reads a file containing the centroids for the semi-supervised classification

Parameters:

fname (str) – name of the file to read

Returns:

mass_centers (2D-array) – Matrix with the centroids as (nclasses, nvariables)