src.report.pwise_activations_report

Classes

PwiseActivationsReport(**kwargs)

class src.report.pwise_activations_report.PwiseActivationsReport(**kwargs)
Author:

Alberto M. Esmoris Pena

Class to handle reports related to point-wise activations. See Report.

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

  • activations (np.ndarray) – The matrix of features representing the point-wise activations.

  • y (np.ndarray) – The vector of expected classes.

__init__(**kwargs)

Initialize an instance of PwiseActivationsReport

Parameters:

kwargs – The key-word arguments.

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

  • activations (np.ndarray) – The matrix of features representing the point-wise activations.

  • y (np.ndarray) – The expected classes for each point in \(\pmb{X}\).

to_file(path, out_prefix=None)

Write the report (point cloud) to a file (LAZ). :param path: Path to the file where the report must be written. :type path: str :param out_prefix: The output prefix to expand the path (OPTIONAL). :type out_prefix: str :return: Nothing, the output is written to a file.