# TensorFlow

{% hint style="warning" %}
ML Feature has been updated in v3.1.2 more information will follow soon.
{% endhint %}

{% hint style="info" %}
supported in v2.1.0^
{% endhint %}

<figure><img src="/files/qwiJWACITbMWFWhmwqaR" alt=""><figcaption><p>Machine Learning window Feelix v3.0.0</p></figcaption></figure>

### Collecting Data

The sensor data from the motor can be collected and used to train a Neural Network. The data can be stored for lated used or exported.\
\
Play your effects in the main window, add the **Microcontroller** *(bottom left)* you want to record from , select the input variables you want to collect below **Inputs** *(top, middle)* and hit **Record** *(toolbar on the right)*. Now the interactions with the motor will be recorded and added to the data set. \
\
The data sets can be trimmed into smaller sections using the **trim** button *(toolbar on the right: scissors)*. Each set is associated with a classifier to label the data for training purposes, the classifier can be changed using the dropdown in the toolbar above the data graph.&#x20;

Datasets can be **saved** locally using the buttons in the toolbar *(right)*. They can also be **exported** and imported as json file. All datasets that are included in the list will be included in the training process.

### Initializing and Training a Model

The basic settings of the model can be adjusted to improve the output of the model. \
All the data listed below files will be used as training data. \
Select the **Open File** button to add data sets that have been saved earlier.&#x20;

### Classifying Data

When the model has been trained with the data, the interactions with the motor can be classified using predefined labels. Select **Deploy** to test the model.

{% hint style="info" %}
Filters are not working yet. More features will be added to explore with machine learning in haptic and shape changing interfaces.
{% endhint %}


---

# 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://docs.feelix.xyz/create-and-edit-files/tensorflow.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.
