Skip to content

Commit

Permalink
Add decision tree for choosing BigDL libraries in index page
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscilloscope98 committed Oct 12, 2022
1 parent b4a3973 commit 132bacb
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/readthedocs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@
'sphinx_external_toc',
'sphinx_design',
'nbsphinx',
'nbsphinx_link'
'nbsphinx_link',
'sphinx.ext.graphviz' # for embedded graphviz diagram
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -274,4 +275,7 @@ def setup(app):
app.add_transform(AutoStructify)

# disable notebook execution
nbsphinx_execute = 'never'
nbsphinx_execute = 'never'

# make output of graphviz diagram to svg
graphviz_output_format = 'svg'
37 changes: 37 additions & 0 deletions docs/readthedocs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,40 @@ BigDL seamlessly scales your data analytics & AI applications from laptop to clo
- `PPML <doc/PPML/index.html>`_ (experimental): Secure Big Data and AI (with SGX Hardware Security)

------

Choosing the right BigDL library
---------------------------

.. graphviz::

digraph BigDLDecisionTree {
node [color="#459db9" shape="box" fontname="Arial" fontsize=14]
edge [fontname="Arial" fontsize=12]

Feature1 [label="Hardware Secured Big Data & AI?"]
Feature2 [label="Python vs. Scala/Java?"]
Feature3 [label="What type of application?"]
Feature4 [label="Domain?"]

Orca[href="../doc/Orca/index.html" target="_blank" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]
Nano[href="../doc/Nano/index.html" target="_blank" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]
DLlib1[label="DLlib" href="../doc/DLlib/index.html" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]
DLlib2[label="DLlib" href="../doc/DLlib/index.html" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]
Chronos[href="../doc/Chronos/index.html" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]
Friesian[href="../doc/Friesian/index.html" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]
PPML[href="../doc/PPML/index.html" target="_blank" style="rounded,filled" fillcolor="#459db9" fontcolor="#ffffff"]

Feature1 -> Feature2[label="No"]
Feature1 -> PPML[label="Yes"]

Feature2 -> Feature3[label="Python"]
Feature2 -> DLlib1[label="Scala/Java"]

Feature3 -> Orca[label="Distributed Big Data \n + \n AI (TF/PyTorch)"]
Feature3 -> Nano[label="Accelerate \n TensorFlow / PyTorch"]
Feature3 -> DLlib2[label="DL for Spark MLlib"]
Feature3 -> Feature4[label="High Level \n App Framework"]

Feature4 -> Chronos[label="Time Series"]
Feature4 -> Friesian[label="Recommender System"]
}

0 comments on commit 132bacb

Please sign in to comment.