NLP Flow
Pipelines típicas
📉 Regresión (OLS / Ridge / Lasso)

Predice un valor numérico continuo — por ejemplo el precio de una vivienda o el consumo energético — a partir de variables numéricas y categóricas. El bloque Reg. Lineal ofrece OLS, Ridge y Lasso con selección automática del mejor λ por validación cruzada.

📂 Datos
🔧 Preprocesado
📉 Reg. Lineal
📋 Evaluación
💾 Guardar
BloqueQué hace
📂 DatosSube tu propio CSV tabular
🔧 PreprocesadoImputa nulos, escala con StandardScaler, codifica categóricas
📉 Reg. LinealEntrena OLS / Ridge / Lasso; muestra RMSE, MAE, R² y gráficas de residuos
📋 EvaluaciónMétricas detalladas sobre el split de test
💾 GuardarExporta el modelo .pkl y los plots .zip
🏷 Clasificación tabular (Logística / KNN / RF / SVM)

Asigna cada fila a una categoría — por ejemplo riesgo de paciente o tipo de cliente. El bloque Entrena vectoriza con TF-IDF para texto o usa directamente las columnas numéricas para datos tabulares, y entrena el clasificador seleccionado.

📂 Datos
🔧 Preprocesado
🧠 Entrena
📋 Evaluación
BloqueQué hace
📂 DatosCarga el dataset y selecciona la columna objetivo (label)
🔧 PreprocesadoNormaliza, imputa y codifica; detecta modo tabular automáticamente
🧠 EntrenaLogística, KNN, Random Forest o SVM — configurable con hiperparámetros
📋 EvaluaciónAccuracy, F1, AUC-ROC, matriz de confusión
Puedes añadir un bloque 💾 Guardar al final para exportar el modelo entrenado como .pkl.
🔬 Exploración de datos

Antes de entrenar cualquier modelo, conviene entender el dataset: distribuciones, valores ausentes, correlaciones y desbalanceo de clases. Esta pipeline no genera un modelo — su objetivo es dar contexto para decidir qué preprocesado y qué algoritmo aplicar.

📂 Datos
🔬 Análisis
o
📊 Plots
BloqueQué hace
📂 DatosSube cualquier CSV tabular
🔬 AnálisisEstadísticas descriptivas, tipos de columna, nulos y correlación
📊 PlotsHistogramas, boxplots, dispersión y distribución de la variable objetivo
Ambos bloques pueden usarse a la vez conectados al mismo nodo Datos.
🧠 Clasificación NLP (texto)

Clasifica documentos o frases en categorías predefinidas — por ejemplo detección de spam, análisis de sentimiento o clasificación de noticias. El preprocesado detecta automáticamente que la entrada es texto y aplica limpieza, stemming o lematización según lo configurado.

📂 Datos
🔧 Preprocesado
🧠 Entrena
🎯 Clasifica
BloqueQué hace
📂 DatosCarga un CSV NLP indicando columna de texto y etiqueta
🔧 PreprocesadoLimpieza, normalización, remove punctuation, stopwords, stemming / lemmatización (ES/EN)
🧠 EntrenaVectoriza con TF-IDF y entrena Naive Bayes, Logística, KNN, RF o SVM
🎯 ClasificaPredice en tiempo real sobre texto libre; muestra clase y distribución de probabilidades
Carga de datos

El bloque 📂 Datos solo acepta CSV subido por el usuario. No hay datasets predeterminados.

Arrastra tu CSV a la zona de carga o usa el selector de archivo. Tras la carga, configura la columna objetivo y el tipo de tarea.
Pipeline Topic Model
¿Qué es Topic Modeling?

El topic modeling es aprendizaje no supervisado: el modelo descubre automáticamente los temas latentes de un corpus de texto sin necesitar etiquetas. A diferencia de clasificación, no hay variable objetivo — el algoritmo agrupa palabras y documentos por co-ocurrencia estadística.

Flujo completo

