> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/tools/data_science/buildmodel.md).

# Build Model

{% hint style="info" %}
This tool is currently in Beta and is still being tested. Want to learn more? Like to provide feedback? Please reach out to <support@cascade.io>
{% endhint %}

Build Model allows you to train a predictive model based on training data.

### Input/Output

| Inputs                                                                                                                                                                                                                                  | Outputs       |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
| **Training table** - must include column to use as the Target Variable (the variable you want the model to predict) and at least one column to use as the Predictor Variable (the variables that you think predict the Target Variable) | Trained model |

### Options

| Option                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Model Type**          | <p>The type of algorithm used to predict your Target Variable. The best model type will depend on your Target Variable. Includes the following options:</p><ul><li><strong>Linear Regression</strong>: used with continuous, numeric Target Variables</li><li><strong>Logistic Regression</strong>: used with binary or categorical Target Variables</li><li><strong>Decision Tree Classifier</strong>: used with categorical Target Variables</li><li><strong>Decision Tree Regressor</strong>: used with continuous, numeric Target Variables.</li></ul> |
| **Target Variable**     | Column in the source table you want the model to predict                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| **Predictor Variables** | Column(s) in the source table you think could predict your Target Variable                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cascade.io/cascade/tools/data_science/buildmodel.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
