Up to Functional and Sequential Models
This commit is contained in:
1 parent
ffcb64815f
commit
a6b29e221c
8 files changed
+454
-21
No files matched your search
@@ -93,6 +93,14 @@
|
||||
"relatedUiObject": "Unsupervised Learning",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "typeOfLearning",
|
||||
"label": "Add Self Learning",
|
||||
"relatedUiObject": "Self Learning",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
@@ -128,6 +136,11 @@
|
||||
"name": "typeOfLearning",
|
||||
"type": "node",
|
||||
"childType": "Reinforcement Learning"
|
||||
},
|
||||
{
|
||||
"name": "typeOfLearning",
|
||||
"type": "node",
|
||||
"childType": "Self Learning"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
@@ -135,6 +148,14 @@
|
||||
{
|
||||
"type": "Supervised Learning",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "typeOfModel",
|
||||
"label": "Add Artificial Neural Network",
|
||||
"relatedUiObject": "Artificial Neural Network",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
@@ -152,6 +173,11 @@
|
||||
},
|
||||
"propertyNameAtParent": "typeOfLearning",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "typeOfModel",
|
||||
"type": "node",
|
||||
"childType": "Artificial Neural Network"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
@@ -159,28 +185,13 @@
|
||||
"type": "Unsupervised Learning",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "typeOfModel",
|
||||
"label": "Add Artificial Neural Network",
|
||||
"relatedUiObject": "Artificial Neural Network",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->TensorFlow Library->"
|
||||
},
|
||||
"propertyNameAtParent": "typeOfLearning",
|
||||
"childrenNodesProperties": [
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Reinforcement Learning",
|
||||
"menuItems": [
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
@@ -197,6 +208,299 @@
|
||||
"compatibleTypes": "->TensorFlow Library->"
|
||||
},
|
||||
"propertyNameAtParent": "typeOfLearning",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "typeOfModel",
|
||||
"type": "node",
|
||||
"childType": "Artificial Neural Network"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Reinforcement Learning",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "typeOfModel",
|
||||
"label": "Add Artificial Neural Network",
|
||||
"relatedUiObject": "Artificial Neural Network",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->TensorFlow Library->"
|
||||
},
|
||||
"propertyNameAtParent": "typeOfLearning",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "typeOfModel",
|
||||
"type": "node",
|
||||
"childType": "Artificial Neural Network"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Self Learning",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "typeOfModel",
|
||||
"label": "Add Artificial Neural Network",
|
||||
"relatedUiObject": "Artificial Neural Network",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->TensorFlow Library->"
|
||||
},
|
||||
"propertyNameAtParent": "typeOfLearning",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "typeOfModel",
|
||||
"type": "node",
|
||||
"childType": "Artificial Neural Network"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Artificial Neural Network",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "model",
|
||||
"label": "Add Model",
|
||||
"relatedUiObject": "Model",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Supervised Learning->Unsupervised Learning->Reinforcement Learning->Self Learning->"
|
||||
},
|
||||
"propertyNameAtParent": "typeOfModel",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "model",
|
||||
"type": "node",
|
||||
"childType": "Model"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Model",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "uiObject.configEditor.activate"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "api",
|
||||
"label": "Add Layers API",
|
||||
"relatedUiObject": "Layers API",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "api",
|
||||
"label": "Add Core API",
|
||||
"relatedUiObject": "Core API",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"editors": {
|
||||
"config": true
|
||||
},
|
||||
"initialValues": {
|
||||
"config": "{ \n \"codeName\": \"webgl\"\n}"
|
||||
},
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Artificial Neural Network->"
|
||||
},
|
||||
"propertyNameAtParent": "model",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "api",
|
||||
"type": "node",
|
||||
"childType": "Layers API"
|
||||
},
|
||||
{
|
||||
"name": "api",
|
||||
"type": "node",
|
||||
"childType": "Core API"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Layers API",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "layersModel",
|
||||
"label": "Add Secuential Model",
|
||||
"relatedUiObject": "Secuential Model",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Add UI Object",
|
||||
"disableIfPropertyIsDefined": true,
|
||||
"propertyToCheckFor": "layersModel",
|
||||
"label": "Add Functional Model",
|
||||
"relatedUiObject": "Functional Model",
|
||||
"actionFunction": "payload.executeAction"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Model->"
|
||||
},
|
||||
"propertyNameAtParent": "api",
|
||||
"childrenNodesProperties": [
|
||||
{
|
||||
"name": "layersModel",
|
||||
"type": "node",
|
||||
"childType": "Secuential Model"
|
||||
},
|
||||
{
|
||||
"name": "layersModel",
|
||||
"type": "node",
|
||||
"childType": "Functional Model"
|
||||
}
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Core API",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Model->"
|
||||
},
|
||||
"propertyNameAtParent": "api",
|
||||
"childrenNodesProperties": [
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Secuential Model",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Layers API->"
|
||||
},
|
||||
"propertyNameAtParent": "layersModel",
|
||||
"childrenNodesProperties": [
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
},
|
||||
{
|
||||
"type": "Functional Model",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
"confirmationLabel": "Confirm to Delete",
|
||||
"label": "Delete",
|
||||
"iconPathOn": "delete-entity",
|
||||
"iconPathOff": "delete-entity",
|
||||
"actionFunction": "payload.executeAction"
|
||||
}
|
||||
],
|
||||
"addLeftIcons": true,
|
||||
"level": 3,
|
||||
"attachingRules": {
|
||||
"compatibleTypes": "->Layers API->"
|
||||
},
|
||||
"propertyNameAtParent": "layersModel",
|
||||
"childrenNodesProperties": [
|
||||
],
|
||||
"icon": "tensorflow"
|
||||
@@ -342,6 +646,13 @@
|
||||
{
|
||||
"type": "WebGL Backend",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "uiObject.configEditor.activate"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
@@ -371,6 +682,13 @@
|
||||
{
|
||||
"type": "NodeJS Backend",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "uiObject.configEditor.activate"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
@@ -400,6 +718,13 @@
|
||||
{
|
||||
"type": "WASM Backend",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "uiObject.configEditor.activate"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
@@ -429,6 +754,13 @@
|
||||
{
|
||||
"type": "CPU Backend",
|
||||
"menuItems": [
|
||||
{
|
||||
"action": "Configure",
|
||||
"label": "Configure",
|
||||
"iconPathOn": "configuration",
|
||||
"iconPathOff": "configuration",
|
||||
"actionFunction": "uiObject.configEditor.activate"
|
||||
},
|
||||
{
|
||||
"action": "Delete UI Object",
|
||||
"askConfirmation": true,
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"type": "Artificial Neural Network",
|
||||
"definition": {
|
||||
"text": "An ANN is based on a collection of connected units or nodes called artificial neurons, which loosely model the neurons in a biological brain. Each connection, like the synapses in a biological brain, can transmit a signal to other neurons. An artificial neuron that receives a signal then processes it and can signal neurons connected to it.",
|
||||
"updated": 1613198337105
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "The \"signal\" at a connection is a real number, and the output of each neuron is computed by some non-linear function of the sum of its inputs. The connections are called edges. Neurons and edges typically have a weight that adjusts as learning proceeds. The weight increases or decreases the strength of the signal at a connection. Neurons may have a threshold such that a signal is sent only if the aggregate signal crosses that threshold. Typically, neurons are aggregated into layers. Different layers may perform different transformations on their inputs. Signals travel from the first layer (the input layer), to the last layer (the output layer), possibly after traversing the layers multiple times.",
|
||||
"updated": 1613198350617
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Core API",
|
||||
"definition": {
|
||||
"text": "The Core API is a lower-level API for building models.",
|
||||
"updated": 1613201747129
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Functional Model",
|
||||
"definition": {
|
||||
"text": "The key difference between a Functional and Secuential model is that Functional Models allows you to create an arbitrary graph of layers, as long as they don't have cycles.",
|
||||
"updated": 1613201903768
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Layers API",
|
||||
"definition": {
|
||||
"text": "The Layers API is a higher-level API for building models.",
|
||||
"updated": 1613201561078
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"type": "Model",
|
||||
"definition": {
|
||||
"text": "In machine learning, a model is a function with learnable parameters that maps an input to an output. The optimal parameters are obtained by training the model on data. A well-trained model will provide an accurate mapping from the input to the desired output.",
|
||||
"updated": 1613200965382
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "In TensorFlow.js there are two ways to create a machine learning model:",
|
||||
"updated": 1613201440028
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "using the Layers API where you build a model using layers."
|
||||
},
|
||||
{
|
||||
"style": "List",
|
||||
"text": "using the Core API with lower-level ops such as tf.matMul(), tf.add(), etc."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Secuential Model",
|
||||
"definition": {
|
||||
"text": "The most common type of model is the Sequential model, which is a linear stack of layers. ",
|
||||
"updated": 1613201804709
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"type": "Self Learning",
|
||||
"definition": {
|
||||
"text": "Self-learning as a machine learning paradigm was introduced in 1982 along with a neural network capable of self-learning named crossbar adaptive array (CAA). It is a learning with no external rewards and no external teacher advice. The CAA self-learning algorithm computes, in a crossbar fashion, both decisions about actions and emotions (feelings) about consequence situations. The system is driven by the interaction between cognition and emotion.",
|
||||
"updated": 1613199403151
|
||||
},
|
||||
"paragraphs": [
|
||||
{
|
||||
"style": "Text",
|
||||
"text": "Left click and select the pencil button to enter edit mode."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user