# Feature Types

[**Feature Types**](http://www.biostat.umn.edu/~will/6470stuff/Class09-12/Handout09.pdf) **- no permission doc**

**Discrete**&#x20;

* **Numbers**&#x20;
* **Categorical**
* **Categorical data are variables that contain label values rather than numeric values.**

**The number of possible values is often limited to a fixed set.**

* **Categorical variables are often called** [**nominal**](https://en.wikipedia.org/wiki/Nominal_category)**.**
* **labels, usually discrete values such as gender, country of origin, marital status, high-school graduate**

**Continuous (the opposite of discrete): real-number values, measured on a continuous scale: height, weight.** <br>

**In order to compute a regression, categorical predictors must be re-expressed as numeric: some form of indicator variables (0/1) with a separate indicator for each level of the factor.**&#x20;

**Discrete with many values are often treated as continuous, i.e. zone numbers - > binary**<br>

[**Variable types:**](http://www.socialresearchmethods.net/kb/measlevl.php) **Nominal(weather), ordinal(order var 1,2,3), interval(range),**&#x20;


---

# Agent Instructions: 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:

```
GET https://www.mlcompendium.com/foundation-knowledge/feature-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
