ML Lab
return to home
Explore
Resize dataset
Explore
{% with msgs = get_flashed_messages() %} {% if msgs %}
{% for m in msgs %}
{{ m }}
{% endfor %}
{% endif %} {% endwith %}
Upload CSV
{% if datasets %}
Select dataset:
{% for ds in datasets %}
{{ ds }}
{% endfor %}
Current dataset:
{{ selected_dataset }}
🗑️
{% else %}
No datasets uploaded yet. Upload a CSV to begin.
{% endif %}
{% if section == 'explore' %}
Explore Data
Ask {{ smxAI }}:
Submit
{% if askai_question %}
Question:
{{ askai_question }}
▶
Reasoning Process
{{ refined_question|e }}
{% if tasks %}
Tasks Performed:
{% for task in tasks %}
{{ task.replace('_', ' ').capitalize() }}
{% endfor %} {% endif %}
{% if TOKENS %}
Assistant Agent:
{{ TOKENS['Refiner'][0] }} | {{ TOKENS['Refiner'][1] }}
Token Usage:
Input Tokens: {{ TOKENS['Refiner'][2] }}
Output Tokens: {{ TOKENS['Refiner'][3] }}
Total Tokens: {{ TOKENS['Refiner'][4] }}
Coder Agent:
{{ TOKENS['Coder'][0] }} | {{ TOKENS['Coder'][1] }}
Token Usage:
Input Tokens: {{ TOKENS['Coder'][2] }}
Output Tokens: {{ TOKENS['Coder'][3] }}
Total Tokens: {{ TOKENS['Coder'][4] }}
{% endif %}
{% endif %}
{% if ai_outputs %}
Result
{% for html_block in ai_outputs %}
{{ html_block | safe }}
{% endfor %}
{% endif %} {% if ai_code %}
Show Code
{{ highlighted_ai_code|safe }}
Copy
{% endif %}
{% for cell in data_cells %}
{{ cell.title }}
{{ cell.output|safe }}
{% if cell.highlighted_code %}
Show code
{{ cell.highlighted_code|safe }}
{% endif %}
{% endfor %}
{% endif %}