# Evaluate a regression model

> Evaluate a regression model - Evaluate a regression model using the DataRobot UI.

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-05-06T18:17:09.948762+00:00` (UTC).

## Primary page

- [Evaluate a regression model](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html): Full documentation for this topic (HTML).

## Sections on this page

- [Assets for download](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html#assets-for-download): In-page section heading.
- [Stack Overflow survey data](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html#stack-overflow-survey-data): In-page section heading.
- [Building a model](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html#building-a-model): In-page section heading.
- [Model evaluation and interpretation](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html#model-evaluation-and-interpretation): In-page section heading.
- [Make predictions with the model](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html#make-predictions-with-the-model): In-page section heading.
- [Review the results](https://docs.datarobot.com/en/docs/get-started/how-to/evaluate-regression-model.html#review-the-results): In-page section heading.

## Related documentation

- [Get started](https://docs.datarobot.com/en/docs/get-started/index.html): Linked from this page.
- [How-tos](https://docs.datarobot.com/en/docs/get-started/how-to/index.html): Linked from this page.
- [Introduction to data analysis in DataRobot](https://docs.datarobot.com/en/docs/get-started/how-to/intro-to-eda.html): Linked from this page.
- [Start modeling setup](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/create-experiments/create-predictive/ml-basic-experiment.html#start-modeling-setup): Linked from this page.
- [Compare models](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/manage-experiments/compare-models.html): Linked from this page.
- [Evaluate with model insights](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/experiment-insights/index.html): Linked from this page.
- [Make predictions](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/make-predictions.html): Linked from this page.

## Documentation content

This walkthrough uses machine learning to identify how different survey responses predict developer salaries.
Think of this in the context of a Human Resources department determining the salary of an individual based on the experience needed for the position.
Because the model needs to predict a number, this is a regression problem.

## Assets for download

To follow this walkthrough, download the datasets that will be used to train and evaluate a regression model below.
The first is the training dataset, which will be used to build the model.
The second is the test dataset, which will be used to generate predictions.

[Download the training dataset](https://datarobot-doc-assets.s3.us-east-1.amazonaws.com/StackOverflow.csv)

[Download the test dataset](https://datarobot-doc-assets.s3.us-east-1.amazonaws.com/test_set_usd.csv)

> [!NOTE] Important
> Follow the steps detailed in the [Introduction to data analysis in DataRobot](https://docs.datarobot.com/en/docs/get-started/how-to/intro-to-eda.html) walkthrough to upload the dataset and prepare it for modeling.

### Stack Overflow survey data

Stack Overflow runs an annual survey that captures the feedback of thousands of developers.
The survey collects an array of information, including favorite technologies, preferences for job types, and even salaries.

The data from this version of the survey:

- Was collected in 2019.
- Is anonymized and published online.
- Contains over 90,000 responses.
- Consists of many different information types (such as text and categoricals).
- Is more than just a few hundred rows.

## Building a model

Now that the data has been uploaded and analyzed, it is time to build a model.
The steps in this section will build a model that can be used to predict the salary amount, which is indicated by the `CompTotal` feature.

1. ClickData actions > Start modeling.
2. In theSet up new experimentwindow, specifyCompTotalin theTarget featurefield.
3. Leave the remaining fields at their defaults and clickNext >. NoteFor more details on the additional settings, seeStart modeling setup.
4. Leave all partitioning changes fields at their defaults and clickStart modeling.
5. DataRobot begins building the models.
6. After a few moments, the Model Leaderboard appears and indicates the training progress. Model build timeModel build time can vary depending on the size of the dataset. When it completes, theWorkerspane displaysNo jobs currently running.

For details on how to assess the various models after they are built, see [Compare models](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/manage-experiments/compare-models.html).

## Model evaluation and interpretation

Now that a set of models are ready for analysis, select the top model and explore its details.
DataRobot flags the most accurate model as Prepared for deployment in the Model Leaderboard.

Click the model to view more detailed information about it.
Use the tabs in the Details pane to explore various insights, as highlighted below.

These tabs provide a quick overview of the evaluation metrics available.
Click Explanations > Individual Prediction Explanations and then Compute to have DataRobot generate the number of predictions for each row in the dataset.

As seen in the graph above, the model shows the expected salary range based on the features in the dataset.
The table below the graph provides a sample of five predictions from the model as an example of its results.
Click one of the predictions to see its details.

For more details on how to evaluate a model and explanations for what each insight means, see [Evaluate with model insights](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/experiment-insights/index.html).

## Make predictions with the model

When the most accurate model has been identified and selected, it can be used to make predictions.

1. ClickModel actions >Make predictions.
2. In theMake Predictionswindow, specify the dataset to use for predictions. In this case, use the test dataset by clickingChoose file > Upload a local file. Browse to the files downloaded in theAssets for downloadsection and select thetest_set_usd.csvfile.
3. Once the new data is uploaded and processed, clickCompute and download predictionsto generate the predictions. This process can take some time, depending on the size of the dataset.

For a deeper dive into making predictions, see [Make predictions](https://docs.datarobot.com/en/docs/workbench/nxt-workbench/experiments/make-predictions.html).

## Review the results

Once the predictions are successfully generated, review them to see how well the model performed by opening the downloaded predictions file using a spreadsheet application.
Alternatively, the predictions can be viewed in DataRobot by clicking Workbench and selecting your Use Case from the table.

Once the uploaded file registers, click the new dataset to view the predictions.
