diff --git a/aufgaben/p10/evaluation.py b/aufgaben/p10/evaluation.py
index 731165aeb45ad95de6b17a20aa01aa95572e5be6..69f5e507894d3aaa894ddced696e6e0844d0eafe 100644
--- a/aufgaben/p10/evaluation.py
+++ b/aufgaben/p10/evaluation.py
@@ -33,7 +33,8 @@ def evaluate_algorithm(training_data, test_data, algorithm, evaluator, args=None
 
 
 def evaluate():
-    test_data, training_data = get_evaluation_data(200, [standard_deviation, arithmetic_mean, median, maximum])
+    features = [standard_deviation, arithmetic_mean, median, maximum]
+    test_data, training_data = get_evaluation_data(200,features)
     classes = list(set(test[1] for test in test_data))
 
     # DecisionTree
@@ -47,7 +48,7 @@ def evaluate():
 
     # PLA
     print("\nPLA")
-    weights = [random.random(), random.random(), random.random(), random.random()]
+    weights = [random.random() for _ in features]
     threshold = 0.5
     perceptron = Perceptron(weights, threshold, numpy.tanh)
     train(perceptron, training_data, 10000, 0.1)