diff --git a/docs/Examples/HED.rst b/docs/Examples/HED.rst index fec90e4..5e01767 100644 --- a/docs/Examples/HED.rst +++ b/docs/Examples/HED.rst @@ -139,7 +139,7 @@ Out: First true equation with length 5 in the training dataset: - .. image:: ../img/hed_dataset1.png + .. image:: ../_static/img/hed_dataset1.png :width: 300px .. code:: none @@ -147,7 +147,7 @@ Out: First true equation with length 8 in the training dataset: - .. image:: ../img/hed_dataset2.png + .. image:: ../_static/img/hed_dataset2.png :width: 480px .. code:: none @@ -155,7 +155,7 @@ Out: First false equation with length 5 in the training dataset: - .. image:: ../img/hed_dataset3.png + .. image:: ../_static/img/hed_dataset3.png :width: 300px .. code:: none @@ -163,7 +163,7 @@ Out: First false equation with length 8 in the training dataset: - .. image:: ../img/hed_dataset4.png + .. image:: ../_static/img/hed_dataset4.png :width: 480px diff --git a/docs/Examples/HWF.rst b/docs/Examples/HWF.rst index 0b7f46e..bb26ff9 100644 --- a/docs/Examples/HWF.rst +++ b/docs/Examples/HWF.rst @@ -131,7 +131,7 @@ Out: X in the 1001st data example (a list of images): - .. image:: ../img/hwf_dataset1.png + .. image:: ../_static/img/hwf_dataset1.png :width: 210px .. code:: none @@ -145,7 +145,7 @@ Out: X in the 3001st data example (a list of images): - .. image:: ../img/hwf_dataset2.png + .. image:: ../_static/img/hwf_dataset2.png :width: 350px .. code:: none diff --git a/docs/Examples/MNISTAdd.rst b/docs/Examples/MNISTAdd.rst index 7385d7d..c038349 100644 --- a/docs/Examples/MNISTAdd.rst +++ b/docs/Examples/MNISTAdd.rst @@ -124,7 +124,7 @@ Out: X in the first data example (a list of two images): - .. image:: ../img/mnist_add_datasets.png + .. image:: ../_static/img/mnist_add_datasets.png :width: 200px diff --git a/docs/Intro/Basics.rst b/docs/Intro/Basics.rst index 0ac8db8..a32db34 100644 --- a/docs/Intro/Basics.rst +++ b/docs/Intro/Basics.rst @@ -18,7 +18,7 @@ The ABL-Package comprises three primary parts: **Data**, **Learning**, and **Reasoning**, corresponding to the three pivotal components of current AI: data, models, and knowledge. Below is an overview of the ABL-Package. -.. image:: ../img/ABL-Package.png +.. image:: ../_static/img/ABL-Package.png **Data** part manages the storage, operation, and evaluation of data efficiently. It includes the ``ListData`` class, which defines the data structures used in @@ -64,7 +64,7 @@ Subsequently, these pseudo-labels are processed to minimize inconsistencies with which in turn revise the outcomes of the learning model, and then fed back for further training ``ABLModel.train``. -.. image:: ../img/usage.png +.. image:: ../_static/img/usage.png To implement this process, the following five steps are necessary: diff --git a/docs/Intro/Datasets.rst b/docs/Intro/Datasets.rst index da8e6c8..9aadb99 100644 --- a/docs/Intro/Datasets.rst +++ b/docs/Intro/Datasets.rst @@ -45,15 +45,15 @@ ABL-Package requires user data to be either structured as a tuple ``(X, gt_pseud As an illustration, in the MNIST Addition task, the data are organized as follows: -.. image:: ../img/Datasets_1.png +.. image:: ../_static/img/Datasets_1.png :width: 350px :align: center -.. |data_example| image:: ../img/data_example.png +.. |data_example| image:: ../_static/img/data_example.png :alt: alternate text :scale: 8% -.. |instance| image:: ../img/instance.png +.. |instance| image:: ../_static/img/instance.png :alt: alternate text :scale: 55% diff --git a/docs/Overview/Abductive-Learning.rst b/docs/Overview/Abductive-Learning.rst index f92195f..9fbe25f 100644 --- a/docs/Overview/Abductive-Learning.rst +++ b/docs/Overview/Abductive-Learning.rst @@ -8,7 +8,7 @@ Here, a set of data examples is given, including training instances These data are then used to train a classifier model :math:`f`, aiming to accurately predict the unseen data instances. -.. image:: ../img/ML.png +.. image:: ../_static/img/ML.png :align: center :width: 280px @@ -46,7 +46,7 @@ base. The following figure illustrates this process: -.. image:: ../img/ABL.png +.. image:: ../_static/img/ABL.png :width: 800px We can observe that in the above figure, the left half involves machine diff --git a/docs/README.rst b/docs/README.rst index 30bdf78..dd14d0a 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -16,7 +16,7 @@ ABL-Package encapsulates advanced ABL techniques, providing users with an efficient and convenient package to develop dual-driven ABL systems that leverage both data and knowledge. -.. image:: img/ABL.png +.. image:: _static/img/ABL.png Installation ------------ diff --git a/docs/img/ABL-Package.png b/docs/img/ABL-Package.png deleted file mode 100644 index 0cf0cfb..0000000 Binary files a/docs/img/ABL-Package.png and /dev/null differ diff --git a/docs/img/ABL.png b/docs/img/ABL.png deleted file mode 100644 index 2cedb4a..0000000 Binary files a/docs/img/ABL.png and /dev/null differ diff --git a/docs/img/Datasets_1.png b/docs/img/Datasets_1.png deleted file mode 100644 index 900b2e5..0000000 Binary files a/docs/img/Datasets_1.png and /dev/null differ diff --git a/docs/img/ML.png b/docs/img/ML.png deleted file mode 100644 index 7faa733..0000000 Binary files a/docs/img/ML.png and /dev/null differ diff --git a/docs/img/data_example.png b/docs/img/data_example.png deleted file mode 100644 index a42e542..0000000 Binary files a/docs/img/data_example.png and /dev/null differ diff --git a/docs/img/hed_dataset1.png b/docs/img/hed_dataset1.png deleted file mode 100644 index 4908bcb..0000000 Binary files a/docs/img/hed_dataset1.png and /dev/null differ diff --git a/docs/img/hed_dataset2.png b/docs/img/hed_dataset2.png deleted file mode 100644 index 46de604..0000000 Binary files a/docs/img/hed_dataset2.png and /dev/null differ diff --git a/docs/img/hed_dataset3.png b/docs/img/hed_dataset3.png deleted file mode 100644 index 7e46295..0000000 Binary files a/docs/img/hed_dataset3.png and /dev/null differ diff --git a/docs/img/hed_dataset4.png b/docs/img/hed_dataset4.png deleted file mode 100644 index 39b3dcb..0000000 Binary files a/docs/img/hed_dataset4.png and /dev/null differ diff --git a/docs/img/hwf_dataset1.png b/docs/img/hwf_dataset1.png deleted file mode 100644 index ddb623d..0000000 Binary files a/docs/img/hwf_dataset1.png and /dev/null differ diff --git a/docs/img/hwf_dataset2.png b/docs/img/hwf_dataset2.png deleted file mode 100644 index f3b6e93..0000000 Binary files a/docs/img/hwf_dataset2.png and /dev/null differ diff --git a/docs/img/instance.png b/docs/img/instance.png deleted file mode 100644 index 76a1b3b..0000000 Binary files a/docs/img/instance.png and /dev/null differ diff --git a/docs/img/mnist_add_datasets.png b/docs/img/mnist_add_datasets.png deleted file mode 100644 index 8e8d8b4..0000000 Binary files a/docs/img/mnist_add_datasets.png and /dev/null differ diff --git a/docs/img/usage.png b/docs/img/usage.png deleted file mode 100644 index d16e940..0000000 Binary files a/docs/img/usage.png and /dev/null differ