1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points
Browse files- .gitattributes +1 -0
- 1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Test/0_1_0_13062021_174033.json +0 -0
- 1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Train/0_1_0_14062021_193012.json +3 -0
- 1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Val/0_1_0_13062021_173950.json +0 -0
- 1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/config.txt +45 -0
.gitattributes
CHANGED
|
@@ -53,3 +53,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 53 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 54 |
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 55 |
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 56 |
+
1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Train/0_1_0_14062021_193012.json filter=lfs diff=lfs merge=lfs -text
|
1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Test/0_1_0_13062021_174033.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Train/0_1_0_14062021_193012.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc83e2936950457653266d1cd1f10a8650cd96f235a059e5d1ac22aa6f076d40
|
| 3 |
+
size 477948920
|
1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/Val/0_1_0_13062021_173950.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
1Var_RandSupport_FixedLength_-3to3_-5.0to-3.0-3.0to5.0_30Points/config.txt
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Config
|
| 2 |
+
seed = 2021 # 2021 Train, 2022 Val, 2023 Test, you have to change the generateData.py seed as well
|
| 3 |
+
#from GenerateData import seed
|
| 4 |
+
import random
|
| 5 |
+
random.seed(seed)
|
| 6 |
+
np.random.seed(seed=seed) # fix the seed for reproducibility
|
| 7 |
+
|
| 8 |
+
#NOTE: For linux you can only use unique numVars, in Windows, it is possible to use [1,2,3,4] * 10!
|
| 9 |
+
numVars = [1] #list(range(31)) #[1,2,3,4,5]
|
| 10 |
+
decimals = 8
|
| 11 |
+
numberofPoints = [30,31] # only usable if support points has not been provided
|
| 12 |
+
numSamples = 10000 # number of generated samples
|
| 13 |
+
folder = './Dataset'
|
| 14 |
+
dataPath = folder +'/{}_{}_{}.json'
|
| 15 |
+
|
| 16 |
+
testPoints = False
|
| 17 |
+
trainRange = [-3.0,3.0]
|
| 18 |
+
testRange = [[-5.0, 3.0],[-3.0, 5.0]] # this means Union((-5,-1),(1,5))
|
| 19 |
+
|
| 20 |
+
supportPoints = None
|
| 21 |
+
#supportPoints = np.linspace(xRange[0],xRange[1],numberofPoints[1])
|
| 22 |
+
#supportPoints = [[np.round(p,decimals)] for p in supportPoints]
|
| 23 |
+
#supportPoints = [[np.round(p,decimals), np.round(p,decimals)] for p in supportPoints]
|
| 24 |
+
#supportPoints = [[np.round(p,decimals) for i in range(numVars[0])] for p in supportPoints]
|
| 25 |
+
|
| 26 |
+
supportPointsTest = None
|
| 27 |
+
#supportPoints = None # uncomment this line if you don't want to use support points
|
| 28 |
+
#supportPointsTest = np.linspace(xRange[0],xRange[1],numberofPoints[1])
|
| 29 |
+
#supportPointsTest = [[np.round(p,decimals) for i in range(numVars[0])] for p in supportPointsTest]
|
| 30 |
+
|
| 31 |
+
n_levels = 4
|
| 32 |
+
allow_constants = True
|
| 33 |
+
const_range = [-2.1, 2.1]
|
| 34 |
+
const_ratio = 0.5
|
| 35 |
+
op_list=[
|
| 36 |
+
"id", "add", "mul",
|
| 37 |
+
"sin", "pow", "cos",
|
| 38 |
+
"exp", "div", "sub", "log"
|
| 39 |
+
]
|
| 40 |
+
exponents=[3, 4, 5, 6]
|
| 41 |
+
|
| 42 |
+
sortY = False # if the data is sorted based on y
|
| 43 |
+
numSamplesEachEq = 50
|
| 44 |
+
threshold = 5000
|
| 45 |
+
templatesEQs = None
|