Akaike information criterion for the current model on the input X.
You can refer to this mathematical section for more
details regarding the formulation of the AIC used.
- Parameters:
- X
array of shape (n_samples, n_dimensions) The input samples.
- Returns:
- aic
float The lower the better.