📂 Datos
🔧 Preprocesado
🗂 Topic Model
💾 Guardar
Algoritmos disponibles
AlgoritmoBase matemáticaMejor para
LDAProbabilístico (Dirichlet)Texto general, muchos documentos
NMFFactorización matricial no negativaTópicos más limpios, corpus pequeños
LSAÁlgebra lineal (SVD)Semántica latente, sinónimos
💡 El bloque vectoriza internamente con CountVectorizer (LDA) o TfidfVectorizer (NMF/LSA). No hace falta un bloque BoW previo.
Lo que ve el estudiante
  • Tópicos con palabras clave — tabla con las N palabras más relevantes por tópico
  • Word clouds — una nube de palabras por tópico, generada automáticamente
  • Topic diversity — métrica 0–1 de cuán distintos son los tópicos entre sí (1 = máxima diversidad)
  • C_V — coherencia basada en similitud coseno de vectores NPMI indirectos; rango [0, 1], mayor es mejor
  • C_NPMI — NPMI pairwise promedio de las palabras clave; rango [−1, 1], valores positivos indican co-ocurrencia relevante
  • Distribución de documentos — qué porcentaje de cada documento pertenece a cada tópico
Parámetros clave
ParámetroDescripción
Nº tópicos (K)Cuántos temas extraer del corpus; probar K = 5, 8, 10, 15, 20 para encontrar el óptimo
Vocabulario máximoPalabras más frecuentes del corpus incluidas en la matriz (100–5 000); valores bajos como 500 pueden limitar la coherencia
Palabras por tópicoCuántas palabras clave mostrar por tópico
IteracionesPasadas de optimización (hasta 2 000); más = mayor coherencia para LDA; para convergencia se para automáticamente
AlgoritmoLDA, NMF o LSA — selector en el panel lateral
Etiquetado automáticoOpcional: etiqueta cada tópico con un nombre generado por el LLM, en el idioma del corpus
⚙️ Parámetros avanzados (sección desplegable en el panel)
min_df — frecuencia mínima de documento: elimina términos rarísimos (valores: 1–10).
max_df — fracción máxima de docs en que puede aparecer un término: elimina palabras demasiado comunes (0.1–1.0).
Stopwords — activa el filtrado automático de stopwords según el idioma detectado del corpus.
Alpha (solo LDA) — prior doc-tópico: valores bajos (0.01–0.1) concentran cada documento en pocos tópicos; recomendado para corpus con categorías bien definidas como BBC News.
Beta (solo LDA) — prior tópico-palabra: valores bajos (0.01–0.05) generan tópicos más especializados.
Guardar resultados
  • Conecta el bloque Topic Model → Guardar
  • El bloque Guardar detecta que la entrada es un topic model y ofrece exportar:
  • 📁 Carpeta de word clouds — una imagen PNG por tópico
  • 📄 Informe HTML — topic keys, coherencia, topic diversity y word clouds en un HTML autónomo
  • El informe se genera en ES o EN según el idioma activo de la app
⚠️ El etiquetado automático de tópicos requiere HF_TOKEN en .env. Sin él el modelo muestra las palabras clave sin etiqueta.
Diferencias clave respecto a clasificación NLP
Clasificación NLPTopic Model
SupervisiónSupervisado (necesita etiquetas)No supervisado (sin etiquetas)
Variable objetivoSí — Label columnNo — el bloque Datos no la muestra
Pipeline previoPreprocesado NLP → EntrenaPreprocesado NLP → Topic Model
SalidaClase predicha + probabilidadesTópicos + palabras clave + coherencia
EvaluaciónAccuracy, F1, matriz de confusiónTopic diversity, coherencia (C_v)
Pipeline RAG
¿Qué es RAG?

RAG (Retrieval-Augmented Generation) combina búsqueda semántica y generación de texto. El LLM recibe los fragmentos más relevantes de tu corpus como contexto en el prompt — la diferencia entre "sin RAG" y "con RAG" es literalmente más texto en el input.

Flujo completo

📂 Datos
✂️ Chunking
🧬 Embeddings
🔎 Retriever
🤖 LLM (RAG)
💾 Guardar
Configuración necesaria

El bloque LLM usa la API de Hugging Face. Crea un fichero .env en la raíz del proyecto:

HF_TOKEN=hf_tutoken
HF_LLM_MODEL=meta-llama/Llama-3.1-8B-Instruct

Los embeddings funcionan sin token (modelo all-MiniLM-L6-v2).

⚠️ Sin HF_TOKEN el bloque LLM no generará respuestas. Los demás bloques RAG (Chunking, Embeddings, Retriever) funcionan sin él.
Qué ve el estudiante
  • Sin RAG: el LLM responde solo con su conocimiento preentrenado
  • Con RAG: el LLM recibe los N fragmentos más similares del corpus como contexto
  • Las dos respuestas aparecen en paralelo para comparar
  • El bloque Guardar exporta un informe HTML con toda la sesión
