trains/logger.py
def report_surface(self, title, series, matrix, iteration, xlabels=None, ylabels=None,
                       xtitle=None, ytitle=None, camera=None, comment=None):
        """
        Report a 3d surface (same data as heat-map matrix, only presented differently)

        :param title: Title (AKA metric)
        :type title: str
        :param series: Series (AKA variant)
        :type series: str
        :param matrix: A heat-map matrix (example: confusion matrix)
        :type matrix: ndarray
        :param iteration: Iteration number
        :type iteration: int
        :param xlabels: optional label per column of the matrix
        :param ylabels: optional label per row of the matrix
        :param xtitle: optional x-axis title
        :param ytitle: optional y-axis title
        :param camera: X,Y,Z camera position. def: (1,1,1)
        :param comment: comment underneath the title
        """

        if not isinstance(matrix, np.ndarray):
            matrix = np.array(matrix)

        # if task was not started, we have to start it
        self._start_task_if_needed()

        return self._task.reporter.report_value_surface(
            title=title,
            series=series,
            data=matrix.astype(np.float32),
            iter=iteration,
            xlabels=xlabels,
            ylabels=ylabels,
            xtitle=xtitle,
            ytitle=ytitle,
            camera=camera,
            comment=comment,
        )

        Report a 3d surface (same data as heat-map matrix, only presented differently)

        :param title: Title (AKA metric)
        :type title: str
        :param series: Series (AKA variant)
        :type series: str
        :param matrix: A heat-map matrix (example: confusion matrix)
        :type matrix: ndarray
        :param iteration: Iteration number
        :type iteration: int
        :param xlabels: optional label per column of the matrix
        :param ylabels: optional label per row of the matrix
        :param xtitle: optional x-axis title
        :param ytitle: optional y-axis title
        :param camera: X,Y,Z camera position. def: (1,1,1)
        :param comment: comment underneath the title
        
Report a 3d surface (same data as heat-map matrix, only presented differently)
Report a 3d surface ( same data as heat - map matrix only presented differently )
def report_surface(self, title, series, matrix, iteration, xlabels=None, ylabels=None,
                       xtitle=None, ytitle=None, camera=None, comment=None):
        if not isinstance(matrix, np.ndarray):
            matrix = np.array(matrix)
        self._start_task_if_needed()
        return self._task.reporter.report_value_surface(
            title=title,
            series=series,
            data=matrix.astype(np.float32),
            iter=iteration,
            xlabels=xlabels,
            ylabels=ylabels,
            xtitle=xtitle,
            ytitle=ytitle,
            camera=camera,
            comment=comment,
        )
def report_surface ( self , title , series , matrix , iteration , xlabels = None , ylabels = None , xtitle = None , ytitle = None , camera = None , comment = None ) : if not isinstance ( matrix , np . ndarray ) : matrix = np . array ( matrix ) self . _start_task_if_needed ( ) return self . _task . reporter . report_value_surface ( title = title , series = series , data = matrix . astype ( np . float32 ) , iter = iteration , xlabels = xlabels , ylabels = ylabels , xtitle = xtitle , ytitle = ytitle , camera = camera , comment = comment , )
Report a 3d surface (same data as heat-map matrix, only presented differently)
Report a 3d surface ( same data as heat - map matrix only presented differently )
"""
        Report a 3d surface (same data as heat-map matrix, only presented differently)

        :param title: Title (AKA metric)
        :type title: str
        :param series: Series (AKA variant)
        :type series: str
        :param matrix: A heat-map matrix (example: confusion matrix)
        :type matrix: ndarray
        :param iteration: Iteration number
        :type iteration: int
        :param xlabels: optional label per column of the matrix
        :param ylabels: optional label per row of the matrix
        :param xtitle: optional x-axis title
        :param ytitle: optional y-axis title
        :param camera: X,Y,Z camera position. def: (1,1,1)
        :param comment: comment underneath the title
        """ # if task was not started, we have to start it
self
title
Title (AKA metric)
Title ( AKA metric )
series
Series (AKA variant)
Series ( AKA variant )
matrix
A heat-map matrix (example: confusion matrix)
A heat - map matrix ( example : confusion matrix )
iteration
None
xlabels
optional label per column of the matrix
optional label per column of the matrix
ylabels
optional label per row of the matrix
optional label per row of the matrix
xtitle
optional x-axis title
optional x - axis title
ytitle
optional y-axis title
optional y - axis title
camera
X,Y,Z camera position.
X Y Z camera position .
comment
comment underneath the title
comment underneath the title