      metrics=metrics,
        verbose=verbose,
    )</code></pre>
</details>
</dd>
<dt id="ktrain.text.models.text_regression_model"><code class="name flex">
<span>def <span class="ident">text_regression_model</span></span>(<span>name, train_data, preproc=None, metrics=['mae'], verbose=1)</span>
</code></dt>
<dd>
<div class="desc"><pre><code>Build and return a text regression model.

Args:
    name (string): one of:
                  - 'fasttext' for FastText model
                  - 'nbsvm' for NBSVM mod