7.7.10. mclearn.viz.reshape_grid_socres¶
-
mclearn.viz.
reshape_grid_socres
(grid_scores, row_length, col_length, transpose=False)[source]¶ Reshape the scores to be used as input for the heathap.
- grid_scores : array
- The grid scores obtain from the GridSearch insteance.
- row_length : int
- The width of the heatmap.
- col_length : int
- The height of the heatmap.
- transpose : boolean
- Whether to tranpose the heatmap (e.g. for easier viewing).
Returns: scores – The array of scores, shaped appropriately. Return type: array