BTW, it's best to follow the PEP257 style for docstrings:

```python
def _dynamic_max_trials(n_inliers, n_samples, min_samples, probability):
    """Determine the maximum number of trials to sample.
    
    This estimates the expected number of sample to draw such that at least one
    outlier-free subset is sampled based on observed ratio of inliers / total
    number of data points.
    """