{% extends "base.html" %} {% block title %}Configure Model - Data2Model{% endblock %} {% block content %}
Dataset Summary — {{ data.filename }}
{{ data.analysis.shape[0] }}
Rows
{{ data.analysis.shape[1] }}
Columns
{{ data.analysis.numeric_columns|length }}
Numeric
{{ data.analysis.categorical_columns|length }}
Categorical
Detected Column Types:
{% for col in data.analysis.columns %} {% if col in data.analysis.categorical_columns %} {{ col }} (cat) {% else %} {{ col }} (num) {% endif %} {% endfor %}
Blue = numeric, Yellow = categorical. You can override below.
{% if data.analysis.duplicates > 0 %}
{{ data.analysis.duplicates }} duplicate rows will be removed automatically.
{% endif %}
{% if data.viz_plots %}
Data Dashboard
{% if data.viz_plots.data_quality %} Data Quality {% endif %}
{% if data.viz_plots.correlation_heatmap %} Correlation Heatmap {% else %}
Not enough numeric columns for correlation heatmap.
{% endif %}
{% if data.viz_plots.numeric_histograms %} Numeric Histograms {% endif %}
{% if data.viz_plots.categorical_distributions %} Categorical Distributions {% endif %}
{% endif %}
{% if data.analysis.missing_values %}
Null Value Imputation

Configure how missing values are handled for each feature. Statistical imputation is highly recommended to prevent unnecessary data loss compared to deleting records.

{% for col in data.analysis.columns %} {% set count = data.analysis.missing_values.get(col, 0) %} {% if count > 0 %} {% endif %} {% endfor %}
Column Missing Count Type Imputation Strategy
{{ col }} {{ count }} missing {% if col in data.analysis.categorical_columns %} Categorical {% else %} Numeric {% endif %}
{% endif %} {% if data.analysis.numeric_columns %}
Data Type Override (optional)

Numeric columns detected below. If any column is actually a category / product code / identifier (e.g. ID, category numbers), tick the box so it gets correctly treated as a categorical column rather than scaled as a continuous value.

{% for col in data.analysis.numeric_columns %}
{% endfor %}
{% endif %}
Drop Columns (optional)

Select any columns you want to completely delete from the dataset before training. These columns will be ignored.

{% for col in data.analysis.columns %}
{% endfor %}
Problem Configuration
The column you want to predict
{% if data.analysis.numeric_columns %}
Scaling — Numeric Columns

Choose a scaling method per column. Continuous features are standardly scaled, while categorical overrides will be excluded.

{% for col in data.analysis.numeric_columns %} {% endfor %}
ColumnScaling Method
num {{ col }}
{% endif %}
Encoding — Categorical Columns

Choose an encoding method per column. Each column can use a different method.

{% for col in data.analysis.categorical_columns %} {% endfor %} {% if data.analysis.numeric_columns %} {% for col in data.analysis.numeric_columns %} {% endfor %} {% endif %}
ColumnUnique ValuesEncoding Method
cat {{ col }} {{ data.analysis.col_stats[col].unique }}
Back to Home
{% endblock %}