Add colliding dataset

This commit is contained in:
flyingscorpio@clevo 2023-01-25 16:58:04 +01:00
parent 8dc3637e2f
commit d21b879428

View file

@ -53,8 +53,12 @@ def generate_dataset(nb_data_points: int):
Return (data, expected), where expected is the expected group for each group.
"""
# Separate dataset
func1 = lambda x: 2 * x + 1
func0 = lambda x: 0.5 * x - 3
# Colliding dataset
#func1 = lambda x: 2 * x + 1
#func0 = lambda x: 1.5 * x - 2
# Création groupe 1
x1 = np.linspace(0, 8, nb_data_points)