Margin-infused relaxed algorithm
Margin-infused relaxed algorithm (MIRA) is a machine learning and online algorithm for multiclass classification problems.[src] It is designed to learn a set of parameters (vector or matrix) by processing all the given training examples one-by-one and updating the parameters according to each training example, so that the current training example is classified correctly with a margin against incorrect classifications at least as large as their loss.[src] The change of the parameters is kept as small as possible.[src] A two-class version called binary MIRA simplifies the algorithm by not requiring the solution of a quadratic programming problem (see below).[src] When used in a one-vs-all configuration, binary MIRA can be extended to a multiclass learner that approximates full MIRA, but may be faster to train.[src] The flow of the algorithm looks as follows: Input: Training examples T = \{x_i, y_i\} Output: Set of parameters w i ← 0, w^{(0)} ← 0 for n ← 1 to N for t ← 1 to |T| w^{(i+1)} ← update w^{(i)} according to \{x_t, y_t\} i ← i + 1 end for end for return \frac{\sum_{j=1}^{N \times |T|} w^{(j)}}{N \times |T|} The update step is then formalized as a quadratic programming problem: Find min\|w^{(i+1)} - w^{(i)}\| , so that score(x_t,y_t) - score(x_t,y')\geq L(y_t,y')\ \forall y' , i.e.…[src]
Margin-infused relaxed algorithm (MIRA) is a machine learning and online algorithm for multiclass classification problems.[src] It is designed to learn a set of parameters (vector or matrix) by processing all the given training examples one-by-one and updating the parameters according to each training example, so that the current training example is classified correctly with a margin against incorrect classifications at least as large as their loss.[src] The change of the parameters is kept as small as possible.[src] A two-class version called binary MIRA simplifies the algorithm by not requiring the solution of a quadratic programming problem (see below).[src] When used in a one-vs-all configuration, binary MIRA can be extended to a multiclass learner that approximates full MIRA, but may be faster to train.[src] The flow of the algorithm looks as follows: Input: Training examples T = \{x_i, y_i\} Output: Set of parameters w i ← 0, w^{(0)} ← 0 for n ← 1 to N for t ← 1 to |T| w^{(i+1)} ← update w^{(i)} according to \{x_t, y_t\} i ← i + 1 end for end for return \frac{\sum_{j=1}^{N \times |T|} w^{(j)}}{N \times |T|} The update step is then formalized as a quadratic programming problem: Find min\|w^{(i+1)} - w^{(i)}\| , so that score(x_t,y_t) - score(x_t,y')\geq L(y_t,y')\ \forall y' , i.e.[src] the score of the current correct training y must be greater than the score of any other possible y' by at least the loss (number of errors) of that y' in comparison to y .[src] ==References== ==External links== adMIRAble – MIRA implementation in C++ Miralium – MIRA implementation in Java MIRA implementation for Mahout in Hadoop[src]
14 sentences · 14 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Margin-infused relaxed algorithm." encyclopegia.org, 2025, https://encyclopegia.org/wiki/margin-infused-relaxed-algorithm. Accessed 04 December 2026.
Chicago
"Margin-infused relaxed algorithm." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/margin-infused-relaxed-algorithm.
APA
encyclopegia.org. (2025). Margin-infused relaxed algorithm. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/margin-infused-relaxed-algorithm
Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON