Switched To point for datasets
Some checks failed
linter / quality (push) Failing after 9s
tests / ci (8.4) (push) Failing after 5s
tests / ci (8.5) (push) Failing after 6s

This commit is contained in:
2026-03-12 17:10:43 +01:00
parent 83b7aa3f3a
commit f8d9fbc5b1
4 changed files with 29 additions and 16 deletions

View File

@@ -1,3 +1,5 @@
import type { Point } from "chart.js";
export type Iteration = {
iteration: number;
exampleIndex: number;
@@ -7,10 +9,16 @@ export type Iteration = {
export type Dataset = {
label: string;
data: { x: number; y: number }[];
data: DatasetPoint[];
defaultLearningRate: number | undefined;
};
export type DatasetPoint = {
x: number;
y: number;
label: number;
};
export type InitializationMethod = 'zeros' | 'random';
export type PerceptronType = 'simple';