> For the complete documentation index, see [llms.txt](https://bayeslab.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bayeslab.gitbook.io/docs/analyze-visualize/machine-learning.md).

# Machine Learning

Bayeslab can perform simple machine learning model using a single prompt.&#x20;

It's NOT intended to produce most optimized model, but to simply provide this ability to those who doesn't understand ML nor able to use it before. (or a good way to learn)

First please see these at the **Tutorials** menu:

<figure><img src="/files/aEbYYG7vwyZhqVGxOltb" alt=""><figcaption></figcaption></figure>

In each of the sample, you'll find they follow the same pattern:

1. One line to train the model

<figure><img src="/files/KBo4KqbPW1byLEH5iZvk" alt=""><figcaption></figcaption></figure>

2. Another to use the trained model , using double backslash to reference the model in previous step.

<figure><img src="/files/cqgNPN5J1JPzmgTUO2gh" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The model trained is short-lived and will be gone after disconnecting with machine.&#x20;

We're working to automatically preserve these models, stay tuned.
{% endhint %}

In this way, you can try any basic ML model without actually understanding it.

## Copilot Recommendation

We also provide some more guidance in Table Copilot to generate ideas which requires ML model.

<figure><img src="/files/L67wmhmbSC6hTMQ6A4N5" alt=""><figcaption></figcaption></figure>

Try this so you won't need to know which ML model to use for any of the business questions.
