> For the complete documentation index, see [llms.txt](https://medomicslab.gitbook.io/medomics-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://medomicslab.gitbook.io/medomics-docs/tutorials/development/learning-module/experimental-scene.md).

# Experimental Scene

This page covers everything you need to know about the experimental scene and how it can be used as an initial testing environment.

This new scene type applies the same [new design](/medomics-docs/tutorials/development/learning-module.md#a-new-design-is-here) discussed earlier, but reduces the nodes available while maintaining full experimental capabilities:

* [**Dataset node**](/medomics-docs/tutorials/development/learning-module/initialization.md#dataset-node-your-experiments-starting-point) (previously discussed in Initialization).
* [**Clean node**](/medomics-docs/tutorials/development/learning-module/initialization.md#clean-node-tidy-and-transform-your-data) (previously discussed in Initialization).
* **Compare models node**: Train and evaluate the performance of all estimators available in the [model library](https://pycaret.gitbook.io/docs/get-started/functions/train#model-library).

<figure><img src="https://4288370141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUO0RN9PzFLqAgLEwwaSn%2Fuploads%2FMLIRgfCKQMrnV38nyvZo%2FBreakdownEmptyExpScene.png?alt=media&amp;token=02fee612-ac1b-423a-a184-c702e295ffca" alt=""><figcaption><p>Key differences between the Main and the Experimental scene</p></figcaption></figure>

This setup provides a dedicated testing environment for machine learning experiments, allowing users to evaluate and select the optimal algorithm for their task while having initial performance estimates that can be leveraged to guide the main experiments, as illustrated in the new machine learning workflow.

<figure><img src="https://4288370141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUO0RN9PzFLqAgLEwwaSn%2Fuploads%2F2vVTqARYCue3GweNj3fe%2FExperimentalSceneUsageNew.png?alt=media&amp;token=9ceb3be5-470a-4628-ae49-2c16d0781232" alt=""><figcaption></figcaption></figure>

### Compare Models Node:

Only available in Experimental Mode and used in the Training Box, the Compare Models node lets you efficiently train and evaluate multiple machine learning estimators simultaneously, making it easy to identify the best performer for your task. While offering numerous configuration options for advanced users, the node requires no mandatory settings, and you can start comparing different machine learning algorithms immediately after connecting the node.

Note that the Compare Models node is based on [PyCaret's function *`compare_models()`*](https://pycaret.readthedocs.io/en/stable/api/classification.html#pycaret.classification.compare_models).

<figure><img src="https://4288370141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUO0RN9PzFLqAgLEwwaSn%2Fuploads%2F4gsRdllWJFcMCyolWchq%2FBreakdownCompareModelsNode.png?alt=media&amp;token=a3bc867a-443a-4117-8308-ccc87a428d64" alt=""><figcaption><p>Compare Models Node</p></figcaption></figure>

The results of the Compare Models node contain the complete set of performance metrics for all the machine learning algorithms tested:

<figure><img src="https://4288370141-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUO0RN9PzFLqAgLEwwaSn%2Fuploads%2FKhUq2iz4T408hNvXXy72%2Fimage.png?alt=media&amp;token=e06d6276-59eb-4777-bdf1-d36074c3bb40" alt=""><figcaption><p>Example of Compare Models node results</p></figcaption></figure>

{% hint style="danger" %}
Note that in Experimental mode, the models are trained and tested using a single iteration, resulting in a low bias but a high variance (uncertainty).
{% endhint %}

The final section outlines key practices to avoid for optimal performance and reliable execution within the learning module.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://medomicslab.gitbook.io/medomics-docs/tutorials/development/learning-module/experimental-scene.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
