.. _method-multilevel_function_train-max_rank:

""""""""
max_rank
""""""""


Limits the maximum rank that is explored during a rank adaptation.


.. toctree::
   :hidden:
   :maxdepth: 1



**Specification**

- *Alias:* None

- *Arguments:* INTEGER

- *Default:* size_t max


**Description**


The ``adapt_rank`` procedure increments the rank on each iteration, and
the maximum value is limited by ``max_rank``

*Default Behavior*

Max rank is unbounded (adaptive sweep will stop when CV error increases).