# Import statement
from hottbox.rank import rankest
rankest
(tensor, rank_range, epsilon=0.01, verbose=False)[source]¶Estimate the optimal Kruskal rank of a tensor
Multi-dimensional data which Kruskal rank is to be estimated
List of rank values to be tested
Threshold for the relative error of approximation.
Enable verbose output
Optimal Kruskal rank. For consistency, the type of the returned value is tuple