ML Lab

return to home
{% with msgs = get_flashed_messages() %} {% if msgs %} {% endif %} {% endwith %}
{% if datasets %}
Current dataset: {{ selected_dataset }}
{% else %}

No datasets uploaded yet. Upload a CSV to begin.

{% endif %}
{% if section == 'explore' %}

Explore Data

{% if askai_question %}
Q: {{ askai_question }}
{% if ai_outputs %}

Result

{% for html_block in ai_outputs %}
{{ html_block | safe }}
{% endfor %} {% endif %} {% if ai_code %}
Show Code
{% endif %} {% endif %} {% for cell in data_cells %}

{{ cell.title }}

{{ cell.output|safe }} {% set data_code = cell.code %} {% include 'code_cell.html' %}
{% endfor %} {% elif section == 'analyze' %}

Analyze Data

Statistical tests, group comparison, feature selection, etc. will go here.

{% elif section == 'model' %}

Model

Train/test ML models, evaluate metrics, feature importance, etc. will go here.

{% else %}

Section not found

{% endif %}