Research Article

# Online Boosting Algorithm Based on Two-Phase SVM Training

## Algorithm 2

Proposed algorithm.
 Input: Iteration numbers π ,ββ π π€ , β π₯ , π¦ , π and π π» , vectors β πΌ π , π = 1 β¦ π , β π½ βforββ π‘ = 1 β π ββdo ββ π π‘ ( β π₯ ) = β¨ β πΌ π‘ , β π₯ β© ββ β π‘ = s i g n ( π π‘ ) , βend for ββ β β = β 1 , β¦ , β π‘ , 1 ββ πΉ = β¨ β π½ , β β β© , ββ πΏ = m a x ( 0 , 1 β π¦ πΉ ) , ββ π π€ = π π€ + 1 ββPegasos ( β πΌ π , π , β π₯ , π¦ , π π€ , πΏ ) ββPegasos ( β π½ , π π» , β β , π¦ , π , 1 ) βifββ π π€ > π ββthen ββ π π€ = 0 ββ π = π + 1 ββ β πΌ π = β 0 ββ π½ π = 0 βend if

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.