Parámetros clave
ParámetroBloqueDescripción
Modo chunking✂️ ChunkingAutomático (por palabras) o 1 chunk por documento
Tamaño chunk✂️ ChunkingNº de palabras por fragmento (modo automático; por defecto 100)
Solapamiento✂️ ChunkingPalabras compartidas entre chunks consecutivos para conservar contexto
Top-K🔎 RetrieverCuántos fragmentos recuperar por consulta
System prompt🤖 LLMInstrucciones base del modelo, editable en el bloque
HF_LLM_MODEL.envModelo LLM usado (por defecto meta-llama/Llama-3.1-8B-Instruct)
📄 Informe HTML de la sesión RAG — incluye corpus, nº de documentos, nº de embeddings generados, configuración de chunking, tiempo de generación de embeddings, tiempo de respuesta LLM, fragmentos recuperados y comparativa sin RAG / con RAG.
Pipeline Clasificación de Imagen (CNN)
¿Qué se aprende?

Una red neuronal convolucional (CNN) entrenada desde cero con PyTorch aprende a distinguir clases visuales directamente de los píxeles. El estudiante ve cómo el modelo mejora época a época sin escribir una sola línea de código.

Flujo completo

📷 Datos Imagen
🔧 Preprocesado
🧠 CNN
📋 Evaluación
💾 Guardar
Datasets incluidos
  • MNIST — 70 000 dígitos escritos a mano (0–9), escala de grises 28×28. Descarga automática vía torchvision.
  • Chihuahua vs Muffin — 299 imágenes a color. El clásico reto visual. Descarga automática desde Hugging Face.
  • Cats vs Dogs — ~23 000 imágenes a color. ⚠️ Descarga pesada ~720 MB. Se usa una muestra de 2 000 imágenes para CPU.
Preprocesado de imagen
  • Resize — 28 a 128 px (cuadrado)
  • Normalización — [0,1] o media/std
  • Data augmentation — flip horizontal, rotación ±15°, recorte aleatorio. Solo sobre el conjunto de train (nunca val ni test).
  • Factor de multiplicación — x1 a x5 copias aumentadas por imagen
  • Test split — 10/15/20/25% configurable
CNN — parámetros configurables
ParámetroOpcionesEfecto
Épocas1–20 (slider + input manual)Más épocas → modelo más entrenado, pero riesgo de sobreajuste
Learning rate0.01 / 0.001 / 0.0001Velocidad de actualización de pesos
Capas conv1 / 2 / 3Profundidad de la red — más capas detectan patrones más complejos
Val split10 / 20 / 30%Porcentaje del train para monitorear el entrenamiento
El botón Train se bloquea mientras hay un entrenamiento en curso. Usa Nueva run para comparar configuraciones distintas sin perder los resultados anteriores.
Sistema de runs y Evaluación

Cada entrenamiento genera una run con nombre editable. El bloque Evaluación detecta automáticamente la CNN upstream y muestra cuatro pestañas:

PestañaContenido
📊 CompararTabla de todas las runs con Accuracy, F1, Precision y Recall. La mejor run se marca con ★.
📝 InformeSelector de run con pills → métricas por clase, curvas de entrenamiento y matriz de confusión.
🎯 PredecirArrastra tu propia imagen. El modelo devuelve las probabilidades de todas las clases para cada run. Historial de las últimas 12 imágenes.
❌ ErroresImágenes mal clasificadas (top losses) y matriz de confusión del run seleccionado.
El informe HTML completo (con gráficas, métricas e imágenes predichas) se descarga en ES o EN desde el bloque 💾 Guardar — se abre el diálogo nativo del sistema operativo.
Pipeline Autoencoder
¿Qué es un Autoencoder?

Un autoencoder es una red neuronal no supervisada que aprende a comprimir una imagen a un vector de baja dimensión (espacio latente) y luego reconstruirla desde ese vector. No necesita etiquetas — el objetivo es que la imagen de salida sea lo más parecida posible a la de entrada. Es la introducción ideal al concepto de representación en deep learning.

Flujo completo

📷 Datos Imagen
🔧 Preprocesado
🔄 Autoencoder
💾 Guardar
Parámetros configurables
ParámetroOpcionesEfecto
Bottleneck8–128 neuronasDimensión del espacio latente. Valores bajos comprimen más (mayor pérdida), valores altos conservan más detalle.
Épocas1–30Nº de pasadas completas sobre el dataset de entrenamiento.
Learning rate0.01 / 0.001 / 0.0001Velocidad de ajuste de pesos. 0.001 es un buen punto de partida.
Arquitecturaauto / wide / deepCapas intermedias: auto (equilibrado), wide (capas anchas), deep (más capas intermedias).
Función de pérdidaMSE / BCEMSE (error cuadrático medio): general. BCE (entropía cruzada binaria): mejor si píxeles normalizados a [0,1].
Lo que ve el estudiante
  • Curva de pérdida — evolución del MSE/BCE por época en entrenamiento y validación
  • Pestaña Explorar — selecciona una imagen de test, ajusta el slider de ruido y observa cómo cambia la reconstrucción en tiempo real
  • Pestaña Comparar — tabla de runs con MSE de test; visualiza original vs reconstruida para cada run
  • Informe HTML — exportable en ES o EN desde el bloque Guardar
A diferencia de la CNN, el Autoencoder usa todas las imágenes (sin split de test con labels) porque el objetivo es reconstrucción, no clasificación.
Diferencias clave respecto a la CNN
CNN ClasificaciónAutoencoder
SupervisiónSupervisado (necesita etiquetas)No supervisado (sin etiquetas)
ObjetivoPredecir clase de la imagenReconstruir la imagen de entrada
Métrica principalAccuracy / F1MSE / BCE de reconstrucción
Bloque EvaluaciónSí — pestañas Comparar, Informe, Predecir, ErroresNo — la evaluación está integrada en el propio bloque AE
Uso del datasetTrain / val / test con labelsTodas las imágenes (sin labels)
Typical pipelines
📉 Regression (OLS / Ridge / Lasso)

Predicts a continuous numeric value — such as house price or energy consumption — from numeric and categorical features. The Linear Reg. block supports OLS, Ridge and Lasso with automatic λ selection via cross-validation.

📂 Data
🔧 Preprocessing
📉 Lin. Reg.
📋 Evaluation
💾 Save
BlockWhat it does
📂 DataUpload your own tabular CSV
🔧 PreprocessingImputes nulls, scales with StandardScaler, encodes categoricals
📉 Lin. Reg.Trains OLS / Ridge / Lasso; shows RMSE, MAE, R² and residual plots
📋 EvaluationDetailed metrics on the test split
💾 SaveExports the model as .pkl and plots as .zip
🏷 Tabular classification (Logistic / KNN / RF / SVM)

Assigns each row to a category — for example patient risk level or customer type. The Train block uses the preprocessed numeric columns directly and trains the selected classifier.

📂 Data
🔧 Preprocessing
🧠 Train
📋 Evaluation
BlockWhat it does
📂 DataLoads the dataset and selects the target (label) column
🔧 PreprocessingNormalises, imputes and encodes; auto-detects tabular mode
🧠 TrainLogistic, KNN, Random Forest or SVM — configurable with hyperparameters
📋 EvaluationAccuracy, F1, AUC-ROC, confusion matrix
You can append a 💾 Save block at the end to export the trained model as .pkl.
🔬 Data exploration

Before training any model it is worth understanding the dataset: distributions, missing values, correlations and class imbalance. This pipeline produces no model — its goal is to provide context for choosing the right preprocessing and algorithm.

📂 Data
🔬 Analysis
or
📊 Plots
BlockWhat it does
📂 DataUpload any tabular CSV
🔬 AnalysisDescriptive stats, column types, null values and correlation matrix
📊 PlotsHistograms, boxplots, scatter plots and target variable distribution
Both blocks can be connected to the same Data node at the same time.
🧠 NLP text classification

Classifies documents or sentences into predefined categories — spam detection, sentiment analysis, news classification, etc. The Preprocessing block auto-detects that the input is text and applies cleaning, stemming or lemmatisation as configured.

📂 Data
🔧 Preprocessing
🧠 Train
🎯 Classify
BlockWhat it does
📂 DataLoads an NLP CSV specifying the text and label columns
🔧 PreprocessingCleaning, normalisation, remove punctuation (preserves accents), stopwords, stemming / lemmatisation (ES/EN auto-detect)
🧠 TrainVectorises with TF-IDF and trains Naive Bayes, Logistic, KNN, RF or SVM
🎯 ClassifyReal-time prediction on free text; shows predicted class and probability distribution
Loading data

The 📂 Data block only accepts user-uploaded CSV files. There are no built-in datasets.

Drag your CSV to the upload area or use the file picker. After loading, configure the target column and task type.
Topic Model Pipeline
What is Topic Modeling?

