Correlation Plot
A Callable for generating a pairwise correlation plot (heatmap).
Definition
- class controller.callable.outputter.CorrelationPlot(self, column_names: list[ColumnReference], title: str)
- Callable name:
correlation_plot- Callable type:
- Parameters:
column_names (list[ColumnReference]) – A list of column references where the selected columns are compared for pairwise correlation.
title (str) – The title of the plot.
Parameters
- column_names
A list of column references where the selected columns are compared for pairwise correlation.
- Type:
- Required:
True
- Choices:
All columns in the target DataFrame
Output
A DataFrame is returned where it contains two columns matching the output conventions of an Outputter.
The
datacolumn contains the generated correlation plot (heatmap) in PNG format.The
typecolumn indicates the data type to beimage/png.
Example configuration
{
"name": "foo",
"callable": "correlation_plot",
"params": {
"column_names": [
"$get_students_submissions.student.admission_year"
"$get_students_submissions.student.program"
"$get_students_submissions.submission.score"
],
"title": "Correlation"
}
}