Browse Source

[DOC] Change name to Zoo

pull/1/head
Tony-HYX 2 years ago
parent
commit
00e0f23bc4
2 changed files with 5 additions and 5 deletions
  1. +4
    -4
      docs/Examples/Zoo.rst
  2. +1
    -1
      docs/index.rst

docs/Examples/ZOO.rst → docs/Examples/Zoo.rst View File

@@ -1,8 +1,8 @@
ZOO
Zoo
=== ===


Below shows an implementation of Below shows an implementation of
`Zoo <https://archive.ics.uci.edu/dataset/111/zoo>`__. In this task,
`Zoo <https://archive.ics.uci.edu/dataset/111/zoo>`__ dataset. In this task,
attributes of animals (such as presence of hair, eggs, etc.) and their attributes of animals (such as presence of hair, eggs, etc.) and their
targets (the animal class they belong to) are given, along with a targets (the animal class they belong to) are given, along with a
knowledge base which contain information about the relations between knowledge base which contain information about the relations between
@@ -209,7 +209,7 @@ methods of ``SimpleBridge``.
.. code:: ipython3 .. code:: ipython3


# Build logger # Build logger
print_log("Abductive Learning on the ZOO example.", logger="current")
print_log("Abductive Learning on the Zoo example.", logger="current")
log_dir = ABLLogger.get_current_instance().log_dir log_dir = ABLLogger.get_current_instance().log_dir
weights_dir = osp.join(log_dir, "weights") weights_dir = osp.join(log_dir, "weights")
@@ -227,7 +227,7 @@ Out:
.. code:: none .. code:: none
:class: code-out :class: code-out


abl - INFO - Abductive Learning on the ZOO example.
abl - INFO - Abductive Learning on the Zoo example.
abl - INFO - ------- Use labeled data to pretrain the model ----------- abl - INFO - ------- Use labeled data to pretrain the model -----------
abl - INFO - ------- Test the initial model ----------- abl - INFO - ------- Test the initial model -----------
abl - INFO - Evaluation ended, zoo/character_accuracy: 0.935 zoo/reasoning_accuracy: 0.935 abl - INFO - Evaluation ended, zoo/character_accuracy: 0.935 zoo/reasoning_accuracy: 0.935

+ 1
- 1
docs/index.rst View File

@@ -26,7 +26,7 @@
Examples/MNISTAdd Examples/MNISTAdd
Examples/HWF Examples/HWF
Examples/HED Examples/HED
Examples/ZOO
Examples/Zoo


.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1


Loading…
Cancel
Save