# Application Module

This is where our file `patient_ID.csv` comes in handy. We're going to use the data in that file to test our model performance. Since we only registered the AdmDemo model, we will have 13 variables to file : age and sex, admission characteristics (10) and patient\_id.

### Manual Sample entry

Once you open the **Application Module**, select the **AdmDemo** model that was previously saved in the Learning Module.

After selecting the model, a list of input fields corresponding to each feature used during training will appear. You must manually enter a value for every variable required by the model.

For demonstration purposes, we saved the *simplest version* of the model (the one with fewer input variables). This makes the manual data entry process clearer and easier to follow.

To illustrate the procedure, we selected the data corresponding to **Patient 16** from the saved dataset. These values can either:

* Be entered manually by referring to the saved file, or
* Be copied directly from the figure shown below.

This allows users to reproduce the exact same prediction and verify the consistency of the Application Module.

<figure><img src="/files/E3XQaGVkBHXvT3SxS0d6" alt=""><figcaption><p>Manual Sample Entry for patient 16</p></figcaption></figure>

Once all the values have been filled in:

1. Review the entries to ensure they are correct.
2. Click the **“Predict”** button.
3. Wait a few seconds for the model to generate the prediction result.

The result displayed is in the figure below:&#x20;

<figure><img src="/files/i87MxQH3I6vaVvCJlDxf" alt=""><figcaption><p>Predicted value for the patient</p></figcaption></figure>

The predicted target value (0) is aligned with the true target value, which is False.

This demonstrates how we can use the Application module to deploy and test on trained machine learning models on unseen data.&#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://medomicslab.gitbook.io/medomics-docs/proofs-of-concept/ml-with-synthetic-data/application-module.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.
