
        metrics=metrics,
        verbose=verbose,
    )


def text_regression_model(name, train_data, preproc=None, metrics=[&#34;mae&#34;], verbose=1):
    &#34;&#34;&#34;
    ```
    Build and return a text regression model.

    Args:
        name (string): one of:
                      - &#39;fasttext&#39; for FastText model
                      - &#39;nbsvm&#39; for NBSVM model
                      - &#39;linreg&#39; for linear regression using embedding layers
                      - &#39;bigru&#39