# 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="https://2463519681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjXlg9zqMASkILutGQsH%2Fuploads%2FaeztsnuQ8RzXcSmVaaKu%2Fimage.png?alt=media&#x26;token=f2de38a9-3b72-460f-a19e-a73bdd8d8e07" 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="https://2463519681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjXlg9zqMASkILutGQsH%2Fuploads%2FrpIhKOxKfxBs9yF9VNGj%2Fimage.png?alt=media&#x26;token=c387154e-7f8a-45c2-87c6-dd7b43980ab4" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2463519681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjXlg9zqMASkILutGQsH%2Fuploads%2FxtOWKD5C0RcmMlAA0Xmp%2Fimage.png?alt=media&#x26;token=936ceeb8-94f1-46fc-945e-6ce184ba861e" 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="https://2463519681-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLjXlg9zqMASkILutGQsH%2Fuploads%2FxoYLcWnEko8nHf5n4803%2Fimage.png?alt=media&#x26;token=c0207455-4773-4fd7-83ca-1392a0f2764f" alt=""><figcaption></figcaption></figure>

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