@@ -11,7 +11,7 @@ class BaseBridge(metaclass=ABCMeta): | |||||
A base class for bridging learning and reasoning parts. | A base class for bridging learning and reasoning parts. | ||||
This class provides necessary methods that need to be overridden in subclasses | This class provides necessary methods that need to be overridden in subclasses | ||||
to construct a typical pipeline of Abductive learning (corresponding to ``train``), | |||||
to construct a typical pipeline of Abductive Learning (corresponding to ``train``), | |||||
which involves the following four methods: | which involves the following four methods: | ||||
- predict: Predict class indices on the given data samples. | - predict: Predict class indices on the given data samples. | ||||
@@ -15,7 +15,7 @@ class SimpleBridge(BaseBridge): | |||||
""" | """ | ||||
A basic implementation for bridging machine learning and reasoning parts. | A basic implementation for bridging machine learning and reasoning parts. | ||||
This class implements the typical pipeline of Abductive learning, which involves | |||||
This class implements the typical pipeline of Abductive Learning, which involves | |||||
the following five steps: | the following five steps: | ||||
- Predict class probabilities and indices for the given data samples. | - Predict class probabilities and indices for the given data samples. | ||||
@@ -75,8 +75,8 @@ To implement this process, the following five steps are necessary: | |||||
2. Build the learning part | 2. Build the learning part | ||||
Build a machine learning model that can predict inputs to pseudo labels. | |||||
Then, use ``ABLModel`` to encapsulate the model. | |||||
Build a base machine learning model that can predict inputs to pseudo labels. | |||||
Then, use ``ABLModel`` to encapsulate the base model. | |||||
3. Build the reasoning part | 3. Build the reasoning part | ||||
@@ -87,7 +87,8 @@ To implement this process, the following five steps are necessary: | |||||
4. Define Evaluation Metrics | 4. Define Evaluation Metrics | ||||
Define the metrics for measuring accuracy by inheriting from ``BaseMetric``. | |||||
Define the metrics by building a subclass of ``BaseMetric``. The metrics will | |||||
specify how to measure performance during the training and testing of the ABL framework. | |||||
5. Bridge learning and reasoning | 5. Bridge learning and reasoning | ||||
@@ -10,7 +10,7 @@ | |||||
Bridge | Bridge | ||||
====== | ====== | ||||
Bridging learning and reasoning part to train the model is the fundamental idea of Abductive Learning. ABL-Package implements a set of bridge classes to achieve this. | |||||
Bridging learning and reasoning parts to train the model is the fundamental idea of Abductive Learning. ABL-Package implements a set of bridge classes to achieve this. | |||||
``BaseBridge`` is an abstract class with the following initialization parameters: | ``BaseBridge`` is an abstract class with the following initialization parameters: | ||||