correlations

Features.correlations(target_num: int = 0, sort: bool = True) Tuple[ndarray[Any, dtype[str_]], ndarray[Any, dtype[float64]]][source]

Returns the data for the feature correlations, as displayed in the getML monitor.

Args:
target_num (int):

Indicates for which target you want to view the importances. (Pipelines can have more than one target.)

sort (bool):

Whether you want the results to be sorted.

Return:
(numpy.ndarray, numpy.ndarray):
  • The first array contains the names of the features.

  • The second array contains the correlations with the target.