Browse Source

Merge branch 'Dev' of https://github.com/AbductiveLearning/ABL-Package into Dev

pull/1/head
Tony-HYX 2 years ago
parent
commit
8a454334db
18 changed files with 16 additions and 5 deletions
  1. +4
    -0
      docs/Examples/HED.rst
  2. +4
    -2
      docs/Examples/HWF.rst
  3. +4
    -2
      docs/Examples/MNISTAdd.rst
  4. +4
    -1
      docs/Examples/Zoo.rst
  5. BIN
      docs/_static/img/ABL-Package.png
  6. BIN
      docs/_static/img/ABL.png
  7. BIN
      docs/_static/img/Datasets_1.png
  8. BIN
      docs/_static/img/ML.png
  9. BIN
      docs/_static/img/data_example.png
  10. BIN
      docs/_static/img/hed_dataset1.png
  11. BIN
      docs/_static/img/hed_dataset2.png
  12. BIN
      docs/_static/img/hed_dataset3.png
  13. BIN
      docs/_static/img/hed_dataset4.png
  14. BIN
      docs/_static/img/hwf_dataset1.png
  15. BIN
      docs/_static/img/hwf_dataset2.png
  16. BIN
      docs/_static/img/instance.png
  17. BIN
      docs/_static/img/mnist_add_datasets.png
  18. BIN
      docs/_static/img/usage.png

+ 4
- 0
docs/Examples/HED.rst View File

@@ -1,6 +1,10 @@
Handwritten Equation Decipherment (HED) Handwritten Equation Decipherment (HED)
======================================= =======================================


.. raw:: html
<p>For detailed code implementation, please view on <a class="reference external" href="https://github.com/AbductiveLearning/ABL-Package/tree/Dev/examples/hed" target="_blank">GitHub</a>.</p>

Below shows an implementation of `Handwritten Equation Below shows an implementation of `Handwritten Equation
Decipherment <https://proceedings.neurips.cc/paper_files/paper/2019/file/9c19a2aa1d84e04b0bd4bc888792bd1e-Paper.pdf>`__. Decipherment <https://proceedings.neurips.cc/paper_files/paper/2019/file/9c19a2aa1d84e04b0bd4bc888792bd1e-Paper.pdf>`__.
In this task, the handwritten equations are given, which consist of In this task, the handwritten equations are given, which consist of


+ 4
- 2
docs/Examples/HWF.rst View File

@@ -1,6 +1,10 @@
Handwritten Formula (HWF) Handwritten Formula (HWF)
========================= =========================


.. raw:: html
<p>For detailed code implementation, please view on <a class="reference external" href="https://github.com/AbductiveLearning/ABL-Package/tree/Dev/examples/hwf" target="_blank">GitHub</a>.</p>

Below shows an implementation of `Handwritten Below shows an implementation of `Handwritten
Formula <https://arxiv.org/abs/2006.06649>`__. In this Formula <https://arxiv.org/abs/2006.06649>`__. In this
task, handwritten images of decimal formulas and their computed results task, handwritten images of decimal formulas and their computed results
@@ -466,5 +470,3 @@ Out:
abl - INFO - Saving model: loop(save) [3] abl - INFO - Saving model: loop(save) [3]
abl - INFO - Checkpoints will be saved to weights_dir/model_checkpoint_loop_2.pth abl - INFO - Checkpoints will be saved to weights_dir/model_checkpoint_loop_2.pth
abl - INFO - Evaluation ended, hwf/character_accuracy: 0.996 hwf/reasoning_accuracy: 0.977 abl - INFO - Evaluation ended, hwf/character_accuracy: 0.996 hwf/reasoning_accuracy: 0.977

More concrete examples are available in ``examples/hwf/main.py`` and ``examples/hwf/hwf.ipynb``.

+ 4
- 2
docs/Examples/MNISTAdd.rst View File

@@ -1,6 +1,10 @@
MNIST Addition MNIST Addition
============== ==============


