bootstrap algorithm.tex (504B)
1 \begin{algorithmic} 2 \Function{bootstrap}{} 3 \FunctionInputs{} \(\dataSet\) unlabeled dataset 4 \FunctionInputs*{} \(O\) or \(R\) seed 5 \FunctionOutputs{} \(O\) occurrences 6 \FunctionOutputs*{} \(R\) rules 7 \State 8 \State Start with either \(O\) or \(R\) 9 \Loop 10 \State \(O\gets \{x\in \dataSet\mid R \text{ matches on } x\}\) 11 \State \(R\gets \text{induce rules from}\) 12 \State \hphantom{\(R\gets\)} occurrences \(O\) 13 \EndLoop 14 \State \Output \(O, R\) 15 \EndFunction 16 \end{algorithmic}