This commit is contained in:
Niklas Birk
2019-06-24 14:23:27 +02:00
parent c44e53707d
commit 248593af6c
3 changed files with 13 additions and 41 deletions

View File

@ -37,20 +37,4 @@ class PerceptronTest
{
new Perceptron().learn(this.positives, this.negatives);
}
@Test
void shouldClassifyCorrect2()
{
var positives = new ArrayList<>(List.of(
new Vector(List.of(0d, 1.8d)),
new Vector(List.of(2d, 0.6d)))
);
var negatives = new ArrayList<>(List.of(
new Vector(List.of(-1.2d, 1.4d)),
new Vector(List.of(0.4d, -1d)))
);
new Perceptron().learn(positives, negatives);
}
}