Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
8314e7c
New task submission
Rishikesh2338 Mar 10, 2023
014f071
Add files via upload
Rishikesh233 Mar 13, 2023
6d69a81
Add files via upload
Rishikesh233 Mar 13, 2023
6c947bb
Delete Machine Learning workflows using MDF_Export format _ functions
Rishikesh233 Mar 13, 2023
8b05da0
Delete Machine Learning workflows using MDF_Export format _ functions…
Rishikesh233 Mar 13, 2023
7b77e16
Delete Machine Learning workflows using MDF_Export format _ functions…
Rishikesh233 Mar 13, 2023
5f8633e
Delete Machine Learning workflows using MDF_Export format _ functions…
Rishikesh233 Mar 13, 2023
7957fa7
Delete Machine Learning workflows using MDF_Export format _ functions…
Rishikesh233 Mar 13, 2023
79a1322
Delete Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Mar 13, 2023
d67d201
Make a deatiled work on the installlation and documentation on how to…
Rishikesh2338 Mar 13, 2023
6e8fc4e
Merge branch 'main' of https://github.com/Rishikesh233/MDF
Rishikesh2338 Mar 13, 2023
4c01f36
Make a deatiled work on the PyTorch_to_MDF coversion on the Titanic d…
Rishikesh2338 Mar 14, 2023
9cb112a
Updated Outreachy_submission_task
Rishikesh2338 Mar 15, 2023
362caa5
Update Simple_pytorch.py
Rishikesh233 Mar 15, 2023
a1cc51f
Merge branch 'development' into main
Rishikesh233 Mar 15, 2023
247e9dc
Merge branch 'development' into main
Rishikesh233 Mar 16, 2023
227069f
Committing changes to Simple_pytorch.py
Rishikesh2338 Mar 20, 2023
7431375
Update Simple_pytorch.py
Rishikesh233 Mar 20, 2023
dee5d66
Merge branch 'main' of https://github.com/Rishikesh233/MDF
Rishikesh2338 Mar 20, 2023
fa743f1
Update the changes
Rishikesh2338 Mar 20, 2023
42aae53
Made a clean PR and worked on the 3 nodes file with condition and tim…
Rishikesh2338 Mar 21, 2023
ad69a78
Delete states.png
Rishikesh233 Mar 21, 2023
7c434bd
Update MDF_to_PyTorch.py
Rishikesh233 Mar 21, 2023
b661f18
Update MDF_to_PyTorch.py
Rishikesh233 Mar 21, 2023
59a1ef6
Update MDF_to_PyTorch.py
Rishikesh233 Mar 21, 2023
38e79c1
Update Simple_pytorch.py
Rishikesh233 Mar 21, 2023
65c59e9
Delete example
Rishikesh233 Mar 21, 2023
4831f51
Delete example.onnx.png
Rishikesh233 Mar 21, 2023
aa8acde
Add files via upload
Rishikesh233 Mar 21, 2023
2cdcd07
Delete example.onnx.png
Rishikesh233 Mar 21, 2023
8db05a4
Delete example.png
Rishikesh233 Mar 21, 2023
d3035f9
Add files via upload
Rishikesh233 Mar 21, 2023
c2819ba
Delete pytorch_mdf_examples.ipynb
Rishikesh233 Mar 21, 2023
0fb2e1f
Add files via upload
Rishikesh233 Mar 21, 2023
2e64059
Delete SimpleExample.ipynb
Rishikesh233 Mar 21, 2023
ec8df18
Add files via upload
Rishikesh233 Mar 21, 2023
be183e0
Update Simple_pytorch.py
Rishikesh233 Mar 21, 2023
863bac8
Update MDF_to_PyTorch.py
Rishikesh233 Mar 21, 2023
e11c340
Delete SimpleExample.ipynb
Rishikesh233 Mar 21, 2023
afe1b1f
Add files via upload
Rishikesh233 Mar 21, 2023
3b8801b
Merge branch 'development' into main
Rishikesh233 Mar 22, 2023
81015fc
Show the MDF output and Pytorch out and compare them
Rishikesh2338 Mar 26, 2023
775c541
Merge branch 'main' of https://github.com/Rishikesh233/MDF
Rishikesh2338 Mar 26, 2023
b73062d
Merge branch 'development' into main
Rishikesh233 Mar 26, 2023
91499b3
Show the MDF output and Pytorch out and compare them
Rishikesh2338 Mar 26, 2023
cb4144f
Delete Machine Learning workflows using MDF_Pytorch_to_MDF.ipynb
Rishikesh233 Mar 26, 2023
60aede2
Delete pytorch_to_MDF.ipynb
Rishikesh233 Mar 26, 2023
e69dc02
Add files via upload
Rishikesh233 Mar 26, 2023
043637d
Detailed workflow
Rishikesh2338 Mar 29, 2023
a0fc5ea
Detailed workflow
Rishikesh2338 Mar 29, 2023
8d535d9
Detailed workflow on Pytorch model currently working on Keras to MDF …
Rishikesh2338 Mar 31, 2023
e518e13
Remove all the dataset and Uploaded it in Google Drive for clear PR
Rishikesh2338 Mar 31, 2023
5d847f1
Remove all the dataset and Uploaded it in Google Drive for clear PR
Rishikesh2338 Mar 31, 2023
65bee41
Remove all the dataset and Uploaded it in Google Drive for clear PR
Rishikesh2338 Mar 31, 2023
c0de68a
Update Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
331744d
Update Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
e857f2d
Update Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
c429c5f
Update Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
ae9be23
Update Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
a2fd87d
Update Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
b4b1f06
Update in installation
Rishikesh2338 Apr 1, 2023
570efe1
Delete Machine Learning workflows using MDF_Installation.ipynb
Rishikesh233 Apr 1, 2023
64b7ae6
Update in installation
Rishikesh2338 Apr 1, 2023
69c5eb4
Create a deatiled work flow
Rishikesh2338 Apr 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"3_connected_nodes": {
"format": "ModECI MDF v0.4",
"generating_application": "Python modeci-mdf v0.4.4",
"graphs": {
"state_example": {
"nodes": {
"A": {
"parameters": {
"level": {
"value": 1.0
}
},
"output_ports": {
"output": {
"value": "level"
}
}
},
"B": {
"input_ports": {
"input": {}
},
"parameters": {
"b_node": {
"value": "1/(1+(input))"
}
},
"output_ports": {
"output": {
"value": "b_node"
}
}
},
"C": {
"input_ports": {
"input": {}
},
"parameters": {
"c_node": {
"value": "100*input"
}
},
"output_ports": {
"output": {
"value": "c_node"
}
}
}
},
"edges": {
"edge_A_B": {
"sender": "A",
"receiver": "B",
"sender_port": "output",
"receiver_port": "input"
},
"edge_B_C": {
"sender": "B",
"receiver": "C",
"sender_port": "output",
"receiver_port": "input"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
3_connected_nodes:
format: ModECI MDF v0.4
generating_application: Python modeci-mdf v0.4.4
graphs:
state_example:
nodes:
A:
parameters:
level:
value: 1.0
output_ports:
output:
value: level
B:
input_ports:
input: {}
parameters:
b_node:
value: 1/(1+(input))
output_ports:
output:
value: b_node
C:
input_ports:
input: {}
parameters:
c_node:
value: 100*input
output_ports:
output:
value: c_node
edges:
edge_A_B:
sender: A
receiver: B
sender_port: output
receiver_port: input
edge_B_C:
sender: B
receiver: C
sender_port: output
receiver_port: input

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
digraph Profit_of_Company_graph {
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
months_of_teaching [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>months_of_teaching</b></td></tr><tr><td><font color="#1666ff">unit_increment</font> = 1.0</td></tr><tr><td><b><font color="#1666ff">months</font></b> = <font color="#1666ff">months</font> + <font color="#1666ff">unit_increment</font></td></tr><tr><td><font color="#ffa1d">condition</font> = <b>months_of_teaching</b> will <b>Always</b> run</td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">months</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
Class_Teacher_fees [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>Class_Teacher_fees</b></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">fees_per_months</font> = 100*<font color="#188855">input</font></td></tr><tr><td><b><font color="#1666ff">batch</font></b> = <font color="#1666ff">batch</font> + <font color="#1666ff">fees_per_months</font></td></tr><tr><td><font color="#ffa1d">condition</font> = <b>Class_Teacher_fees</b> will <b>Always</b> run</td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">batch</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
Profit [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>Profit</b></td></tr><tr><td><font color="#1666ff">net_profit</font> = 40.0</td></tr><tr><td><font color="#ffa1d">condition</font> = <b>Profit</b> will run every <b>6</b> calls of <b>months_of_teaching</b></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">net_profit</font> </td></tr></table>>]
months_of_teaching -> Class_Teacher_fees [label=<edge_months_of_teaching_Class_Teacher_fees (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
digraph Teacher_fees_graph {
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
months_of_teaching [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>months_of_teaching</b></td></tr><tr><td><font color="#1666ff">unit_increment</font> = 1.0</td></tr><tr><td><b><font color="#1666ff">months</font></b> = <font color="#1666ff">months</font> + <font color="#1666ff">unit_increment</font></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">months</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
Class_Teacher_fees [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>Class_Teacher_fees</b></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">fees_per_months</font> = 100*<font color="#188855">input</font></td></tr><tr><td><b><font color="#1666ff">batch</font></b> = <font color="#1666ff">batch</font> + <font color="#1666ff">fees_per_months</font></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">batch</font> </td></tr></table>>]
months_of_teaching -> Class_Teacher_fees [label=<edge_months_of_teaching_Class_Teacher_fees (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
digraph state_example {
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
A [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>A</b></td></tr><tr><td><font color="#1666ff">level</font> = 1.0</td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">level</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
B [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>B</b></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">b_node</font> = 1/(1+(<font color="#188855">input</font>))</td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">b_node</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
C [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>C</b></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">c_node</font> = 100*<font color="#188855">input</font></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">c_node</font> </td></tr></table>>]
A -> B [label=<edge_A_B (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
B -> C [label=<edge_B_C (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
digraph Profit_of_Company_graph {
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
months_of_teaching [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>months_of_teaching</b></td></tr><tr><td><font color="#1666ff">unit_increment</font> = 1.0</td></tr><tr><td><b><font color="#1666ff">months</font></b> = <font color="#1666ff">months</font> + <font color="#1666ff">unit_increment</font></td></tr><tr><td><font color="#ffa1d">condition</font> = <b>months_of_teaching</b> will <b>Always</b> run</td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">months</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
Class_Teacher_fees [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>Class_Teacher_fees</b></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">fees_per_months</font> = 100*<font color="#188855">input</font></td></tr><tr><td><b><font color="#1666ff">batch</font></b> = <font color="#1666ff">batch</font> + <font color="#1666ff">fees_per_months</font></td></tr><tr><td><font color="#ffa1d">condition</font> = <b>Class_Teacher_fees</b> will <b>Always</b> run</td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">batch</font> </td></tr></table>>]
node [color="#444444" fontcolor="#444444" penwidth=1 shape=box style=rounded]
Profit [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>Profit</b></td></tr><tr><td><font color="#1666ff">net_profit</font> = 40.0</td></tr><tr><td><font color="#ffa1d">condition</font> = <b>Profit</b> will run every <b>6</b> calls of <b>months_of_teaching</b></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">net_profit</font> </td></tr></table>>]
months_of_teaching -> Class_Teacher_fees [label=<edge_months_of_teaching_Class_Teacher_fees (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
digraph simple_example {
graph [rankdir=LR]
node [color="#00cc00" fontcolor="#444444" penwidth=2 shape=box style=rounded]
A [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>A</b></td></tr><tr><td><i>color = 0 0.8 0</i></td></tr><tr><td><font color="#1666ff">level</font> = 1</td></tr><tr><td><font color="#1666ff">Logistic</font> = <i>logistic</i>(<font color="#1666ff">level</font>, 1, 0, 0)</td></tr><tr><td><i>logistic(variable0, gain, bias, offset) = 1/(1 + exp(-1*gain*(variable0 + bias) + offset))</i></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">Logistic</font> </td></tr></table>>]
node [color="#cc0000" fontcolor="#444444" penwidth=2 shape=box style=rounded]
B [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>B</b></td></tr><tr><td><i>color = .8 0 0</i></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">x_value</font> = <font color="#188855">input</font></td></tr><tr><td><font color="#1666ff">tanh</font> = <i>onnx::Atanh</i>(<font color="#1666ff">x_value</font>)</td></tr><tr><td><i>onnx::Atanh(input) = onnx_ops.atanh(input)</i></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">tanh</font> </td></tr></table>>]
node [color="#cc0000" fontcolor="#444444" penwidth=2 shape=box style=rounded]
C [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>C</b></td></tr><tr><td><i>color = .8 0 0</i></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">t_value</font> = <font color="#188855">input</font></td></tr><tr><td><b><font color="#1666ff">increment</font></b> = <font color="#1666ff">increment</font>+<font color="#188855">input</font></td></tr><tr><td><font color="#1666ff">sigm</font> = <i>onnx::Atanh</i>(<font color="#1666ff">increment</font>)</td></tr><tr><td><i>onnx::Atanh(input) = onnx_ops.atanh(input)</i></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">sigm</font> </td></tr></table>>]
node [color="#cc0000" fontcolor="#444444" penwidth=2 shape=box style=rounded]
D [label=<<table border="0" cellborder="0"><tr><td colspan="2"><b>D</b></td></tr><tr><td><i>color = .8 0 0</i></td></tr><tr><td><font color="#188855">input</font> </td></tr><tr><td><font color="#1666ff">p_value</font> = <font color="#188855">input</font></td></tr><tr><td><font color="#1666ff">val</font> = <i>onnx::Round</i>(<font color="#1666ff">p_value</font>)</td></tr><tr><td><i>onnx::Round(X) = onnx_ops.round(X)</i></td></tr><tr><td><font color="#cc3355">output</font> = <font color="#1666ff">val</font> </td></tr></table>>]
A -> B [label=<edge_A_B (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
B -> C [label=<edge_B_C (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
C -> D [label=<edge_C_D (<font color="#cc3355">output</font> -&gt; <font color="#188855">input</font>)> arrowhead=empty]
}
Loading