You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/concepts.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,16 +60,16 @@ AutoIntent's architecture centers around transformer-based text embeddings, prov
60
60
61
61
.. _concepts-multiclass-multilabel:
62
62
63
-
Classification Paradigms
64
-
========================
63
+
Multi- vs. Single-label classification
64
+
======================================
65
65
66
66
AutoIntent supports various classification scenarios through its flexible decision module:
67
67
68
68
**🏷️ Multi-Class Classification**
69
-
Traditional single-label classification where each input belongs to exactly one class. Uses argmax or threshold-based decisions on predicted probabilities.
69
+
Each input gets assigned to exactly one category - like sorting emails into "Spam", "Work", or "Personal" folders. Common examples include sentiment analysis (positive/negative/neutral) or determining user intent where each message has a single purpose. The model picks the single best match from all possible categories.
70
70
71
71
**🔖 Multi-Label Classification**
72
-
Each input can belong to multiple classes simultaneously. Employs adaptive thresholding strategies that can be sample-specific or learned globally across the dataset.
72
+
Each input can belong to multiple categories at once - like tagging a news article as both "Politics" and "Economics". Essential for scenarios like multi-intent messages ("book a flight and check weather"), content tagging, or any situation where multiple labels can apply simultaneously. The model almost independently decides whether each possible category fits or not.
Copy file name to clipboardExpand all lines: docs/source/index.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ Reference
65
65
:doc:`🔧 API Reference <autoapi/autointent/index>`
66
66
Complete technical documentation for all classes, methods, and functions. Essential reference for developers integrating AutoIntent into their applications.
Copy file name to clipboardExpand all lines: docs/source/learn/optimization.rst
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,13 @@ This is one of the ways to solve the problem of an overwhelming number of combin
25
25
26
26
This algorithm checks fewer combinations, which speeds up the process. To implement such an algorithm, it is necessary to be able to evaluate the quality of not only the final prediction of the entire pipeline but also its intermediate predictions. The main drawback of this approach is that the decisions made are optimal only locally, not globally. The metrics for evaluating intermediate predictions are only a proxy signal for the quality of the final prediction.
27
27
28
-
This approach has been available in our library since release v0.0.1.
29
-
30
28
Random Search
31
29
-------------
32
30
33
31
A simpler strategy is to take a random subset of the full search space (random grid search). A straightforward strategy is to iterate through all combinations in random order until a certain time budget is exhausted.
34
32
35
33
This approach is less intelligent than the greedy strategy because, at any moment during the random combination search, poor embedders or any other bad parameters might keep appearing, despite they have been tested already. The greedy strategy would have eliminated such embedders at the beginning and not revisited them. On the other hand, random search, by its nature, does not rely on any local decisions.
36
34
37
-
The implementation of this optimization method is planned for release v0.1.0.
0 commit comments