Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ML/algorithms/neuralnetwork/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
import matplotlib.pyplot as plt


def create_dataset(N, K=2):
N = 100 # number of points per class
def create_dataset(N=100, K=2):
D = 2
X = np.zeros((N * K, D)) # data matrix (each row = single example)
y = np.zeros(N * K) # class labels
Expand Down