Skip to content

Commit

Permalink
adding read function
Browse files Browse the repository at this point in the history
  • Loading branch information
mzed committed Dec 21, 2022
1 parent 4da9a7b commit e624079
Show file tree
Hide file tree
Showing 5 changed files with 4,925 additions and 65 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
project(mzed)
project(rapid)

string(REGEX REPLACE "(.*)/" "" THIS_PACKAGE_NAME "${CMAKE_CURRENT_SOURCE_DIR}")

Expand Down
81 changes: 81 additions & 0 deletions help/myRegressionModel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"metadata" :
{
"creator" : "Rapid API C++",
"inputNames" : [ "inputs-1", "inputs-2", "inputs-1", "inputs-2" ],
"numInputs" : 2,
"numOutputs" : 2,
"version" : "v0.1.1"
},
"modelSet" :
[
{
"inBases" : [ 2, 2 ],
"inRanges" : [ 1, 1 ],
"inputNames" : [ "inputs-1", "inputs-2", "inputs-1", "inputs-2" ],
"modelType" : "Neural Network",
"nodes" :
[
{
"Node 1" : -2.1463192116643506,
"Node 2" : 0.56674681545450267,
"Threshold" : 0.8153857691269506,
"name" : "Linear Node 0"
},
{
"Attrib inputs-1" : -1.6440599258852069,
"Attrib inputs-2" : -0.9445283401874085,
"Threshold" : 0.12178440796651231,
"name" : "Sigmoid Node 1"
},
{
"Attrib inputs-1" : 0.23815369061221356,
"Attrib inputs-2" : 0.32528669813651112,
"Threshold" : -0.065549862911529366,
"name" : "Sigmoid Node 2"
}
],
"numHiddenLayers" : 1,
"numHiddenNodes" : 2,
"numHiddenOutputs" : 1,
"numInputs" : 2,
"outBase" : 600,
"outRange" : 300,
"whichInputs" : [ 0, 1, 2, 3 ]
},
{
"inBases" : [ 2, 2 ],
"inRanges" : [ 1, 1 ],
"inputNames" : [ "inputs-1", "inputs-2", "inputs-1", "inputs-2" ],
"modelType" : "Neural Network",
"nodes" :
[
{
"Node 1" : -2.146319211664351,
"Node 2" : 0.56674681545450112,
"Threshold" : 0.81538576912695182,
"name" : "Linear Node 0"
},
{
"Attrib inputs-1" : -1.6440599258852067,
"Attrib inputs-2" : -0.94452834018740761,
"Threshold" : 0.12178440796651198,
"name" : "Sigmoid Node 1"
},
{
"Attrib inputs-1" : 0.23815369061221298,
"Attrib inputs-2" : 0.32528669813651134,
"Threshold" : -0.065549862911529089,
"name" : "Sigmoid Node 2"
}
],
"numHiddenLayers" : 1,
"numHiddenNodes" : 2,
"numHiddenOutputs" : 1,
"numInputs" : 2,
"outBase" : 6.5999999999999996,
"outRange" : 3.3000000000000003,
"whichInputs" : [ 0, 1, 2, 3 ]
}
]
}
Loading

0 comments on commit e624079

Please sign in to comment.