.. raw:: html
<p>For detailed code implementation, please view on <a class="reference external" href="https://github.com/AbductiveLearning/ABL-Package/tree/Dev/examples/mnist_add" target="_blank">GitHub</a>.</p>

Below shows an implementation of `MNIST Below shows an implementation of `MNIST
Addition <https://arxiv.org/abs/1805.10872>`__. In this task, pairs of Addition <https://arxiv.org/abs/1805.10872>`__. In this task, pairs of
MNIST handwritten images and their sums are given, alongwith a domain MNIST handwritten images and their sums are given, alongwith a domain
@@ -375,5 +379,3 @@ Out:
abl - INFO - Checkpoints will be saved to results/20231222_22_25_07/weights/model_checkpoint_loop_1.pth abl - INFO - Checkpoints will be saved to results/20231222_22_25_07/weights/model_checkpoint_loop_1.pth
abl - INFO - Test start: abl - INFO - Test start:
abl - INFO - Evaluation ended, mnist_add/character_accuracy: 0.983 mnist_add/reasoning_accuracy: 0.967 abl - INFO - Evaluation ended, mnist_add/character_accuracy: 0.983 mnist_add/reasoning_accuracy: 0.967

More concrete examples are available in ``examples/mnist_add/main.py`` and ``examples/mnist_add/mnist_add.ipynb``.

+ 4
- 1
docs/Examples/Zoo.rst View File

@@ -1,6 +1,10 @@
Zoo Zoo
=== ===


.. raw:: html
<p>For detailed code implementation, please view on <a class="reference external" href="https://github.com/AbductiveLearning/ABL-Package/tree/Dev/examples/zoo" target="_blank">GitHub</a>.</p>

Below shows an implementation of Below shows an implementation of
`Zoo <https://archive.ics.uci.edu/dataset/111/zoo>`__ dataset. 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
@@ -251,4 +255,3 @@ Out:
We may see from the results, after undergoing training with ABL, the We may see from the results, after undergoing training with ABL, the
model’s accuracy has improved. model’s accuracy has improved.


More concrete examples are available in ``examples/zoo/main.py`` and ``examples/zoo/zoo.ipynb``.

BIN
docs/_static/img/ABL-Package.png View File

Before After
Width: 1445  |  Height: 623  |  Size: 181 kB

BIN
docs/_static/img/ABL.png View File

Before After
Width: 1028  |  Height: 563  |  Size: 97 kB

BIN
docs/_static/img/Datasets_1.png View File

Before After
Width: 1145  |  Height: 319  |  Size: 34 kB

BIN
docs/_static/img/ML.png View File

Before After
Width: 527  |  Height: 596  |  Size: 32 kB

BIN
docs/_static/img/data_example.png View File

Before After
Width: 591  |  Height: 219  |  Size: 23 kB

BIN
docs/_static/img/hed_dataset1.png View File

Before After
Width: 516  |  Height: 105  |  Size: 2.8 kB

BIN
docs/_static/img/hed_dataset2.png View File

Before After
Width: 516  |  Height: 72  |  Size: 10 kB

BIN
docs/_static/img/hed_dataset3.png View File

Before After
Width: 516  |  Height: 105  |  Size: 3.7 kB

BIN
docs/_static/img/hed_dataset4.png View File

Before After
Width: 516  |  Height: 72  |  Size: 8.9 kB

BIN
docs/_static/img/hwf_dataset1.png View File

Before After
Width: 515  |  Height: 165  |  Size: 3.6 kB

BIN
docs/_static/img/hwf_dataset2.png View File

Before After
Width: 516  |  Height: 105  |  Size: 15 kB

BIN
docs/_static/img/instance.png View File

Before After
Width: 28  |  Height: 28  |  Size: 494 B

BIN
docs/_static/img/mnist_add_datasets.png View File

Before After
Width: 515  |  Height: 245  |  Size: 2.7 kB

BIN
docs/_static/img/usage.png View File

Before After
Width: 1410  |  Height: 429  |  Size: 298 kB

Loading…
Cancel
Save