Add colliding dataset
This commit is contained in:
parent
8dc3637e2f
commit
d21b879428
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue