Created
September 7, 2020 15:07
-
-
Save MLWhiz/dc06e6529b02db5fe234dcc515e1c4ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
train_data_size = 1024 | |
sizes = np.random.randint(low=50,high=300,size=(train_data_size,)) | |
X = [np.random.randint(0,10000, (sizes[i])) for i in range(train_data_size)] | |
y = np.random.rand(train_data_size).round() | |
#checking one example in dataset | |
print((X[0],y[0])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment