Spaces:
Runtime error
Runtime error
amirhosseinkarami
commited on
Commit
•
f738fe0
1
Parent(s):
2e859b7
Update SymbolicFunctionLearner.py
Browse files
SymbolicFunctionLearner.py
CHANGED
@@ -1377,7 +1377,7 @@ class SFL:
|
|
1377 |
if y is not None:
|
1378 |
y = np.array(y)
|
1379 |
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
1380 |
-
y = np.zeros((
|
1381 |
|
1382 |
sample = np.random.choice(range(x.shape[0]), size=train_set_size, replace=False)
|
1383 |
train_x = x[sample][:]
|
|
|
1377 |
if y is not None:
|
1378 |
y = np.array(y)
|
1379 |
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
1380 |
+
y = np.zeros((x.shape[0], 1, 1))
|
1381 |
|
1382 |
sample = np.random.choice(range(x.shape[0]), size=train_set_size, replace=False)
|
1383 |
train_x = x[sample][:]
|