Topic modeling is unsupervised learning: the model automatically discovers latent themes in a text corpus without needing labels. Unlike classification, there is no target variable — the algorithm groups words and documents by statistical co-occurrence.

Full flow

📂 Data
🔧 Preprocessing
🗂 Topic Model
💾 Save
Available algorithms
AlgorithmMathematical basisBest for
LDAProbabilistic (Dirichlet)General text, large corpora
NMFNon-negative matrix factorisationCleaner topics, smaller corpora
LSALinear algebra (SVD)Latent semantics, synonyms
💡 The block vectorises internally with CountVectorizer (LDA) or TfidfVectorizer (NMF/LSA). No separate BoW block is needed.
What the student sees
  • Topics with keywords — table with the N most relevant words per topic
  • Word clouds — one word cloud per topic, generated automatically
  • Topic diversity — 0–1 metric of how distinct the topics are from each other (1 = maximum diversity)
  • C_V — coherence based on cosine similarity of indirect NPMI vectors; range [0, 1], higher is better
  • C_NPMI — average pairwise NPMI of the top keywords; range [−1, 1], positive values indicate meaningful co-occurrence
  • Document distribution — what percentage of each document belongs to each topic
Key parameters
ParameterDescription
No. of topics (K)How many themes to extract from the corpus; try K = 5, 8, 10, 15, 20 to find the optimum
Max vocabularyMost frequent words included in the matrix (100–5,000); low values like 500 may limit coherence
Words per topicHow many keywords to show per topic
IterationsOptimisation passes (up to 2,000); more = higher coherence for LDA; stops automatically on convergence
AlgorithmLDA, NMF or LSA — selector in the side panel
Auto-labellingOptional: labels each topic with a name generated by the LLM, in the corpus language
⚙️ Advanced parameters (collapsible panel section)
min_df — minimum document frequency: drops extremely rare terms (values: 1–10).
max_df — maximum fraction of docs a term may appear in: removes overly common words (0.1–1.0).
Stopwords — enables automatic stopword filtering based on the detected corpus language.
Alpha (LDA only) — doc-topic prior: low values (0.01–0.1) concentrate each document on fewer topics; recommended for corpora with clear categories such as BBC News.
Beta (LDA only) — topic-word prior: low values (0.01–0.05) produce more specialised topics.
Saving results
  • Connect the Topic Model → Save block
  • The Save block detects that the input is a topic model and offers to export:
  • 📁 Word cloud folder — one PNG image per topic
  • 📄 HTML report — topic keys, coherence, topic diversity and word clouds in a self-contained HTML file
  • The report is generated in ES or EN according to the app's active language
⚠️ Automatic topic labelling requires HF_TOKEN in .env. Without it the model shows keywords only, with no label.
Key differences vs NLP classification
NLP ClassificationTopic Model
SupervisionSupervised (requires labels)Unsupervised (no labels)
Target variableYes — Label columnNo — Data block does not show it
Preceding pipelinePreprocessing NLP → TrainPreprocessing NLP → Topic Model
OutputPredicted class + probabilitiesTopics + keywords + coherence
EvaluationAccuracy, F1, confusion matrixTopic diversity, coherence (C_v)
RAG Pipeline
What is RAG?

RAG (Retrieval-Augmented Generation) combines semantic search and text generation. The LLM receives the most relevant fragments from your corpus as context in the prompt — the difference between "without RAG" and "with RAG" is literally more text in the input.

Full flow

📂 Data
✂️ Chunking
🧬 Embeddings
🔎 Retriever
🤖 LLM (RAG)
💾 Save
Required configuration

The LLM block uses the Hugging Face API. Create a .env file in the project root:

HF_TOKEN=hf_yourtoken
HF_LLM_MODEL=meta-llama/Llama-3.1-8B-Instruct

Embeddings work without a token (model all-MiniLM-L6-v2).

⚠️ Without HF_TOKEN the LLM block will not generate responses. The other RAG blocks (Chunking, Embeddings, Retriever) work without it.
What the student sees
  • Without RAG: the LLM answers using only its pre-trained knowledge
  • With RAG: the LLM receives the N most similar fragments from the corpus as context
  • Both responses are shown side by side for comparison
  • The Save block exports an HTML report with the full session
Key parameters
ParameterBlockDescription
Chunking mode✂️ ChunkingAutomatic (by words) or 1 chunk per document
Chunk size✂️ ChunkingNumber of words per fragment (automatic mode; default 100)
Overlap✂️ ChunkingWords shared between consecutive chunks to preserve context
Top-K🔎 RetrieverHow many fragments to retrieve per query
System prompt🤖 LLMBase instructions for the model, editable in the block
HF_LLM_MODEL.envLLM model used (default: meta-llama/Llama-3.1-8B-Instruct)
📄 RAG session HTML report — includes corpus, number of documents, number of embeddings generated, chunking configuration, embedding generation time, LLM response time, retrieved fragments, and a without-RAG / with-RAG comparison.
Image Classification Pipeline (CNN)
What is learned?

A convolutional neural network (CNN) trained from scratch with PyTorch learns to distinguish visual classes directly from pixels. The student watches the model improve epoch by epoch without writing a single line of code.

Full pipeline

📷 Image Data
🔧 Preprocessing
🧠 CNN
📋 Evaluation
💾 Save
Included datasets
  • MNIST — 70,000 handwritten digits (0–9), greyscale 28×28. Downloads automatically via torchvision.
  • Chihuahua vs Muffin — 299 colour images. The classic visual trick. Downloads automatically from Hugging Face.
  • Cats vs Dogs — ~23,000 colour images. ⚠️ Large download ~720 MB. A 2,000-image sample is used for CPU performance.
Image preprocessing
  • Resize — 28 to 128 px (square)
  • Normalisation — [0,1] or mean/std
  • Data augmentation — horizontal flip, ±15° rotation, random crop. Only applied to the training set (never val or test).
  • Multiplication factor — x1 to x5 augmented copies per image
  • Test split — 10/15/20/25% configurable
CNN — configurable parameters
ParameterOptionsEffect
Epochs1–20 (slider + manual input)More epochs → better trained model, but risk of overfitting
Learning rate0.01 / 0.001 / 0.0001Speed at which weights are updated
Conv layers1 / 2 / 3Network depth — more layers detect more complex patterns
Val split10 / 20 / 30%Percentage of training data used to monitor training progress
The Train button is disabled while training is running. Use New run to compare different configurations without losing previous results.
Runs system and Evaluation

Each training produces a run with an editable name. The Evaluation block automatically detects the upstream CNN and shows four tabs:

TabContent
📊 CompareTable of all runs with Accuracy, F1, Precision and Recall. Best run marked with ★.
📝 ReportRun selector with pills → per-class metrics, training curves and confusion matrix.
🎯 PredictDrag your own image. The model returns class probabilities for all runs. History of the last 12 uploaded images.
❌ ErrorsMisclassified images (top losses) and confusion matrix for the selected run.
The full HTML report (with charts, metrics and predicted images) is downloaded in ES or EN from the 💾 Save block — the native OS save dialog appears.
Autoencoder Pipeline
What is an Autoencoder?

An autoencoder is an unsupervised neural network that learns to compress an image into a low-dimensional vector (latent space) and then reconstruct it from that vector. No labels are needed — the goal is for the output image to be as close as possible to the input. It is the ideal introduction to the concept of representation learning in deep learning.

Full pipeline

📷 Image Data
🔧 Preprocessing
🔄 Autoencoder
💾 Save
Configurable parameters
ParameterOptionsEffect
Bottleneck8–128 neuronsLatent space dimension. Low values compress more (higher loss); high values preserve more detail.
Epochs1–30Number of full passes over the training dataset.
Learning rate0.01 / 0.001 / 0.0001Speed at which weights are adjusted. 0.001 is a good starting point.
Architectureauto / wide / deepIntermediate layers: auto (balanced), wide (wider layers), deep (more intermediate layers).
Loss functionMSE / BCEMSE (mean squared error): general purpose. BCE (binary cross-entropy): better when pixels are normalised to [0,1].
What the student sees
  • Loss curve — MSE/BCE evolution per epoch for training and validation
  • Explore tab — select a test image, adjust the noise slider and watch the reconstruction change in real time
  • Compare tab — run table with test MSE; view original vs reconstructed for each run
  • HTML report — exportable in ES or EN from the Save block
Unlike the CNN, the Autoencoder uses all images (no label-based test split) because the objective is reconstruction, not classification.
Key differences vs CNN Classification
CNN ClassificationAutoencoder
SupervisionSupervised (requires labels)Unsupervised (no labels)
ObjectivePredict image classReconstruct the input image
Main metricAccuracy / F1Reconstruction MSE / BCE
Evaluation blockYes — Compare, Report, Predict, Errors tabsNo — evaluation is built into the AE block itself
Dataset usageTrain / val / test with labelsAll images (no labels)