Skip to content

Commit

Permalink
add classifier example
Browse files Browse the repository at this point in the history
  • Loading branch information
PythonFZ committed Feb 13, 2025
1 parent 89c74a9 commit 060c2c4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "docs/source/examples/pack_box"]
path = docs/source/examples/pack_box
url = https://github.com/PythonFZ/zntrack-examples.git
[submodule "docs/source/examples/classifier_comparison"]
path = docs/source/examples/classifier_comparison
url = https://github.com/PythonFZ/zntrack-examples.git
1 change: 1 addition & 0 deletions docs/source/examples/classifier_comparison
Submodule classifier_comparison added at f7ee64
18 changes: 18 additions & 0 deletions docs/source/examples/classifier_comparison.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
classifier_comparison
=====================


.. literalinclude:: ./classifier_comparison/original.py
:language: Python


Converted Workflow with ZnTrack
--------------------------------


.. literalinclude:: ./classifier_comparison/src/__init__.py
:language: Python


.. literalinclude:: ./classifier_comparison/main.py
:language: Python
2 changes: 2 additions & 0 deletions docs/source/examples/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ Examples
:maxdepth: 2

pack_box
classifier_comparison

0 comments on commit 060c2c4

Please sign in to comment.