Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
67270e4
fix: clean dashes and nonstandard hyphens in converter text
Irozuku Dec 5, 2026
e7481b0
fix: clean dashes and nonstandard hyphens in dataloader text
Irozuku Dec 5, 2026
3efe007
fix: clean dashes and nonstandard hyphens in explainer text
Irozuku Dec 5, 2026
3947b7f
fix: clean dashes and nonstandard hyphens in explorer text
Irozuku Dec 5, 2026
ee70620
fix: clean dashes and nonstandard hyphens in metric and report text
Irozuku Dec 5, 2026
b78bb4a
fix: clean dashes and nonstandard hyphens in RAG text
Irozuku Dec 5, 2026
25d492c
fix: clean dashes and nonstandard hyphens in Hugging Face model text
Irozuku Dec 5, 2026
98b63ac
fix: clean dashes and nonstandard hyphens in scikit learn model text
Irozuku Dec 5, 2026
9115262
fix: clean dashes and nonstandard hyphens in other model text
Irozuku Dec 5, 2026
1364e28
fix: clean dashes and nonstandard hyphens in statistical test text
Irozuku Dec 5, 2026
9289be0
fix: clean dashes and nonstandard hyphens in optimizer text
Irozuku Dec 5, 2026
6be31ec
fix: clean dashes and nonstandard hyphens in unit text
Irozuku Dec 5, 2026
7298cb0
fix: clean dashes and nonstandard hyphens in shared labels and messages
Irozuku Dec 5, 2026
e30b985
test: check visible text keeps hyphens only in standard terms
Irozuku Dec 5, 2026
5816e0a
test: allow the standard terms used by the new display names
Irozuku Dec 5, 2026
1edce14
fix: keep the German suspension hyphen in header and footer labels
Irozuku Dec 5, 2026
35643c9
fix: phrase the SDXL guidance advice as a range from 5 to 9
Irozuku Dec 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DashAI/back/api/api_v1/endpoints/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,8 @@ async def preview_manual_prediction(
raise HTTPException(
status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
detail=(
"manual_input_data must be a non-empty JSON array "
"of objects (list[dict])."
"manual_input_data must be a JSON array with at least "
"one object (list[dict])."
),
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def _local_gguf_path(cls) -> pathlib.Path:
f"{cls.__name__} could not find a downloaded GGUF file for repo "
f"{cls.MODEL_NAME!r} in '{repo_dir}' matching GGUF_PATTERN "
f"{cls.GGUF_PATTERN!r}. The download is missing or incomplete; "
"re-download the component before using it."
"download the component again before using it."
)
return matches[0]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class RandomUnderSamplerConverter(
DISPLAY_NAME = MultilingualString(
en="Random Under-Sampler",
es="Submuestreador Aleatorio",
pt="Sub-amostrador Aleatório",
pt="Subamostrador Aleatório",
de="Zufälliger Unterabtaster",
zh="随机欠采样器",
)
Expand Down
4 changes: 2 additions & 2 deletions DashAI/back/converters/imbalanced_learn/smote_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class SMOTEConverter(SamplingConverter, ImbalancedLearnWrapper, SMOTE):
)
DISPLAY_NAME = MultilingualString(
en="SMOTE (Oversampling)",
es="SMOTE (Sobre-muestreo)",
pt="SMOTE (Super-amostragem)",
es="SMOTE (Sobremuestreo)",
pt="SMOTE (Superamostragem)",
de="SMOTE (Überabtastung)",
zh="SMOTE(过采样)",
)
Expand Down
3 changes: 2 additions & 1 deletion DashAI/back/converters/imbalanced_learn_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ def fit(self, x: "DashAIDataset", y: "DashAIDataset") -> Type[BaseConverter]:

if y is None or len(y) == 0:
raise ValueError(
"Imbalanced-learn samplers require a non-empty target dataset (y)."
"Imbalanced-learn samplers require a target dataset (y) with at least "
"one row."
)

self._input_types = dict(x.types)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AdditiveChi2Sampler(
DISPLAY_NAME = MultilingualString(
en="Additive Chi² Sampler",
es="Muestreador Chi² Aditivo",
pt="Amostrador Qui-2 Aditivo",
pt="Amostrador Qui² Aditivo",
de="Additiver Chi²-Stichprobennehmer",
zh="加性卡方采样器",
)
Expand Down
27 changes: 23 additions & 4 deletions DashAI/back/converters/scikit_learn/fast_ica.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,26 @@ class FastICASchema(BaseSchema):
whiten: schema_field(
none_type(
union_type(
enum_field(["arbitrary-variance", "unit-variance"]), bool_field()
enum_field(
["arbitrary-variance", "unit-variance"],
labels={
"arbitrary-variance": MultilingualString(
en="Arbitrary variance",
es="Varianza arbitraria",
pt="Variância arbitrária",
de="Beliebige Varianz",
zh="任意方差",
),
"unit-variance": MultilingualString(
en="Unit variance",
es="Varianza unitaria",
pt="Variância unitária",
de="Einheitsvarianz",
zh="单位方差",
),
},
),
bool_field(),
)
),
"unit-variance",
Expand All @@ -81,12 +100,12 @@ class FastICASchema(BaseSchema):
),
es=(
"Forma funcional de la función G utilizada en la aproximación "
"a la neg-entropía."
"a la neguentropía."
),
pt=("Forma funcional da função G usada na aproximação da neg-entropia."),
pt=("Forma funcional da função G usada na aproximação da negentropia."),
de=(
"Funktionale Form der G-Funktion, die bei der Annäherung an "
"Neg-Entropie verwendet wird."
"Negentropie verwendet wird."
),
zh="用于近似负熵的 G 函数的函数形式。",
),
Expand Down
4 changes: 2 additions & 2 deletions DashAI/back/converters/scikit_learn/knn_imputer.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,14 @@ class KNNImputer(BasicPreprocessingConverter, SklearnWrapper, KNNImputerOperatio
en=("Imputation for completing missing values using k-Nearest Neighbors."),
es=(
"Imputación para completar valores faltantes utilizando "
"k-Vecinos Más Cercanos."
"k Vecinos Más Cercanos."
),
pt=(
"Imputação para completar valores ausentes utilizando "
"k-Vizinhos Mais Próximos."
),
de=(
"Imputation zum Vervollständigen fehlender Werte mithilfe von k-nächsten "
"Imputation zum Vervollständigen fehlender Werte mithilfe von k nächsten "
"Nachbarn."
),
zh="使用 k 近邻算法完成缺失值插补。",
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/scikit_learn/label_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class LabelEncoder(EncodingConverter, SklearnWrapper):
en="Label Encoder",
es="Codificador de Etiquetas",
pt="Codificador de Rótulos",
de="Zielgrößen-Kodierer",
de="Zielgrößenkodierer",
zh="标签编码器",
)
IMAGE_PREVIEW = "label_encoder.png"
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/scikit_learn/missing_indicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class MissingIndicator(
en="Missing Indicator",
es="Indicador de Faltantes",
pt="Indicador de Valores Ausentes",
de="Fehlender-Wert-Indikator",
de="Indikator für fehlende Werte",
zh="缺失值指示器",
)
IMAGE_PREVIEW = "missing_indicator.png"
Expand Down
5 changes: 3 additions & 2 deletions DashAI/back/converters/scikit_learn/normalizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ class NormalizerSchema(BaseSchema):
enum_field(["l1", "l2", "max"]),
"l2",
description=MultilingualString(
en="The norm to use to normalize each non-zero sample.",
en="The norm to use to normalize each nonzero sample.",
es="La norma a usar para normalizar cada muestra no nula.",
pt="A norma a usar para normalizar cada amostra não nula.",
de=(
"Die Norm, die zur Normalisierung jeder nicht-null Stichprobe verwendet"
"Die Norm, die zur Normalisierung jeder von null verschiedenen "
"Stichprobe verwendet"
"wird."
),
zh="用于归一化每个非零样本的范数。",
Expand Down
4 changes: 2 additions & 2 deletions DashAI/back/converters/scikit_learn/pca.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ class PCA(
"dados complexos conservando o máximo de variabilidade possível."
),
de=(
"Hauptkomponentenanalyse (PCA) ist eine Dimensionsreduktions-"
"technik, die zur Vereinfachung komplexer Datensätze verwendet wird, "
"Hauptkomponentenanalyse (PCA) ist eine Dimensionsreduktionstechnik, "
"die zur Vereinfachung komplexer Datensätze verwendet wird, "
"während so viel Variabilität wie möglich erhalten bleibt."
),
zh=(
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/scikit_learn/rbf_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RBFSamplerSchema(BaseSchema):
0,
description=MultilingualString(
en=(
"Pseudo-random number generator to control the generation of the "
"Pseudorandom number generator to control the generation of the "
"random weights and random offset when fitting the training data. "
"Pass an int for reproducible output across multiple function calls."
),
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/scikit_learn/select_k_best.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class SelectKBest(FeatureSelectionConverter, SklearnWrapper, SelectKBestOperatio
en="Select K Best",
es="Seleccionar K Mejores",
pt="Seleção K Melhores",
de="K-Beste Auswahl",
de="Auswahl der K besten",
zh="K 最优特征选择",
)
IMAGE_PREVIEW = "select_k_best.png"
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/scikit_learn/select_percentile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class SelectPercentile(
en="Select Percentile",
es="Seleccionar Percentil",
pt="Seleção por Percentil",
de="Perzentil-Auswahl",
de="Perzentilauswahl",
zh="百分位数特征选择",
)
IMAGE_PREVIEW = "select_percentile.png"
Expand Down
4 changes: 2 additions & 2 deletions DashAI/back/converters/scikit_learn/skewed_chi_2_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class SkewedChi2SamplerSchema(BaseSchema):
None,
description=MultilingualString(
en=(
"Pseudo-random number generator to control the generation of the "
"Pseudorandom number generator to control the generation of the "
"random weights and random offset when fitting the training data. "
"Pass an int for reproducible output across multiple function calls."
),
Expand Down Expand Up @@ -154,7 +154,7 @@ class SkewedChi2Sampler(
DISPLAY_NAME = MultilingualString(
en="Skewed Chi² Sampler",
es="Muestreador Chi² Sesgado",
pt="Amostrador Qui-2 Enviesado",
pt="Amostrador Qui² Enviesado",
de="Schiefer Chi²-Stichprobennehmer",
zh="偏斜卡方采样器",
)
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/scikit_learn/variance_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class VarianceThreshold(
en="Variance Threshold",
es="Umbral de Varianza",
pt="Limiar de Variância",
de="Varianz-Schwellenwert",
de="Varianzschwellenwert",
zh="方差阈值",
)
PRESERVES_INPUT_TYPE = True
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class CharacterReplacer(BasicPreprocessingConverter, BaseConverter):
),
de=(
"Ersetzt oder entfernt angegebene Zeichen/Teilzeichenketten in "
"ausgewählten Text-Spalten."
"ausgewählten Textspalten."
),
zh="替换或删除所选字符串列中指定的字符/子字符串。",
)
Expand Down Expand Up @@ -124,7 +124,9 @@ def __init__(self, char_to_replace: str, replacement_char: str):
"""
super().__init__()
if not isinstance(char_to_replace, str) or not char_to_replace:
raise ValueError("'char_to_replace' must be a non-empty string.")
raise ValueError(
"'char_to_replace' must be a string with at least one character."
)

self.char_to_replace = char_to_replace
if replacement_char is None or not isinstance(replacement_char, str):
Expand Down
26 changes: 13 additions & 13 deletions DashAI/back/converters/simple_converters/column_arithmetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,32 +177,32 @@ class ColumnArithmetic(FeatureEngineeringConverter, BaseConverter):
DESCRIPTION = MultilingualString(
en=(
"Applies an arithmetic operation (add, subtract, multiply, divide) "
"to the selected columns — two columns to operate between them, or "
"one column with a fixed constant (e.g. column * 2) — and appends "
"the result as a new column."
"to the selected columns: two columns to operate between them, or "
"one column with a fixed constant (e.g. column * 2). The result is "
"appended as a new column."
),
es=(
"Aplica una operación aritmética (sumar, restar, multiplicar, "
"dividir) a las columnas seleccionadas — dos columnas para operar "
"dividir) a las columnas seleccionadas: dos columnas para operar "
"entre ellas, o una columna con una constante fija (por ejemplo, "
"columna * 2) — y agrega el resultado como una nueva columna."
"columna * 2). El resultado se agrega como una nueva columna."
),
pt=(
"Aplica uma operação aritmética (somar, subtrair, multiplicar, "
"dividir) às colunas selecionadas — duas colunas para operar "
"dividir) às colunas selecionadas: duas colunas para operar "
"entre elas, ou uma coluna com uma constante fixa (por exemplo, "
"coluna * 2) — e adiciona o resultado como uma nova coluna."
"coluna * 2). O resultado é adicionado como uma nova coluna."
),
de=(
"Wendet eine arithmetische Operation (Addieren, Subtrahieren, "
"Multiplizieren, Dividieren) auf die ausgewählten Spalten an — "
"Multiplizieren, Dividieren) auf die ausgewählten Spalten an: "
"zwei Spalten, um zwischen ihnen zu rechnen, oder eine Spalte mit "
"einer festen Konstante (z. B. Spalte * 2) — und fügt das "
"Ergebnis als neue Spalte hinzu."
"einer festen Konstante (z. B. Spalte * 2). Das Ergebnis wird als "
"neue Spalte hinzugefügt."
),
zh=(
"对所选列应用算术运算(加、减、乘、除)——选择两列在其之间运算,"
"或选择一列与固定常量运算(例如 列 * 2)——并将结果作为新列追加。"
"对所选列应用算术运算(加、减、乘、除):选择两列在其之间运算,"
"或选择一列与固定常量运算(例如 列 * 2),并将结果作为新列追加。"
),
)
SHORT_DESCRIPTION = MultilingualString(
Expand All @@ -220,7 +220,7 @@ class ColumnArithmetic(FeatureEngineeringConverter, BaseConverter):
en="Column Arithmetic",
es="Aritmética de Columnas",
pt="Aritmética de Colunas",
de="Spalten-Arithmetik",
de="Spaltenarithmetik",
zh="列算术运算",
)
IMAGE_PREVIEW = "column_arithmetic.png"
Expand Down
20 changes: 10 additions & 10 deletions DashAI/back/converters/simple_converters/column_concat.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,28 +159,28 @@ class ColumnConcat(FeatureEngineeringConverter, BaseConverter):
LEARNS_FROM_DATA = False
DESCRIPTION = MultilingualString(
en=(
"Concatenates the selected string columns — two columns to join "
"them, or one column with a fixed string — with an optional "
"Concatenates the selected string columns (two columns to join "
"them, or one column with a fixed string) with an optional "
"separator, and appends the result as a new column."
),
es=(
"Concatena las columnas de texto seleccionadas — dos columnas "
"para unirlas, o una columna con un string fijo — con un "
"Concatena las columnas de texto seleccionadas (dos columnas "
"para unirlas, o una columna con un string fijo) con un "
"separador opcional, y agrega el resultado como una nueva "
"columna."
),
pt=(
"Concatena as colunas de texto selecionadas — duas colunas para "
"uni-las, ou uma coluna com uma string fixa — com um separador "
"Concatena as colunas de texto selecionadas (duas colunas para "
"uni-las, ou uma coluna com uma string fixa) com um separador "
"opcional, e adiciona o resultado como uma nova coluna."
),
de=(
"Verkettet die ausgewählten Textspalten — zwei Spalten, um sie "
"zu verbinden, oder eine Spalte mit einer festen Zeichenkette — "
"Verkettet die ausgewählten Textspalten (zwei Spalten, um sie "
"zu verbinden, oder eine Spalte mit einer festen Zeichenkette) "
"mit einem optionalen Trennzeichen und fügt das Ergebnis als "
"neue Spalte hinzu."
),
zh="连接所选的文本列——两列将其合并,或一列与固定字符串——带可选分隔符,"
zh="连接所选的文本列(两列将其合并,或一列与固定字符串),带可选分隔符,"
"并将结果作为新列追加。",
)
SHORT_DESCRIPTION = MultilingualString(
Expand All @@ -197,7 +197,7 @@ class ColumnConcat(FeatureEngineeringConverter, BaseConverter):
en="Column Concat",
es="Concatenación de Columnas",
pt="Concatenação de Colunas",
de="Spalten-Verkettung",
de="Spaltenverkettung",
zh="列拼接",
)
IMAGE_PREVIEW = "column_concat.png"
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/converters/simple_converters/column_remover.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ColumnRemover(BasicPreprocessingConverter, BaseConverter):
en="Column Remover",
es="Removedor de Columnas",
pt="Removedor de Colunas",
de="Spalten-Entferner",
de="Spaltenentferner",
zh="列移除器",
)
IMAGE_PREVIEW = "column_remover.png"
Expand Down
8 changes: 4 additions & 4 deletions DashAI/back/core/schema_fields/enum_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def _m(en: str, es: str, pt: str, de: str, zh: str) -> MultilingualString:
"根据数据自动选择",
),
"ball_tree": _m("Ball tree", "Ball tree", "Ball tree", "Ball-Baum", "球树"),
"kd_tree": _m("k-d tree", "Árbol k-d", "Árvore k-d", "k-d-Baum", "k-d 树"),
"kd_tree": _m("k-d tree", "Árbol kd", "Árvore k-d", "k-d-Baum", "k-d 树"),
"brute": _m(
"Brute force", "Fuerza bruta", "Força bruta", "Brute Force", "暴力搜索"
),
Expand Down Expand Up @@ -436,7 +436,7 @@ def _m(en: str, es: str, pt: str, de: str, zh: str) -> MultilingualString:
"Log loss",
"Pérdida logarítmica",
"Perda logarítmica",
"Log-Loss",
"Log Loss",
"对数损失",
),
"exponential": _m(
Expand Down Expand Up @@ -500,7 +500,7 @@ def _m(en: str, es: str, pt: str, de: str, zh: str) -> MultilingualString:
"Log loss",
"Pérdida logarítmica",
"Perda logarítmica",
"Log-Loss",
"Log Loss",
"对数损失",
),
},
Expand Down Expand Up @@ -703,7 +703,7 @@ def _m(en: str, es: str, pt: str, de: str, zh: str) -> MultilingualString:
"Log loss (logistic regression)",
"Pérdida logarítmica (regresión logística)",
"Perda logarítmica (regressão logística)",
"Log-Loss (logistische Regression)",
"Log Loss (logistische Regression)",
"对数损失(逻辑回归)",
),
"modified_huber": _m(
Expand Down
2 changes: 1 addition & 1 deletion DashAI/back/dataloaders/classes/csv_dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class CSVDataloaderSchema(BaseSchema):
"Kommagetrennte Liste der zu verwendenden Spaltennamen. Wenn die Datei "
"eine Kopfzeile enthält, sollte header=0 explizit übergeben werden, "
"um die Spaltennamen zu überschreiben. Beispiel: 'col1,col2,col3'. "
"Leer lassen, um die Datei-Kopfzeilen zu verwenden."
"Leer lassen, um die Dateikopfzeilen zu verwenden."
),
zh=(
"要使用的列名逗号分隔列表。如果文件包含标题行,应显式传递header=0来覆盖列名。"
Expand Down
Loading
Loading