Machine-Learning-Collection icon indicating copy to clipboard operation
Machine-Learning-Collection copied to clipboard

Fix the points parameter(N) not being used during data creation

Open QuackInTheMatrix opened this issue 1 year ago • 0 comments

The function used for data creation isn't using the parameter N, because it is being shadowed by "N=100" in the first line of the create_dataset function. I modified the function to use the value 100 for the number of points by default and take the value provided by the parameter N otherwise. Below is an example of calling the function with create_dataset(300, 3) before the changes: before And after changes: after

QuackInTheMatrix avatar Aug 23 '24 16:08 QuackInTheMatrix