Added configuration panel datasets, back-end refactor and others
Some checks failed
linter / quality (push) Failing after 7s
tests / ci (8.4) (push) Failing after 6s
tests / ci (8.5) (push) Failing after 5s

This commit is contained in:
2026-03-12 16:38:50 +01:00
parent 650cf56045
commit 83b7aa3f3a
39 changed files with 3176 additions and 425 deletions

View File

@@ -0,0 +1,34 @@
export const colors = [
'#FF6384',
'#36A2EB',
'#FFCE56',
'#4BC0C0',
'#9D5C5C',
'#8B4513',
'#2E8B57',
'#800080',
'#FF4500',
'#008080',
'#FF1493',
'#00CED1',
'#FFD700',
'#ADFF2F',
'#FF69B4',
'#20B2AA',
'#FF6347',
'#40E0D0',
'#EE82EE',
'#F08080',
'#00FA9A',
'#FFB6C1',
'#48D1CC',
'#C71585',
'#00FF7F',
'#FF00FF',
'#00FFFF',
'#FF8C00',
'#7B68EE',
'#DC143C',
'#00FF00',
] as const;

View File

@@ -0,0 +1,16 @@
export type Iteration = {
iteration: number;
exampleIndex: number;
weights: number[][][];
error: number;
};
export type Dataset = {
label: string;
data: { x: number; y: number }[];
defaultLearningRate: number | undefined;
};
export type InitializationMethod = 'zeros' | 'random';
export type PerceptronType = 'simple';