Spaces:
Sleeping
Sleeping
Download static/lang.js from ivanriza99/AutoML_APP: direct link, hf CLI and curl.
- Browser
- Download file 61.1 kB
-
https://huggingface.co/spaces/ivanriza99/AutoML_APP/resolve/main/static/lang.js
- Command line
-
hf download hf://spaces/ivanriza99/AutoML_APP/static/lang.js
-
curl -L -o lang.js https://huggingface.co/spaces/ivanriza99/AutoML_APP/resolve/main/static/lang.js
61.1 kB
// UI strings. English is the fallback for any missing key.
const translations = {
en: {
title: "AutoML Assistant",
appName: "AutoML Assistant",
tabTrain: "Train",
tabPredict: "Predict",
assistant: "Assistant",
language: "Language",
darkMode: "Dark mode",
changeApiKey: "Change assistant API key",
stepData: "Data",
stepDataSub: "Upload and review",
stepTrain: "Train",
stepTrainSub: "Target and options",
stepResults: "Results",
stepResultsSub: "Evaluate and download",
how1Title: "Upload your data",
how1Text: "One row per patient or record, one column per variable.",
how2Title: "Choose what to predict",
how2Text: "AutoML tries many models and keeps the best one.",
how3Title: "Understand the results",
how3Text: "Metrics, important variables and an assistant to explain them.",
dropzoneTitle: "Drag your dataset here",
dropzoneSub: "or click to choose a file",
changeFile: "Change file",
rowsLower: "rows",
columnsLower: "columns",
missingLower: "missing",
variablesTitle: "Variables",
variablesHint: "Review each variable. Untick the ones the model should not use (optional).",
viewVariables: "Variables",
viewRows: "Sample rows",
use: "Use",
useVariable: "Use variable",
variable: "Variable",
type: "Type",
missingShort: "Missing",
uniqueShort: "Unique",
distribution: "Distribution",
typeNumeric: "Numeric",
typeCategorical: "Categorical",
typeDate: "Date",
continue: "Continue",
targetQuestion: "What do you want to predict?",
targetHint: "Choose the column with the outcome. The other variables will be used to predict it.",
target: "Target",
timeColumn: "Time column",
timeTitle: "Training time",
timeHint: "More time lets AutoML try more models. You can stop at any moment.",
advancedOptions: "Advanced options",
optional: "optional",
evalMetric: "Metric to optimise",
modelsToUse: "Model families",
useCrossValidation: "Cross-validation (recommended)",
valSplitLabel: "Validation split",
predictionLength: "Forecast horizon (% of data)",
imputation: "Missing values",
enableImputation: "Fill missing values myself (otherwise AutoML handles them)",
noMissingValues: "No missing values in the selected variables.",
constantValue: "Value",
mean: "Mean",
median: "Median",
mode: "Most frequent",
constant: "Fixed value",
summaryTitle: "Summary",
data: "Data",
task: "Task",
variablesUsed: "Variables used",
excluded: "excluded",
metric: "Metric",
time: "Time",
startTraining: "Train model",
stopTraining: "Stop training",
taskClassification: "Classification",
taskBinary: "Binary classification",
taskMulticlass: "Multiclass classification",
taskRegression: "Regression",
taskTimeseries: "Time series forecasting",
trainingOverlayTitle: "Training models…",
remaining: "remaining",
modelPending: "Pending",
modelTraining: "Training",
modelDone: "Done",
modelFailed: "failed",
modelSkipped: "skipped (no time left)",
modelUnavailable: "library not installed",
modelNeuralNet: "Neural network",
modelLinear: "Linear model",
modelEnsemble: "Ensemble of the best models",
stoppingTraining: "Stopping after the current model…",
ofMaximum: "of a {limit} maximum",
phasePreparing: "Preparing the data…",
phaseFitting: "Trying models · {n} finished",
phaseEvaluating: "Evaluating on unseen data and generating plots…",
phaseDone: "Finished",
phaseStopping: "Stopping after the current model…",
progressNote: "AutoGluon decides which models to try and may finish before the limit. Each row is a model it has actually trained.",
progressNoteEvaluating: "Models are trained. Now computing metrics, plots and variable importance; this step has no fixed duration.",
finalizingTitle: "Preparing results…",
finalizingOOF: "Evaluating on unseen data",
finalizingFeatureImportance: "Computing variable importance",
finalizingPlots: "Generating plots",
finalizingReport: "Ranking models",
bestModel: "Best model",
downloadModel: "Download model",
downloadPDF: "PDF report",
downloadPlots: "Plots (.zip)",
predictWithModel: "Predict with this model",
baselineAccuracy: "Always predicting the most frequent class",
quality_excellent: "Excellent",
quality_good: "Good",
quality_fair: "Fair",
quality_weak: "Weak",
help_roc_auc: "How well the model ranks positive cases above negative ones (0.5 = chance, 1 = perfect).",
help_accuracy: "Share of correct predictions. Compare it with the trivial model when classes are imbalanced.",
help_f1_macro: "Balance between precision and recall, averaged over classes.",
help_r2: "Share of the variance explained by the model (1 = perfect).",
help_rmse: "Typical prediction error, in the units of the target.",
help_mae: "Average absolute error, in the units of the target.",
help_mape: "Average error as a percentage of the true value.",
tabPerformance: "Performance",
tabImportance: "Important variables",
tabShap: "SHAP explanation",
tabModels: "Models tried",
noPlots: "No plots are available for this model.",
forecast: "Forecast",
importanceIntro: "How much the model worsens if the variable is shuffled. Longer bar = more important.",
shapIntro: "See, record by record, whether each variable raises or lowers the prediction. It usually takes a few seconds.",
generateShap: "Show the effect of each variable",
model: "Model",
best: "best",
scoreVal: "Validation score",
fitTime: "Training time",
predictTime: "Prediction time",
askTitle: "Not sure how to read the results?",
askText: "The assistant can explain them in plain language.",
askButton: "Ask the assistant",
pdfGenerating: "Generating the PDF report…",
predTitle: "Predict on new data",
predSubtitle: "Upload new records (same columns as for training) and a trained model.",
predData: "New data",
predModel: "Model (.zip)",
predRun: "Predict",
chooseFile: "Choose a file",
chooseModel: "Choose a model",
useLastModel: "Use the model I just trained",
predictButton: "Run prediction",
predictionResults: "Predictions",
preview: "Preview",
downloadPredictions: "Download predictions",
downloadPredictionPlots: "Plots (.zip)",
noPrediction: "No predictions were returned.",
assistantTitle: "AI assistant",
assistantSub: "Ask about your data or results",
chatPlaceholder: "Ask a question…",
suggestStart: "How do I start?",
suggestFormat: "What format should my data have?",
suggestData: "Is there any problem with my data?",
suggestTarget: "Which column should I predict?",
suggestMetric: "Which metric should I use?",
suggestGood: "Is my model good?",
suggestImportant: "Which variables matter most?",
suggestImprove: "How could I improve the model?",
suggestPredict: "How do I interpret these predictions?",
actionsIntro: "I suggest these changes:",
actionsProposedNote: "proposed actions",
actionAppliedNote: "The user applied",
act_exclude: "Exclude {cols}",
act_include: "Use {cols} again",
act_target: "Predict «{col}»",
act_metric: "Optimise {metric}",
act_time: "Training time: {time}",
act_cv_on: "Use cross-validation",
act_cv_off: "Use a holdout split instead of cross-validation",
act_train: "Start training",
act_step: "Go to {step}",
act_tab: "Open «{tab}»",
act_shap: "Generate the SHAP plot",
act_mode_predict: "Switch to Predict",
act_mode_train: "Switch to Train",
actApply: "Apply",
actApplyAll: "Apply all",
actDismiss: "Dismiss",
actApplied: "Applied",
actDismissed: "Dismissed",
actInvalid: "This action no longer fits the current state",
actNothingToChange: "Nothing to change",
cmTitle: "Confusion matrix",
cmSub: "Predictions on data the model did not see during training. The diagonal shows correct predictions.",
cmActual: "Actual",
cmPredicted: "Predicted",
cmTip: "{n} records are actually «{actual}» and were predicted as «{predicted}» ({pct} of «{actual}»)",
cmPositive: "Rates calculated with «{label}» as the positive class.",
stat_sensitivity: "Sensitivity",
stat_specificity: "Specificity",
stat_ppv: "Positive predictive value",
stat_npv: "Negative predictive value",
rocTitle: "ROC curve",
rocSub: "Each point is a decision threshold for «{label}». Hover to see sensitivity and specificity.",
rocX: "1 − specificity",
rocY: "Sensitivity",
rocChance: "chance",
rocThreshold: "threshold",
scatterTitle: "Predicted vs actual",
scatterSub: "{n} of {total} records. Points on the line are perfect predictions.",
errorsTitle: "Prediction errors",
errorsSub: "Predicted minus actual value. Centred on 0 and narrow is better.",
errorsX: "Error (predicted − actual)",
errorsY: "Records",
groqTitle: "Assistant API key",
groqText: "The assistant uses Groq and needs an API key. Paste it here; it is stored only in this browser.",
groqMissing: "An API key is needed to use the assistant.",
groqGetKey: "Don't have one? Create a free key at",
rowsCaption: "Showing the first {n} of {total} rows.",
cancel: "Cancel",
save: "Save",
pleaseSelectFile: "Please choose a CSV, Excel or ARFF file.",
pleaseSelectZIP: "Please choose a .zip model file.",
selectCSVAndTarget: "Upload a dataset and choose a target first.",
selectAtLeastOneModel: "Select at least one model family.",
cannotDropTargetColumn: "The target column cannot be excluded.",
selectDatasetAndModel: "Choose both the data and the model.",
beginTrainingError: "Training could not start.",
trainingError: "Training failed.",
trainingErrorGet: "Could not retrieve the training results.",
trainingErrorNetwork: "Network error. Is the server running?",
trainingStopped: "Training stopped. No model was saved.",
stopTrainingError: "Training could not be stopped.",
missingSHAPInfo: "Train a model first.",
shapGenerationError: "SHAP plot generation failed",
missingPDFInfo: "Train a model first.",
pdfGenerationError: "The PDF could not be generated.",
predictionError: "Prediction failed.",
training_interrupted: "Training was stopped.",
error_no_file: "No file was uploaded.",
error_time_limit_range: "Time limit must be between 1 minute and 3 hours.",
error_unsupported_file_format: "Unsupported file format.",
error_target_not_in_columns: "The target column is not in the dataset.",
error_target_all_missing: "The target column contains only missing values.",
error_no_dataset: "No dataset file was uploaded.",
error_invalid_model_path: "The model path is invalid or does not exist.",
error_missing_target_column: "The target column was not provided.",
error_invalid_zip: "The ZIP file is invalid or corrupted.",
error_missing_dataset_or_model: "The dataset or model file is missing.",
error_training_failed: "Training failed due to a server error.",
error_shap_failed: "SHAP plot generation failed.",
error_prediction_failed: "Prediction failed due to a server error.",
error_missing_target_values: "The target column contains missing values.",
error_missing_columns: "Some expected columns are missing from the data.",
error_extra_columns: "The data contains unrecognised columns.",
error_shap: "SHAP plot generation failed.",
error_invalid_time_column: "The time column is not valid.",
error_unexpected_training: "An unexpected error occurred during training.",
error_unexpected_prediction: "An unexpected error occurred during prediction.",
error_empty_message: "Please enter a message.",
error_chat: "The assistant could not answer. Please try again.",
verdict_excellent: "The model predicts «{target}» very well",
verdict_good: "The model predicts «{target}» well",
verdict_fair: "The model predicts «{target}» acceptably, with room to improve",
verdict_weak: "The model barely predicts «{target}» better than chance",
verdictDone: "Model for «{target}» ready",
verdictSub: "Measured on data the model did not see while training ({rows} records) · trained in {time}",
vsBaseline: "always predicting the most frequent class: {pct}",
secPerformance: "How well does it predict?",
secPerformanceSub: "Hits and errors on records the model did not see while training.",
secVariables: "Which variables matter?",
secVariablesSub: "What the model relies on, and in which direction each variable pushes the prediction.",
secDetails: "Technical details",
secDetailsSub: "configuration, models compared, downloads",
checkIdentifier: "«{col}» looks like an identifier (almost one value per record) and is among the most important variables. Identifiers should not predict anything: the result may be over-optimistic.",
checkDominant: "The model depends almost only on «{col}». Make sure it is known at the moment you want to predict and is not a consequence of the outcome.",
checkNoBetter: "Accuracy is no better than always predicting the most frequent class ({pct}). Look at sensitivity in the confusion matrix.",
checkImbalance: "One class is much more frequent ({pct}). Accuracy can look high anyway: check sensitivity in the confusion matrix and ROC AUC.",
checkWeak: "Performance is low. More records, more time or more informative variables may help.",
checkFix: "Exclude «{col}»",
checkFixDone: "«{col}» excluded. Train again to see the effect.",
evaluation: "Evaluation",
evalCv: "Cross-validation (out-of-fold predictions)",
evalHoldout: "Holdout split ({pct}% of the data)",
excludedVars: "Excluded variables",
modelFamilies: "Model families",
yes: "Yes",
no: "No",
none: "None",
ensembleNote: "AutoML trains several models and usually combines the best ones in an ensemble (WeightedEnsemble). Scores are measured on validation data.",
shapTitle: "Effect of each variable (SHAP)",
shapRead: "Each dot is a record. To the right of the line the variable raises the prediction; to the left it lowers it. The colour is the value of the variable in that record.",
shapValueLow: "low value",
shapValueHigh: "high value",
shapNoValue: "category / missing",
shapAxisLow: "less likely «{cls}»",
shapAxisHigh: "more likely «{cls}»",
shapAxisLowReg: "lower prediction",
shapAxisHighReg: "higher prediction",
shapInWords: "In words",
shapExpert: "SHAP values of the base model {model} on {n} records (model output units; log-odds for boosted trees).",
shapUpCls: "make «{cls}» more likely",
shapDownCls: "make «{cls}» less likely",
shapUpReg: "raise the prediction",
shapDownReg: "lower the prediction",
shapHigh: "High values of {col} {effect}.",
shapLow: "Low values of {col} {effect}.",
shapLevel: "{col} = «{level}» tends to {effect}.",
shapMixed: "{col} has a mixed effect: it depends on the value and on other variables.",
importanceTitle: "Importance",
importanceUseless: "{n} variables do not help the model (importance 0 or negative).",
expertMode: "Expert mode",
expertModeHint: "Technical details open by default",
advancedHint: "optional · metric, models, validation, missing values",
verdictBin_excellent: "The model tells «{a}» from «{b}» very well",
verdictBin_good: "The model tells «{a}» from «{b}» well",
verdictBin_fair: "The model tells «{a}» from «{b}» acceptably, with room to improve",
verdictBin_weak: "The model barely tells «{a}» from «{b}» better than chance",
recommended: "recommended",
chooseTarget: "— Choose the variable to predict —",
targetSuggestions: "Suggestions:",
chooseTargetFirst: "Choose the variable to predict first",
examplesTitle: "No data at hand? Try an example:",
exampleBreast: "Breast cancer",
exampleBreastSub: "· diagnosis, 569 patients",
exampleDiabetes: "Diabetes",
exampleDiabetesSub: "· progression in 1 year, 442 patients",
sessionRestored: "Your last analysis was restored ({when}). Use «Change file» to start again.",
agoNow: "just now",
agoMinutes: "{n} min ago",
agoHours: "{n} h ago",
agoDays: "{n} days ago",
modelMissing: "The trained model is no longer on the server (models are kept for 24 h). The results are still here; train again to download it, predict or see the effect of each variable.",
modelMissingShap: "Not available: the model is no longer on the server. Train again to compute it.",
error_model_not_trusted: "This model cannot be used: only models trained in this app (and not modified) are accepted, for security. Train it here and use the downloaded ZIP.",
error_training_busy: "Another training is running on the server. Try again in a few minutes.",
error_training_lost: "The server lost this training (it was restarted or the result expired). Please train again.",
splitsTitle: "Own validation and test sets",
splitsHint: "optional · if you already split your data",
splitsIntro: "The file above is used to train. Upload a test set to measure the model on data it never saw: the results will be those of the test set. The validation set is optional; without it, the model is validated on the training data (cross-validation).",
splitVal: "Validation",
splitValHint: "Used to choose and tune the models.",
splitTest: "Test",
splitTestHint: "Only used at the end, for the metrics and plots of the results.",
splitMissingCols: "Missing columns of the training file: {cols}",
splitTargetMissing: "The variable to predict is empty in {n} rows: fill or remove them.",
splitOk: "Same columns as the training file",
splitFixFirst: "Fix the {set} file before training (see Data).",
rows: "rows",
remove: "Remove",
verdictSubTest: "Measured on your test set ({rows} records the model never saw) · trained in {time}",
verdictSubVal: "Measured on your validation set ({rows} records) · trained in {time}",
secPerformanceSubTest: "Hits and errors on your test set ({n} records the model never saw).",
evalTest: "Your test set ({n} records)",
evalOwnVal: "your validation set ({n} records)",
scoreTest: "Test score",
bestChosenOnVal: "The best model is chosen on validation data, not on the test set, so the test score stays an honest estimate.",
error_split_columns: "The validation or test file does not have all the columns of the training file.",
error_split_target_missing: "The validation or test file has empty values in the variable to predict.",
error_split_too_small: "The validation or test file needs at least 2 rows.",
error_split_timeseries: "Own validation and test files are not available for time series.",
},
es: {
title: "Asistente AutoML",
appName: "Asistente AutoML",
tabTrain: "Entrenar",
tabPredict: "Predecir",
assistant: "Asistente",
language: "Idioma",
darkMode: "Modo oscuro",
changeApiKey: "Cambiar la clave del asistente",
stepData: "Datos",
stepDataSub: "Carga y revisa",
stepTrain: "Entrenar",
stepTrainSub: "Objetivo y opciones",
stepResults: "Resultados",
stepResultsSub: "Evalúa y descarga",
how1Title: "Sube tus datos",
how1Text: "Una fila por paciente o registro y una columna por variable.",
how2Title: "Elige qué predecir",
how2Text: "AutoML prueba muchos modelos y se queda con el mejor.",
how3Title: "Entiende los resultados",
how3Text: "Métricas, variables importantes y un asistente que te los explica.",
dropzoneTitle: "Arrastra aquí tu conjunto de datos",
dropzoneSub: "o haz clic para elegir un archivo",
changeFile: "Cambiar archivo",
rowsLower: "filas",
columnsLower: "columnas",
missingLower: "faltantes",
variablesTitle: "Variables",
variablesHint: "Revisa cada variable. Desmarca las que el modelo no debe usar (opcional).",
viewVariables: "Variables",
viewRows: "Filas de ejemplo",
use: "Usar",
useVariable: "Usar la variable",
variable: "Variable",
type: "Tipo",
missingShort: "Faltantes",
uniqueShort: "Únicos",
distribution: "Distribución",
typeNumeric: "Numérica",
typeCategorical: "Categórica",
typeDate: "Fecha",
continue: "Continuar",
targetQuestion: "¿Qué quieres predecir?",
targetHint: "Elige la columna con el desenlace. El resto de variables se usarán para predecirla.",
target: "Objetivo",
timeColumn: "Columna de tiempo",
timeTitle: "Tiempo de entrenamiento",
timeHint: "Con más tiempo, AutoML prueba más modelos. Puedes detenerlo cuando quieras.",
advancedOptions: "Opciones avanzadas",
optional: "opcional",
evalMetric: "Métrica a optimizar",
modelsToUse: "Familias de modelos",
useCrossValidation: "Validación cruzada (recomendada)",
valSplitLabel: "Porcentaje de validación",
predictionLength: "Horizonte de predicción (% de los datos)",
imputation: "Valores faltantes",
enableImputation: "Rellenar yo los faltantes (si no, AutoML los gestiona)",
noMissingValues: "No hay valores faltantes en las variables seleccionadas.",
constantValue: "Valor",
mean: "Media",
median: "Mediana",
mode: "Más frecuente",
constant: "Valor fijo",
summaryTitle: "Resumen",
data: "Datos",
task: "Tarea",
variablesUsed: "Variables usadas",
excluded: "excluidas",
metric: "Métrica",
time: "Tiempo",
startTraining: "Entrenar modelo",
stopTraining: "Detener entrenamiento",
taskClassification: "Clasificación",
taskBinary: "Clasificación binaria",
taskMulticlass: "Clasificación multiclase",
taskRegression: "Regresión",
taskTimeseries: "Predicción de series temporales",
trainingOverlayTitle: "Entrenando modelos…",
remaining: "restante",
modelPending: "Pendiente",
modelTraining: "Entrenando",
modelDone: "Hecho",
modelFailed: "falló",
modelSkipped: "omitido (sin tiempo)",
modelUnavailable: "librería no instalada",
modelNeuralNet: "Red neuronal",
modelLinear: "Modelo lineal",
modelEnsemble: "Combinación de los mejores modelos",
stoppingTraining: "Deteniendo al acabar el modelo en curso…",
ofMaximum: "de un máximo de {limit}",
phasePreparing: "Preparando los datos…",
phaseFitting: "Probando modelos · {n} terminados",
phaseEvaluating: "Evaluando con datos no vistos y generando gráficos…",
phaseDone: "Terminado",
phaseStopping: "Deteniendo al acabar el modelo en curso…",
progressNote: "AutoGluon decide qué modelos probar y puede terminar antes del límite. Cada fila es un modelo que ha entrenado de verdad.",
progressNoteEvaluating: "Los modelos ya están entrenados. Ahora calcula métricas, gráficos e importancia de variables; este paso no tiene una duración fija.",
finalizingTitle: "Preparando resultados…",
finalizingOOF: "Evaluando con datos no vistos",
finalizingFeatureImportance: "Calculando la importancia de las variables",
finalizingPlots: "Generando gráficos",
finalizingReport: "Ordenando los modelos",
bestModel: "Mejor modelo",
downloadModel: "Descargar modelo",
downloadPDF: "Informe PDF",
downloadPlots: "Gráficos (.zip)",
predictWithModel: "Predecir con este modelo",
baselineAccuracy: "Prediciendo siempre la clase más frecuente",
quality_excellent: "Excelente",
quality_good: "Buena",
quality_fair: "Aceptable",
quality_weak: "Débil",
help_roc_auc: "Capacidad de puntuar más alto a los casos positivos que a los negativos (0,5 = azar; 1 = perfecto).",
help_accuracy: "Porcentaje de aciertos. Compáralo con el modelo trivial si las clases están desbalanceadas.",
help_f1_macro: "Equilibrio entre precisión y sensibilidad, promediado entre clases.",
help_r2: "Proporción de la variabilidad que explica el modelo (1 = perfecto).",
help_rmse: "Error típico de predicción, en las unidades del objetivo.",
help_mae: "Error absoluto medio, en las unidades del objetivo.",
help_mape: "Error medio en porcentaje del valor real.",
tabPerformance: "Rendimiento",
tabImportance: "Variables importantes",
tabShap: "Explicación SHAP",
tabModels: "Modelos probados",
noPlots: "No hay gráficos disponibles para este modelo.",
forecast: "Previsión",
importanceIntro: "Cuánto empeora el modelo si se desordena la variable. Barra más larga = más importante.",
shapIntro: "Mira, registro a registro, si cada variable sube o baja la predicción. Suele tardar unos segundos.",
generateShap: "Ver el efecto de cada variable",
model: "Modelo",
best: "mejor",
scoreVal: "Puntuación de validación",
fitTime: "Tiempo de entrenamiento",
predictTime: "Tiempo de predicción",
askTitle: "¿Dudas al interpretar los resultados?",
askText: "El asistente te los explica en lenguaje sencillo.",
askButton: "Preguntar al asistente",
pdfGenerating: "Generando el informe PDF…",
predTitle: "Predecir con datos nuevos",
predSubtitle: "Sube registros nuevos (con las mismas columnas que al entrenar) y un modelo entrenado.",
predData: "Datos nuevos",
predModel: "Modelo (.zip)",
predRun: "Predecir",
chooseFile: "Elegir archivo",
chooseModel: "Elegir modelo",
useLastModel: "Usar el modelo que acabo de entrenar",
predictButton: "Ejecutar predicción",
predictionResults: "Predicciones",
preview: "Vista previa",
downloadPredictions: "Descargar predicciones",
downloadPredictionPlots: "Gráficos (.zip)",
noPrediction: "No se ha obtenido ninguna predicción.",
assistantTitle: "Asistente de IA",
assistantSub: "Pregunta sobre tus datos o resultados",
chatPlaceholder: "Escribe una pregunta…",
suggestStart: "¿Cómo empiezo?",
suggestFormat: "¿Qué formato deben tener mis datos?",
suggestData: "¿Hay algún problema en mis datos?",
suggestTarget: "¿Qué columna debería predecir?",
suggestMetric: "¿Qué métrica debería usar?",
suggestGood: "¿Es bueno mi modelo?",
suggestImportant: "¿Qué variables influyen más?",
suggestImprove: "¿Cómo podría mejorar el modelo?",
suggestPredict: "¿Cómo interpreto estas predicciones?",
actionsIntro: "Te propongo estos cambios:",
actionsProposedNote: "acciones propuestas",
actionAppliedNote: "El usuario aplicó",
act_exclude: "Excluir {cols}",
act_include: "Volver a usar {cols}",
act_target: "Predecir «{col}»",
act_metric: "Optimizar {metric}",
act_time: "Tiempo de entrenamiento: {time}",
act_cv_on: "Usar validación cruzada",
act_cv_off: "Usar una partición de validación en lugar de validación cruzada",
act_train: "Empezar el entrenamiento",
act_step: "Ir a {step}",
act_tab: "Abrir «{tab}»",
act_shap: "Generar el gráfico SHAP",
act_mode_predict: "Cambiar a Predecir",
act_mode_train: "Cambiar a Entrenar",
actApply: "Aplicar",
actApplyAll: "Aplicar todo",
actDismiss: "Descartar",
actApplied: "Aplicado",
actDismissed: "Descartado",
actInvalid: "Esta acción ya no encaja con el estado actual",
actNothingToChange: "No hay nada que cambiar",
cmTitle: "Matriz de confusión",
cmSub: "Predicciones sobre datos que el modelo no vio al entrenar. La diagonal son los aciertos.",
cmActual: "Real",
cmPredicted: "Predicho",
cmTip: "{n} registros son realmente «{actual}» y se predijeron como «{predicted}» ({pct} de «{actual}»)",
cmPositive: "Tasas calculadas con «{label}» como clase positiva.",
stat_sensitivity: "Sensibilidad",
stat_specificity: "Especificidad",
stat_ppv: "Valor predictivo positivo",
stat_npv: "Valor predictivo negativo",
rocTitle: "Curva ROC",
rocSub: "Cada punto es un umbral de decisión para «{label}». Pasa el ratón para ver sensibilidad y especificidad.",
rocX: "1 − especificidad",
rocY: "Sensibilidad",
rocChance: "azar",
rocThreshold: "umbral",
scatterTitle: "Predicho frente a real",
scatterSub: "{n} de {total} registros. Los puntos sobre la línea son predicciones perfectas.",
errorsTitle: "Errores de predicción",
errorsSub: "Valor predicho menos real. Mejor cuanto más centrado en 0 y más estrecho.",
errorsX: "Error (predicho − real)",
errorsY: "Registros",
groqTitle: "Clave del asistente",
groqText: "El asistente usa Groq y necesita una clave de API. Pégala aquí; solo se guarda en este navegador.",
groqMissing: "Hace falta una clave de API para usar el asistente.",
groqGetKey: "¿No tienes una? Crea una gratis en",
rowsCaption: "Se muestran las primeras {n} de {total} filas.",
cancel: "Cancelar",
save: "Guardar",
pleaseSelectFile: "Elige un archivo CSV, Excel o ARFF.",
pleaseSelectZIP: "Elige un archivo de modelo .zip.",
selectCSVAndTarget: "Primero carga un conjunto de datos y elige el objetivo.",
selectAtLeastOneModel: "Selecciona al menos una familia de modelos.",
cannotDropTargetColumn: "No se puede excluir la columna objetivo.",
selectDatasetAndModel: "Elige los datos y el modelo.",
beginTrainingError: "No se pudo iniciar el entrenamiento.",
trainingError: "El entrenamiento ha fallado.",
trainingErrorGet: "No se pudieron obtener los resultados.",
trainingErrorNetwork: "Error de red. ¿Está el servidor en marcha?",
trainingStopped: "Entrenamiento detenido. No se ha guardado ningún modelo.",
stopTrainingError: "No se pudo detener el entrenamiento.",
missingSHAPInfo: "Primero entrena un modelo.",
shapGenerationError: "Falló la generación del gráfico SHAP",
missingPDFInfo: "Primero entrena un modelo.",
pdfGenerationError: "No se pudo generar el PDF.",
predictionError: "La predicción ha fallado.",
training_interrupted: "El entrenamiento se detuvo.",
error_no_file: "No se ha subido ningún archivo.",
error_time_limit_range: "El tiempo debe estar entre 1 minuto y 3 horas.",
error_unsupported_file_format: "Formato de archivo no compatible.",
error_target_not_in_columns: "La columna objetivo no está en los datos.",
error_target_all_missing: "La columna objetivo solo contiene valores faltantes.",
error_no_dataset: "No se ha subido ningún archivo de datos.",
error_invalid_model_path: "La ruta del modelo no es válida o no existe.",
error_missing_target_column: "No se indicó la columna objetivo.",
error_invalid_zip: "El archivo ZIP no es válido o está dañado.",
error_missing_dataset_or_model: "Falta el archivo de datos o el modelo.",
error_training_failed: "El entrenamiento falló por un error del servidor.",
error_shap_failed: "Falló la generación de gráficos SHAP.",
error_prediction_failed: "La predicción falló por un error del servidor.",
error_missing_target_values: "La columna objetivo contiene valores faltantes.",
error_missing_columns: "Faltan columnas que el modelo espera.",
error_extra_columns: "Los datos contienen columnas no reconocidas.",
error_shap: "Falló la generación del gráfico SHAP.",
error_invalid_time_column: "La columna de tiempo no es válida.",
error_unexpected_training: "Error inesperado durante el entrenamiento.",
error_unexpected_prediction: "Error inesperado durante la predicción.",
error_empty_message: "Escribe un mensaje.",
error_chat: "El asistente no ha podido responder. Inténtalo de nuevo.",
verdict_excellent: "El modelo predice «{target}» muy bien",
verdict_good: "El modelo predice «{target}» bien",
verdict_fair: "El modelo predice «{target}» de forma aceptable, con margen de mejora",
verdict_weak: "El modelo apenas predice «{target}» mejor que el azar",
verdictDone: "Modelo para «{target}» listo",
verdictSub: "Medido con datos que el modelo no vio al entrenar ({rows} registros) · entrenado en {time}",
vsBaseline: "prediciendo siempre la clase más frecuente: {pct}",
secPerformance: "¿Cómo de bien predice?",
secPerformanceSub: "Aciertos y errores en registros que el modelo no vio al entrenar.",
secVariables: "¿Qué variables importan?",
secVariablesSub: "En qué se apoya el modelo y en qué dirección empuja cada variable la predicción.",
secDetails: "Detalles técnicos",
secDetailsSub: "configuración, modelos comparados, descargas",
checkIdentifier: "«{col}» parece un identificador (casi un valor distinto por registro) y está entre las variables más importantes. Un identificador no debería predecir nada: el resultado puede ser demasiado optimista.",
checkDominant: "El modelo depende casi solo de «{col}». Comprueba que se conoce en el momento en que quieres predecir y que no es consecuencia del resultado.",
checkNoBetter: "El accuracy no mejora a predecir siempre la clase más frecuente ({pct}). Mira la sensibilidad en la matriz de confusión.",
checkImbalance: "Una clase es mucho más frecuente ({pct}). El accuracy puede parecer alto igualmente: revisa la sensibilidad en la matriz de confusión y el ROC AUC.",
checkWeak: "El rendimiento es bajo. Pueden ayudar más registros, más tiempo o variables más informativas.",
checkFix: "Excluir «{col}»",
checkFixDone: "«{col}» excluida. Vuelve a entrenar para ver el efecto.",
evaluation: "Evaluación",
evalCv: "Validación cruzada (predicciones fuera de pliegue)",
evalHoldout: "Conjunto reservado ({pct} % de los datos)",
excludedVars: "Variables excluidas",
modelFamilies: "Familias de modelos",
yes: "Sí",
no: "No",
none: "Ninguna",
ensembleNote: "AutoML entrena varios modelos y normalmente combina los mejores en un conjunto (WeightedEnsemble). Las puntuaciones se miden con datos de validación.",
shapTitle: "Efecto de cada variable (SHAP)",
shapRead: "Cada punto es un registro. A la derecha de la línea la variable sube la predicción; a la izquierda la baja. El color es el valor de la variable en ese registro.",
shapValueLow: "valor bajo",
shapValueHigh: "valor alto",
shapNoValue: "categoría / falta",
shapAxisLow: "menos probable «{cls}»",
shapAxisHigh: "más probable «{cls}»",
shapAxisLowReg: "predicción más baja",
shapAxisHighReg: "predicción más alta",
shapInWords: "En palabras",
shapExpert: "Valores SHAP del modelo base {model} sobre {n} registros (unidades de la salida del modelo; log-odds en árboles potenciados).",
shapUpCls: "hacer más probable «{cls}»",
shapDownCls: "hacer menos probable «{cls}»",
shapUpReg: "subir la predicción",
shapDownReg: "bajar la predicción",
shapHigh: "Valores altos de {col} tienden a {effect}.",
shapLow: "Valores bajos de {col} tienden a {effect}.",
shapLevel: "{col} = «{level}» tiende a {effect}.",
shapMixed: "{col} tiene un efecto mixto: depende del valor y de otras variables.",
importanceTitle: "Importancia",
importanceUseless: "{n} variables no ayudan al modelo (importancia 0 o negativa).",
expertMode: "Modo experto",
expertModeHint: "Detalles técnicos abiertos por defecto",
advancedHint: "opcional · métrica, modelos, validación, valores faltantes",
verdictBin_excellent: "El modelo distingue muy bien entre «{a}» y «{b}»",
verdictBin_good: "El modelo distingue bien entre «{a}» y «{b}»",
verdictBin_fair: "El modelo distingue entre «{a}» y «{b}» de forma aceptable, con margen de mejora",
verdictBin_weak: "El modelo apenas distingue entre «{a}» y «{b}» mejor que el azar",
recommended: "recomendada",
chooseTarget: "— Elige la variable a predecir —",
targetSuggestions: "Sugerencias:",
chooseTargetFirst: "Primero elige la variable a predecir",
examplesTitle: "¿No tienes datos a mano? Prueba con un ejemplo:",
exampleBreast: "Cáncer de mama",
exampleBreastSub: "· diagnóstico, 569 pacientes",
exampleDiabetes: "Diabetes",
exampleDiabetesSub: "· progresión en 1 año, 442 pacientes",
sessionRestored: "Se ha recuperado tu último análisis ({when}). Usa «Cambiar archivo» para empezar de cero.",
agoNow: "hace un momento",
agoMinutes: "hace {n} min",
agoHours: "hace {n} h",
agoDays: "hace {n} días",
modelMissing: "El modelo entrenado ya no está en el servidor (se guardan 24 h). Los resultados siguen aquí; vuelve a entrenar para descargarlo, predecir o ver el efecto de cada variable.",
modelMissingShap: "No disponible: el modelo ya no está en el servidor. Vuelve a entrenar para calcularlo.",
error_model_not_trusted: "No se puede usar este modelo: por seguridad solo se aceptan modelos entrenados en esta app y sin modificar. Entrénalo aquí y usa el ZIP descargado.",
error_training_busy: "Hay otro entrenamiento en marcha en el servidor. Vuelve a intentarlo en unos minutos.",
error_training_lost: "El servidor ha perdido este entrenamiento (se reinició o el resultado caducó). Vuelve a entrenar.",
splitsTitle: "Conjuntos propios de validación y prueba",
splitsHint: "opcional · si ya tienes los datos divididos",
splitsIntro: "El archivo de arriba se usa para entrenar. Sube un conjunto de prueba para medir el modelo con datos que nunca ha visto: los resultados serán los de la prueba. El de validación es opcional; si no lo subes, el modelo se valida sobre los datos de entrenamiento (validación cruzada).",
splitVal: "Validación",
splitValHint: "Sirve para elegir y ajustar los modelos.",
splitTest: "Prueba",
splitTestHint: "Solo se usa al final, para las métricas y gráficos de los resultados.",
splitMissingCols: "Faltan columnas del archivo de entrenamiento: {cols}",
splitTargetMissing: "La variable a predecir está vacía en {n} filas: rellénalas o elimínalas.",
splitOk: "Mismas columnas que el archivo de entrenamiento",
splitFixFirst: "Corrige el archivo de {set} antes de entrenar (ver Datos).",
rows: "filas",
remove: "Quitar",
verdictSubTest: "Medido con tu conjunto de prueba ({rows} registros que el modelo nunca vio) · entrenado en {time}",
verdictSubVal: "Medido con tu conjunto de validación ({rows} registros) · entrenado en {time}",
secPerformanceSubTest: "Aciertos y errores en tu conjunto de prueba ({n} registros que el modelo nunca vio).",
evalTest: "Tu conjunto de prueba ({n} registros)",
evalOwnVal: "tu conjunto de validación ({n} registros)",
scoreTest: "Puntuación en prueba",
bestChosenOnVal: "El mejor modelo se elige con los datos de validación, no con la prueba, para que la puntuación en prueba sea una estimación honesta.",
error_split_columns: "El archivo de validación o de prueba no tiene todas las columnas del de entrenamiento.",
error_split_target_missing: "El archivo de validación o de prueba tiene valores vacíos en la variable a predecir.",
error_split_too_small: "El archivo de validación o de prueba necesita al menos 2 filas.",
error_split_timeseries: "Los conjuntos propios de validación y prueba no están disponibles para series temporales.",
},
fr: {
title: "Assistant AutoML",
appName: "Assistant AutoML",
tabTrain: "Entraîner",
tabPredict: "Prédire",
assistant: "Assistant",
language: "Langue",
darkMode: "Mode sombre",
changeApiKey: "Changer la clé de l'assistant",
stepData: "Données",
stepDataSub: "Charger et vérifier",
stepTrain: "Entraîner",
stepTrainSub: "Cible et options",
stepResults: "Résultats",
stepResultsSub: "Évaluer et télécharger",
how1Title: "Chargez vos données",
how1Text: "Une ligne par patient ou enregistrement, une colonne par variable.",
how2Title: "Choisissez quoi prédire",
how2Text: "AutoML essaie de nombreux modèles et garde le meilleur.",
how3Title: "Comprenez les résultats",
how3Text: "Métriques, variables importantes et un assistant pour les expliquer.",
dropzoneTitle: "Glissez votre jeu de données ici",
dropzoneSub: "ou cliquez pour choisir un fichier",
changeFile: "Changer de fichier",
rowsLower: "lignes",
columnsLower: "colonnes",
missingLower: "manquantes",
variablesTitle: "Variables",
variablesHint: "Vérifiez chaque variable. Décochez celles que le modèle ne doit pas utiliser (facultatif).",
viewVariables: "Variables",
viewRows: "Lignes d'exemple",
use: "Utiliser",
useVariable: "Utiliser la variable",
variable: "Variable",
type: "Type",
missingShort: "Manquantes",
uniqueShort: "Uniques",
distribution: "Distribution",
typeNumeric: "Numérique",
typeCategorical: "Catégorielle",
typeDate: "Date",
continue: "Continuer",
targetQuestion: "Que voulez-vous prédire ?",
targetHint: "Choisissez la colonne du résultat. Les autres variables serviront à la prédire.",
target: "Cible",
timeColumn: "Colonne temporelle",
timeTitle: "Durée d'entraînement",
timeHint: "Plus de temps permet à AutoML d'essayer plus de modèles. Vous pouvez arrêter à tout moment.",
advancedOptions: "Options avancées",
optional: "facultatif",
evalMetric: "Métrique à optimiser",
modelsToUse: "Familles de modèles",
useCrossValidation: "Validation croisée (recommandée)",
valSplitLabel: "Part de validation",
predictionLength: "Horizon de prévision (% des données)",
imputation: "Valeurs manquantes",
enableImputation: "Remplir moi-même les manquantes (sinon AutoML s'en charge)",
noMissingValues: "Aucune valeur manquante dans les variables sélectionnées.",
constantValue: "Valeur",
mean: "Moyenne",
median: "Médiane",
mode: "Plus fréquente",
constant: "Valeur fixe",
summaryTitle: "Résumé",
data: "Données",
task: "Tâche",
variablesUsed: "Variables utilisées",
excluded: "exclues",
metric: "Métrique",
time: "Durée",
startTraining: "Entraîner le modèle",
stopTraining: "Arrêter l'entraînement",
taskClassification: "Classification",
taskBinary: "Classification binaire",
taskMulticlass: "Classification multiclasse",
taskRegression: "Régression",
taskTimeseries: "Prévision de séries temporelles",
trainingOverlayTitle: "Entraînement des modèles…",
remaining: "restant",
modelPending: "En attente",
modelTraining: "En cours",
modelDone: "Terminé",
modelFailed: "échec",
modelSkipped: "ignoré (temps écoulé)",
modelUnavailable: "bibliothèque non installée",
modelNeuralNet: "Réseau de neurones",
modelLinear: "Modèle linéaire",
modelEnsemble: "Combinaison des meilleurs modèles",
stoppingTraining: "Arrêt après le modèle en cours…",
ofMaximum: "sur un maximum de {limit}",
phasePreparing: "Préparation des données…",
phaseFitting: "Essai de modèles · {n} terminés",
phaseEvaluating: "Évaluation sur des données non vues et génération des graphiques…",
phaseDone: "Terminé",
phaseStopping: "Arrêt après le modèle en cours…",
progressNote: "AutoGluon choisit les modèles à essayer et peut finir avant la limite. Chaque ligne est un modèle réellement entraîné.",
progressNoteEvaluating: "Les modèles sont entraînés. Calcul des métriques, graphiques et importances ; cette étape n'a pas de durée fixe.",
finalizingTitle: "Préparation des résultats…",
finalizingOOF: "Évaluation sur des données non vues",
finalizingFeatureImportance: "Calcul de l'importance des variables",
finalizingPlots: "Génération des graphiques",
finalizingReport: "Classement des modèles",
bestModel: "Meilleur modèle",
downloadModel: "Télécharger le modèle",
downloadPDF: "Rapport PDF",
downloadPlots: "Graphiques (.zip)",
predictWithModel: "Prédire avec ce modèle",
baselineAccuracy: "En prédisant toujours la classe la plus fréquente",
quality_excellent: "Excellent",
quality_good: "Bon",
quality_fair: "Acceptable",
quality_weak: "Faible",
help_roc_auc: "Capacité à classer les cas positifs au-dessus des négatifs (0,5 = hasard ; 1 = parfait).",
help_accuracy: "Part de bonnes prédictions. À comparer au modèle trivial si les classes sont déséquilibrées.",
help_f1_macro: "Équilibre entre précision et rappel, moyenné sur les classes.",
help_r2: "Part de la variance expliquée par le modèle (1 = parfait).",
help_rmse: "Erreur typique de prédiction, dans les unités de la cible.",
help_mae: "Erreur absolue moyenne, dans les unités de la cible.",
help_mape: "Erreur moyenne en pourcentage de la valeur réelle.",
tabPerformance: "Performance",
tabImportance: "Variables importantes",
tabShap: "Explication SHAP",
tabModels: "Modèles essayés",
noPlots: "Aucun graphique disponible pour ce modèle.",
forecast: "Prévision",
importanceIntro: "Combien le modèle se dégrade si la variable est mélangée. Barre plus longue = plus importante.",
shapIntro: "Voyez, enregistrement par enregistrement, si chaque variable augmente ou diminue la prédiction. Cela prend quelques secondes.",
generateShap: "Voir l'effet de chaque variable",
model: "Modèle",
best: "meilleur",
scoreVal: "Score de validation",
fitTime: "Durée d'entraînement",
predictTime: "Durée de prédiction",
askTitle: "Besoin d'aide pour lire les résultats ?",
askText: "L'assistant peut les expliquer simplement.",
askButton: "Demander à l'assistant",
pdfGenerating: "Génération du rapport PDF…",
predTitle: "Prédire sur de nouvelles données",
predSubtitle: "Chargez de nouveaux enregistrements (mêmes colonnes qu'à l'entraînement) et un modèle entraîné.",
predData: "Nouvelles données",
predModel: "Modèle (.zip)",
predRun: "Prédire",
chooseFile: "Choisir un fichier",
chooseModel: "Choisir un modèle",
useLastModel: "Utiliser le modèle que je viens d'entraîner",
predictButton: "Lancer la prédiction",
predictionResults: "Prédictions",
preview: "Aperçu",
downloadPredictions: "Télécharger les prédictions",
downloadPredictionPlots: "Graphiques (.zip)",
noPrediction: "Aucune prédiction n'a été renvoyée.",
assistantTitle: "Assistant IA",
assistantSub: "Posez vos questions sur les données ou les résultats",
chatPlaceholder: "Posez une question…",
suggestStart: "Par où commencer ?",
suggestFormat: "Quel format pour mes données ?",
suggestData: "Y a-t-il un problème dans mes données ?",
suggestTarget: "Quelle colonne dois-je prédire ?",
suggestMetric: "Quelle métrique utiliser ?",
suggestGood: "Mon modèle est-il bon ?",
suggestImportant: "Quelles variables comptent le plus ?",
suggestImprove: "Comment améliorer le modèle ?",
suggestPredict: "Comment interpréter ces prédictions ?",
actionsIntro: "Je vous propose ces changements :",
actionsProposedNote: "actions proposées",
actionAppliedNote: "L'utilisateur a appliqué",
act_exclude: "Exclure {cols}",
act_include: "Réutiliser {cols}",
act_target: "Prédire «{col}»",
act_metric: "Optimiser {metric}",
act_time: "Durée d'entraînement : {time}",
act_cv_on: "Utiliser la validation croisée",
act_cv_off: "Utiliser une partition de validation au lieu de la validation croisée",
act_train: "Lancer l'entraînement",
act_step: "Aller à {step}",
act_tab: "Ouvrir «{tab}»",
act_shap: "Générer le graphique SHAP",
act_mode_predict: "Passer à Prédire",
act_mode_train: "Passer à Entraîner",
actApply: "Appliquer",
actApplyAll: "Tout appliquer",
actDismiss: "Ignorer",
actApplied: "Appliqué",
actDismissed: "Ignoré",
actInvalid: "Cette action ne correspond plus à l'état actuel",
actNothingToChange: "Rien à changer",
cmTitle: "Matrice de confusion",
cmSub: "Prédictions sur des données non vues à l'entraînement. La diagonale correspond aux bonnes prédictions.",
cmActual: "Réel",
cmPredicted: "Prédit",
cmTip: "{n} enregistrements sont réellement «{actual}» et ont été prédits «{predicted}» ({pct} de «{actual}»)",
cmPositive: "Taux calculés avec «{label}» comme classe positive.",
stat_sensitivity: "Sensibilité",
stat_specificity: "Spécificité",
stat_ppv: "Valeur prédictive positive",
stat_npv: "Valeur prédictive négative",
rocTitle: "Courbe ROC",
rocSub: "Chaque point est un seuil de décision pour «{label}». Survolez pour voir sensibilité et spécificité.",
rocX: "1 − spécificité",
rocY: "Sensibilité",
rocChance: "hasard",
rocThreshold: "seuil",
scatterTitle: "Prédit vs réel",
scatterSub: "{n} sur {total} enregistrements. Les points sur la ligne sont des prédictions parfaites.",
errorsTitle: "Erreurs de prédiction",
errorsSub: "Valeur prédite moins réelle. Mieux vaut centré sur 0 et étroit.",
errorsX: "Erreur (prédit − réel)",
errorsY: "Enregistrements",
groqTitle: "Clé de l'assistant",
groqText: "L'assistant utilise Groq et nécessite une clé d'API. Collez-la ici ; elle reste dans ce navigateur.",
groqMissing: "Une clé d'API est nécessaire pour utiliser l'assistant.",
groqGetKey: "Pas de clé ? Créez-en une gratuitement sur",
rowsCaption: "Affichage des {n} premières lignes sur {total}.",
cancel: "Annuler",
save: "Enregistrer",
pleaseSelectFile: "Choisissez un fichier CSV, Excel ou ARFF.",
pleaseSelectZIP: "Choisissez un fichier de modèle .zip.",
selectCSVAndTarget: "Chargez d'abord des données et choisissez la cible.",
selectAtLeastOneModel: "Sélectionnez au moins une famille de modèles.",
cannotDropTargetColumn: "La colonne cible ne peut pas être exclue.",
selectDatasetAndModel: "Choisissez les données et le modèle.",
beginTrainingError: "L'entraînement n'a pas pu démarrer.",
trainingError: "L'entraînement a échoué.",
trainingErrorGet: "Impossible de récupérer les résultats.",
trainingErrorNetwork: "Erreur réseau. Le serveur est-il lancé ?",
trainingStopped: "Entraînement arrêté. Aucun modèle n'a été enregistré.",
stopTrainingError: "Impossible d'arrêter l'entraînement.",
missingSHAPInfo: "Entraînez d'abord un modèle.",
shapGenerationError: "La génération du graphique SHAP a échoué",
missingPDFInfo: "Entraînez d'abord un modèle.",
pdfGenerationError: "Le PDF n'a pas pu être généré.",
predictionError: "La prédiction a échoué.",
training_interrupted: "L'entraînement a été arrêté.",
error_no_file: "Aucun fichier n'a été envoyé.",
error_time_limit_range: "La durée doit être comprise entre 1 minute et 3 heures.",
error_unsupported_file_format: "Format de fichier non pris en charge.",
error_target_not_in_columns: "La colonne cible n'est pas dans les données.",
error_target_all_missing: "La colonne cible ne contient que des valeurs manquantes.",
error_no_dataset: "Aucun fichier de données n'a été envoyé.",
error_invalid_model_path: "Le chemin du modèle est invalide ou inexistant.",
error_missing_target_column: "La colonne cible n'a pas été indiquée.",
error_invalid_zip: "Le fichier ZIP est invalide ou corrompu.",
error_missing_dataset_or_model: "Le fichier de données ou le modèle est manquant.",
error_training_failed: "L'entraînement a échoué à cause d'une erreur serveur.",
error_shap_failed: "La génération des graphiques SHAP a échoué.",
error_prediction_failed: "La prédiction a échoué à cause d'une erreur serveur.",
error_missing_target_values: "La colonne cible contient des valeurs manquantes.",
error_missing_columns: "Des colonnes attendues par le modèle sont absentes.",
error_extra_columns: "Les données contiennent des colonnes non reconnues.",
error_shap: "La génération du graphique SHAP a échoué.",
error_invalid_time_column: "La colonne temporelle n'est pas valide.",
error_unexpected_training: "Erreur inattendue pendant l'entraînement.",
error_unexpected_prediction: "Erreur inattendue pendant la prédiction.",
error_empty_message: "Veuillez écrire un message.",
error_chat: "L'assistant n'a pas pu répondre. Réessayez.",
verdict_excellent: "Le modèle prédit «{target}» très bien",
verdict_good: "Le modèle prédit «{target}» bien",
verdict_fair: "Le modèle prédit «{target}» de façon acceptable, avec une marge de progrès",
verdict_weak: "Le modèle prédit à peine «{target}» mieux que le hasard",
verdictDone: "Modèle pour «{target}» prêt",
verdictSub: "Mesuré sur des données non vues à l'entraînement ({rows} enregistrements) · entraîné en {time}",
vsBaseline: "en prédisant toujours la classe la plus fréquente : {pct}",
secPerformance: "Quelle qualité de prédiction ?",
secPerformanceSub: "Bonnes et mauvaises prédictions sur des enregistrements non vus à l'entraînement.",
secVariables: "Quelles variables comptent ?",
secVariablesSub: "Sur quoi s'appuie le modèle et dans quel sens chaque variable pousse la prédiction.",
secDetails: "Détails techniques",
secDetailsSub: "configuration, modèles comparés, téléchargements",
checkIdentifier: "«{col}» ressemble à un identifiant (presque une valeur par enregistrement) et fait partie des variables les plus importantes. Un identifiant ne devrait rien prédire : le résultat peut être trop optimiste.",
checkDominant: "Le modèle dépend presque uniquement de «{col}». Vérifiez qu'elle est connue au moment de la prédiction et qu'elle n'est pas une conséquence du résultat.",
checkNoBetter: "L'accuracy ne fait pas mieux que prédire toujours la classe la plus fréquente ({pct}). Regardez la sensibilité dans la matrice de confusion.",
checkImbalance: "Une classe est beaucoup plus fréquente ({pct}). L'accuracy peut sembler élevée malgré tout : vérifiez la sensibilité et le ROC AUC.",
checkWeak: "La performance est faible. Plus d'enregistrements, plus de temps ou des variables plus informatives peuvent aider.",
checkFix: "Exclure «{col}»",
checkFixDone: "«{col}» exclue. Relancez l'entraînement pour voir l'effet.",
evaluation: "Évaluation",
evalCv: "Validation croisée (prédictions hors pli)",
evalHoldout: "Jeu réservé ({pct} % des données)",
excludedVars: "Variables exclues",
modelFamilies: "Familles de modèles",
yes: "Oui",
no: "Non",
none: "Aucune",
ensembleNote: "AutoML entraîne plusieurs modèles et combine généralement les meilleurs dans un ensemble (WeightedEnsemble). Les scores sont mesurés sur des données de validation.",
shapTitle: "Effet de chaque variable (SHAP)",
shapRead: "Chaque point est un enregistrement. À droite de la ligne la variable augmente la prédiction ; à gauche elle la diminue. La couleur est la valeur de la variable.",
shapValueLow: "valeur basse",
shapValueHigh: "valeur haute",
shapNoValue: "catégorie / manquant",
shapAxisLow: "«{cls}» moins probable",
shapAxisHigh: "«{cls}» plus probable",
shapAxisLowReg: "prédiction plus basse",
shapAxisHighReg: "prédiction plus haute",
shapInWords: "En mots",
shapExpert: "Valeurs SHAP du modèle de base {model} sur {n} enregistrements (unités de sortie du modèle ; log-odds pour les arbres boostés).",
shapUpCls: "rendre «{cls}» plus probable",
shapDownCls: "rendre «{cls}» moins probable",
shapUpReg: "augmenter la prédiction",
shapDownReg: "diminuer la prédiction",
shapHigh: "Des valeurs élevées de {col} tendent à {effect}.",
shapLow: "Des valeurs basses de {col} tendent à {effect}.",
shapLevel: "{col} = «{level}» tend à {effect}.",
shapMixed: "{col} a un effet mixte : il dépend de la valeur et d'autres variables.",
importanceTitle: "Importance",
importanceUseless: "{n} variables n'aident pas le modèle (importance nulle ou négative).",
expertMode: "Mode expert",
expertModeHint: "Détails techniques ouverts par défaut",
advancedHint: "facultatif · métrique, modèles, validation, valeurs manquantes",
verdictBin_excellent: "Le modèle distingue très bien «{a}» de «{b}»",
verdictBin_good: "Le modèle distingue bien «{a}» de «{b}»",
verdictBin_fair: "Le modèle distingue «{a}» de «{b}» de façon acceptable, avec une marge de progrès",
verdictBin_weak: "Le modèle distingue à peine «{a}» de «{b}» mieux que le hasard",
recommended: "recommand\u00e9e",
chooseTarget: "— Choisissez la variable à prédire —",
targetSuggestions: "Suggestions :",
chooseTargetFirst: "Choisissez d'abord la variable à prédire",
examplesTitle: "Pas de données sous la main ? Essayez un exemple :",
exampleBreast: "Cancer du sein",
exampleBreastSub: "· diagnostic, 569 patientes",
exampleDiabetes: "Diabète",
exampleDiabetesSub: "· progression à 1 an, 442 patients",
sessionRestored: "Votre dernière analyse a été restaurée ({when}). Utilisez «Changer de fichier» pour recommencer.",
agoNow: "à l'instant",
agoMinutes: "il y a {n} min",
agoHours: "il y a {n} h",
agoDays: "il y a {n} jours",
modelMissing: "Le modèle entraîné n'est plus sur le serveur (conservé 24 h). Les résultats restent visibles ; relancez l'entraînement pour le télécharger, prédire ou voir l'effet de chaque variable.",
modelMissingShap: "Indisponible : le modèle n'est plus sur le serveur. Relancez l'entraînement pour le calculer.",
error_model_not_trusted: "Ce modèle ne peut pas être utilisé : par sécurité, seuls les modèles entraînés dans cette application (et non modifiés) sont acceptés. Entraînez-le ici et utilisez le ZIP téléchargé.",
error_training_busy: "Un autre entraînement est en cours sur le serveur. Réessayez dans quelques minutes.",
error_training_lost: "Le serveur a perdu cet entraînement (redémarrage ou résultat expiré). Relancez l'entraînement.",
splitsTitle: "Jeux de validation et de test personnels",
splitsHint: "facultatif · si vos données sont déjà séparées",
splitsIntro: "Le fichier ci-dessus sert à l'entraînement. Ajoutez un jeu de test pour mesurer le modèle sur des données jamais vues : les résultats seront ceux du test. Le jeu de validation est facultatif ; sans lui, le modèle est validé sur les données d'entraînement (validation croisée).",
splitVal: "Validation",
splitValHint: "Sert à choisir et régler les modèles.",
splitTest: "Test",
splitTestHint: "Utilisé seulement à la fin, pour les métriques et graphiques des résultats.",
splitMissingCols: "Colonnes manquantes du fichier d'entraînement : {cols}",
splitTargetMissing: "La variable à prédire est vide dans {n} lignes : complétez-les ou supprimez-les.",
splitOk: "Mêmes colonnes que le fichier d'entraînement",
splitFixFirst: "Corrigez le fichier de {set} avant l'entraînement (voir Données).",
rows: "lignes",
remove: "Retirer",
verdictSubTest: "Mesuré sur votre jeu de test ({rows} enregistrements jamais vus) · entraîné en {time}",
verdictSubVal: "Mesuré sur votre jeu de validation ({rows} enregistrements) · entraîné en {time}",
secPerformanceSubTest: "Bonnes et mauvaises prédictions sur votre jeu de test ({n} enregistrements jamais vus).",
evalTest: "Votre jeu de test ({n} enregistrements)",
evalOwnVal: "votre jeu de validation ({n} enregistrements)",
scoreTest: "Score de test",
bestChosenOnVal: "Le meilleur modèle est choisi sur les données de validation, pas sur le test, pour que le score de test reste une estimation honnête.",
error_split_columns: "Le fichier de validation ou de test n'a pas toutes les colonnes du fichier d'entraînement.",
error_split_target_missing: "Le fichier de validation ou de test a des valeurs vides dans la variable à prédire.",
error_split_too_small: "Le fichier de validation ou de test doit avoir au moins 2 lignes.",
error_split_timeseries: "Les jeux de validation et de test personnels ne sont pas disponibles pour les séries temporelles.",
},
};
// UI strings. English is the fallback for any missing key.
const translations = {
en: {
title: "AutoML Assistant",
appName: "AutoML Assistant",
tabTrain: "Train",
tabPredict: "Predict",
assistant: "Assistant",
language: "Language",
darkMode: "Dark mode",
changeApiKey: "Change assistant API key",
stepData: "Data",
stepDataSub: "Upload and review",
stepTrain: "Train",
stepTrainSub: "Target and options",
stepResults: "Results",
stepResultsSub: "Evaluate and download",
how1Title: "Upload your data",
how1Text: "One row per patient or record, one column per variable.",
how2Title: "Choose what to predict",
how2Text: "AutoML tries many models and keeps the best one.",
how3Title: "Understand the results",
how3Text: "Metrics, important variables and an assistant to explain them.",
dropzoneTitle: "Drag your dataset here",
dropzoneSub: "or click to choose a file",
changeFile: "Change file",
rowsLower: "rows",
columnsLower: "columns",
missingLower: "missing",
variablesTitle: "Variables",
variablesHint: "Review each variable. Untick the ones the model should not use (optional).",
viewVariables: "Variables",
viewRows: "Sample rows",
use: "Use",
useVariable: "Use variable",
variable: "Variable",
type: "Type",
missingShort: "Missing",
uniqueShort: "Unique",
distribution: "Distribution",
typeNumeric: "Numeric",
typeCategorical: "Categorical",
typeDate: "Date",
continue: "Continue",
targetQuestion: "What do you want to predict?",
targetHint: "Choose the column with the outcome. The other variables will be used to predict it.",
target: "Target",
timeColumn: "Time column",
timeTitle: "Training time",
timeHint: "More time lets AutoML try more models. You can stop at any moment.",
advancedOptions: "Advanced options",
optional: "optional",
evalMetric: "Metric to optimise",
modelsToUse: "Model families",
useCrossValidation: "Cross-validation (recommended)",
valSplitLabel: "Validation split",
predictionLength: "Forecast horizon (% of data)",
imputation: "Missing values",
enableImputation: "Fill missing values myself (otherwise AutoML handles them)",
noMissingValues: "No missing values in the selected variables.",
constantValue: "Value",
mean: "Mean",
median: "Median",
mode: "Most frequent",
constant: "Fixed value",
summaryTitle: "Summary",
data: "Data",
task: "Task",
variablesUsed: "Variables used",
excluded: "excluded",
metric: "Metric",
time: "Time",
startTraining: "Train model",
stopTraining: "Stop training",
taskClassification: "Classification",
taskBinary: "Binary classification",
taskMulticlass: "Multiclass classification",
taskRegression: "Regression",
taskTimeseries: "Time series forecasting",
trainingOverlayTitle: "Training models…",
remaining: "remaining",
modelPending: "Pending",
modelTraining: "Training",
modelDone: "Done",
modelFailed: "failed",
modelSkipped: "skipped (no time left)",
modelUnavailable: "library not installed",
modelNeuralNet: "Neural network",
modelLinear: "Linear model",
modelEnsemble: "Ensemble of the best models",
stoppingTraining: "Stopping after the current model…",
ofMaximum: "of a {limit} maximum",
phasePreparing: "Preparing the data…",
phaseFitting: "Trying models · {n} finished",
phaseEvaluating: "Evaluating on unseen data and generating plots…",
phaseDone: "Finished",