src.report.classification_uncertainty_report

Classes

ClassificationUncertaintyReport(**kwargs)

class src.report.classification_uncertainty_report.ClassificationUncertaintyReport(**kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports related to the uncertainty of classified point clouds.

See Report.

Variables:
__init__(**kwargs)

Initialize an instance of ClassificationUncertaintyReport.

Parameters:

kwargs – The key-word arguments.

Keyword Arguments:
  • class_names (list) – The name for each class.

  • X (np.ndarray) – The matrix of coordinates representing the point cloud.

  • y (np.ndarray) – The vector of point-wise classes (reference).

  • yhat (np.ndarray) – The vector of predicted point-wise classes.

  • Zhat (np.ndarray) – The matrix of point-wise probabilities corresponding to the predicted classes.

  • pwise_entropy (np.ndarray) – The vector of point-wise Shannon’s entropy.

  • weighted_entropy (np.ndarray) – The vector of point-wise weighted Shannon’s entropy.

  • class_ambiguity (np.ndarray) – The vector of point-wise class ambiguities.

to_file(path, out_prefix=None)

Write the report (point cloud) to a file (LAS/LAZ).

Parameters:
  • path (str) – Path to the file where the report must be written.

  • out_prefix (str) – The output prefix to expand the path (OPTIONAL).

Returns:

Nothing, the output is written to a file.