MacRobert E function: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Giftlite
 
en>Addbot
m Bot: Migrating 1 interwiki links, now provided by Wikidata on d:q3754514
Line 1: Line 1:
CoBoost is a semi-supervised training algorithm proposed by Collins and Singer in 1999. The original application for the algorithm was the task of [[Named-entity recognition|Named Entity Classification]] using very weak learners.<ref name="Collins99">Michael Collins and Yoram Singer, Unsupervised Models for Named Entity Classification.  Proceedings of the 1999 Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora, pp. 100-110, 1999.</ref> It can be used for performing semi-supervised learning in cases in which there exist redundancy in features.


It may be seen as a combination of [[co-training]] and [[Boosting (meta-algorithm)|boosting]]. Each example is available in two views (subsections of the feature set), and boosting is applied iteratively in alternation with each view using predicted labels produced in the alternate view on the previous iteration. CoBoosting is not a valid boosting algorithm in the PAC learning sense.


Next - GEN Gallery is a full incorporated Image Gallery plugin for Word - Press which has a Flash slideshow option. This one is one of the most beneficial features of Word - Press as this feature allows users to define the user roles. Step-4 Testing: It is the foremost important of your Plugin development process. Dead links are listed out simply because it will negatively have an influence on the website's search engine rating. By using this method one can see whether the theme has the potential to become popular or not and is their any scope of improvement in the theme. <br><br>Word - Press is known as the most popular blogging platform all over the web and is used by millions of blog enthusiasts worldwide. If you have any type of questions pertaining to where and ways to use [http://miniURL.fouiner.info/wordpress_dropbox_backup_864034 wordpress backup plugin], you could contact us at our own web page. Some of the Wordpress development services offered by us are:. This is the reason for the increased risk of Down Syndrome babies in women over age 35. So, if you are looking for some option to build a giant e-commerce website, then e-shopping preferable CMS tools will be helpful for you. Aided by the completely foolproof j - Query color selector, you're able to change the colors of factors of your theme a the click on the screen, with very little previous web site design experience. <br><br>Your Word - Press blog or site will also require a domain name which many hosting companies can also provide. The following piece of content is meant to make your choice easier and reassure you that the decision to go ahead with this conversion is requited with rich benefits:. After age 35, 18% of pregnancies will end in miscarriage. You can allow visitors to post comments, or you can even allow your visitors to register and create their own personal blogs. Have you heard about niche marketing and advertising. <br><br>Whether your Word - Press themes is premium or not, but nowadays every theme is designed with widget-ready. Cameras with a pentaprism (as in comparison to pentamirror) ensure that little mild is lost before it strikes your eye, however these often increase the cost of the digital camera considerably. Some examples of its additional features include; code inserter (for use with adding Google Analytics, Adsense section targeting etc) Webmaster verification assistant, Link Mask Generator, Robots. Contact Infertility Clinic Providing One stop Fertility Solutions at:. Make sure you have the latest versions of all your plugins are updated. <br><br>Under Settings &mdash;> Reading, determine if posts or a static page will be your home page, and if your home page is a static page, what page will contain blog posts. Here's a list of some exciting Word - Press features that have created waves in the web development industry:. Word - Press can also be quickly extended however improvement API is not as potent as Joomla's. with posts or testimonials updated as they are uploaded to a particular section of the website. Press CTRL and the numbers one to six to choose your option.
==Motivation==
CoBoosting was an attempt by Collins and Singer to improve on previous attempts to leverage redundancy in features for training classifiers in a semi-supervised fashion. CoTraining, a seminal work by Blum and Mitchell, was shown to be a powerful framework for learning classifiers given a small number of seed examples by iteratively inducing rules in a decision list. The advantage of CoBoosting to CoTraining is that it generalizes the CoTraining pattern so that it could be used with any classifier. CoBoosting accomplishes this feat by borrowing concepts from [[AdaBoost]].
 
In both CoTrain and CoBoost the training and testing example sets must follow two properties. The first is that the feature space of the examples can separated into two feature spaces (or views) such that each view is sufficiently expressive for classification.  
Formally, there exist two functions <math>f_1(x_1)</math> and <math>f_2(x_2)</math> such that for all examples <math>x=(x_1,x_2)</math>, <math>f_1(x_1)=f_2(x_2)=f(x)</math>. While ideal, this constraint is in fact too strong due to noise and other factors, and both algorithms instead seek to maximize the agreement between the two functions. The second property is that the two views must not be highly correlated.
 
==Algorithm==
Input: <math>\{(x_{1,i},x_{2,i})\}_{i=1}^n</math>, <math>\{y_i\}_{i=1}^m</math>
 
Initialize: <math>\forall i,j : g_j^0(\boldsymbol{x_i})=0</math>.
 
For <math>t=1,...,T</math> and for <math>j=1,2</math>:
 
Set pseudo-labels:
<math>
\hat{y_i} = \left\{
\begin{array}{ll}
y_i  1 \le i \le m \\
sign(g_{3-j}^{t-1}(\boldsymbol{x_{3-j,i}}))  m < i \le n
\end{array}
\right.
</math>
 
Set virtual distribution:
<math>
D_t^j(i) = \frac{1}{Z_t^j}e^{-\hat{y_i}g_j^{t-1}(\boldsymbol{x_{j,i}})}
</math>
where <math>Z_t^j = \sum_{i=1}^ne^{-\hat{y_i}g_j^{t-1}(\boldsymbol{x_{j,i}})}</math>
Find the weak hypothesis <math>h_t^j</math> that minimizes expanded training error.
Choose value for <math>\alpha_t</math> that minimizes expanded training error.
 
Update the value for current strong non-thresholded classfier:
 
<math>
\forall i:g_j^t(\boldsymbol{x_{j,i}}) = g_j^{t-1}(\boldsymbol{x_{j,i}})+\alpha_th_t^j(\boldsymbol{x_{j,i}})
</math>
 
The final strong classifier output is
 
<math>
f(\boldsymbol{x}) = sign\left(\sum_{j=1}^2g_j^T(\boldsymbol{x_j})\right)
</math>
 
==Setting up AdaBoost==
CoBoosting builds on the [[AdaBoost]] algorithm, which gives CoBoosting its generalization ability since AdaBoost can be used in conjunction with many other learning algorithms. This build up assumes a two class classification task, although it can be adapted to multiple class classification. In the AdaBoost framework, weak classifiers are generated in series as well as a distribution over examples in the training set. Each weak classifier is given a weight and the final strong classifier is defined as the sign of the sum of the weak classifiers weighted by their assigned weight. (See [[AdaBoost]] Wikipedia page for notation). In the AdaBoost framework Schapire and Singer have shown that the training error is bounded by the following equation:
 
<math>
\frac{1}{m}\sum_{i=1}^m e^{\left(-y_i\left(\sum_{t=1}^T\alpha_t h_t(\boldsymbol{x_i})\right)\right)}=\prod_tZ_t
</math>
 
Where <math>Z_t</math> is the normalizing factor for the distribution <math>D_{t+1}</math>. Solving for <math>Z_t</math> in the equation for <math>D_t(i)</math> we get:
 
<math>
Z_t = \sum_{i:x_t\notin x_i}D_t(i) + \sum_{i:x_t\in x_i}D_t(i)e^{-y_i\alpha_i h_t(\boldsymbol{x_i})}
</math>
 
Where <math>x_t</math> is the feature selected in the current weak hypothesis. Three equations are defined describing the sum of the distributions for in which the current hypothesis has selected either correct or incorrect label. Note that it is possible for the classifier to abstain from selecting a label for an example, in which the label provided is 0. The two labels are selected to be either -1 or 1.
 
<math>
W_0 = \sum_{i:h_t(x_i)=0} D_t(i)
</math>
 
<math>
W_+ = \sum_{i:h_t(x_i)=y_i} D_t(i)
</math>
 
<math>
W_- = \sum_{i:h_t(x_i)=-y_i} D_t(i)
</math>
 
Schapire and Singer have shown that the value <math>Z_t</math> can be minimized (and thus the training error) by selecting <math>\alpha_t</math> to be as follows:
 
<math>
\alpha_t = \frac{1}{2}\ln\left(\frac{W_+}{W_-}\right)
</math>
 
Providing confidence values for the current hypothesized classifier based on the number of correctly classified vs. the number of incorrectly classified examples weighted by the distribution over examples. This equation can be smoothed to compensate for cases in which <math>W_-</math> is too small. Deriving <math>Z_t</math> from this equation we get:
 
<math>
Z_t = W_0 + 2\sqrt{W_+W_-}
</math>
 
The training error thus is minimized by selecting the weak hypothesis at every iteration that minimizes the previous equation.
 
==AdaBoost with two views==
CoBoosting extends this framework in the case where one has a labeled training set (examples from <math>1...m</math>) and an unlabeled training set (from <math>m_1...n</math>), as well as satisfy the conditions of redundancy in features in the form of <math>x_i=(x_{1,i},x_{2,i})</math>. The algorithm trains two classifiers in the same fashion as [[AdaBoost]] that agree on the labeled training sets correct labels and maximizes the agreement between the two classifiers on the unlabeled training set. The final classifier is the sign of the sum of the two strong classifiers. The bounded training error on CoBoost is extended as follows, where <math>Z_{CO}</math> is the extension of <math>Z_t</math>:
 
<math>
Z_{CO} = \sum_{i=1}^m e^{-y_ig_1(\boldsymbol{x_{1,i}})}
  + \sum_{i=1}^m e^{-y_ig_2(\boldsymbol{x_{2,i}})}
  + \sum_{i=m+1}^n e^{-f_2(\boldsymbol{x_{2,i}})g_1(\boldsymbol{x_{1,i}})}
  + \sum_{i=m+1}^n e^{-f_1(\boldsymbol{x_{1,i}})g_2(\boldsymbol{x_{2,i}})}
</math>
 
Where <math>g_j</math> is the summation of hypotheses weight by their confidence values for the <math>j^{th}</math> view (j = 1 or 2). <math>f_j</math> is the sign of <math>g_j</math>. At each iteration of CoBoost both classifiers are updated iteratively. If <math>g_j^{t-1}</math> is the strong classifier output for the <math>j^{th}</math> view up to the <math>t-1</math> iteration we can set the pseudo-labels for the ''j''th update to be:
 
<math>
\hat{y_i} = \left\{
\begin{array}{ll}
y_i  1 \le i \le m \\
sign(g_{3-j}^{t-1}(\boldsymbol{x_{3-j,i}}))  m < i \le n
\end{array}
\right.
</math>
 
In which <math>3-j</math> selects the other view to the one currently being updated. <math>Z_{CO}</math> is split into two such that <math>Z_{CO} = Z_{CO}^1+Z_{CO}^2</math>. Where
 
<math>
Z_{CO}^j = \sum_{i=1}^n e^{-\hat{y_i}(g_j^{t-1}(\boldsymbol{x_i})+\alpha_t^jg_t^j(\boldsymbol{x_{j,i}}))}
</math>
 
The distribution over examples for each view <math>j</math> at iteration <math>t</math> is defined as follows:
 
<math>
D_t^j(i) = \frac{1}{Z_t^j}e^{-\hat{y_i}g_j^{t-1}(\boldsymbol{x_{j,i}})}
</math>
 
At which point <math>Z_{CO}^j</math> can be rewritten as
 
<math>
Z_{CO}^j = \sum_{i=1}^n D_t^j e^{-\hat{y_i}\alpha_t^jg_t^j(\boldsymbol{x_{j,i}})}
</math>
 
Which is identical to the equation in AdaBoost. Thus the same process can be used to update the values of <math>\alpha_t^j</math> as in AdaBoost using <math>\hat{y_i}</math> and <math>D_t^j</math>. By alternating this, the minimization of <math>Z_{CO}^1</math> and <math>Z_{CO}^2</math> in this fashion <math>Z_{CO}</math> is minimized in a greedy fashion.
 
== References ==
 
===Footnotes===
{{Reflist}}
 
{{DEFAULTSORT:Coboosting}}
[[Category:Classification algorithms]]

Revision as of 14:47, 20 March 2013

CoBoost is a semi-supervised training algorithm proposed by Collins and Singer in 1999. The original application for the algorithm was the task of Named Entity Classification using very weak learners.[1] It can be used for performing semi-supervised learning in cases in which there exist redundancy in features.

It may be seen as a combination of co-training and boosting. Each example is available in two views (subsections of the feature set), and boosting is applied iteratively in alternation with each view using predicted labels produced in the alternate view on the previous iteration. CoBoosting is not a valid boosting algorithm in the PAC learning sense.

Motivation

CoBoosting was an attempt by Collins and Singer to improve on previous attempts to leverage redundancy in features for training classifiers in a semi-supervised fashion. CoTraining, a seminal work by Blum and Mitchell, was shown to be a powerful framework for learning classifiers given a small number of seed examples by iteratively inducing rules in a decision list. The advantage of CoBoosting to CoTraining is that it generalizes the CoTraining pattern so that it could be used with any classifier. CoBoosting accomplishes this feat by borrowing concepts from AdaBoost.

In both CoTrain and CoBoost the training and testing example sets must follow two properties. The first is that the feature space of the examples can separated into two feature spaces (or views) such that each view is sufficiently expressive for classification. Formally, there exist two functions f1(x1) and f2(x2) such that for all examples x=(x1,x2), f1(x1)=f2(x2)=f(x). While ideal, this constraint is in fact too strong due to noise and other factors, and both algorithms instead seek to maximize the agreement between the two functions. The second property is that the two views must not be highly correlated.

Algorithm

Input: {(x1,i,x2,i)}i=1n, {yi}i=1m

Initialize: i,j:gj0(𝒙𝒊)=0.

For t=1,...,T and for j=1,2:

Set pseudo-labels:

yî={yi1imsign(g3jt1(𝒙3𝒋,𝒊))m<in

Set virtual distribution: Dtj(i)=1Ztjeyîgjt1(𝒙𝒋,𝒊)

where Ztj=i=1neyîgjt1(𝒙𝒋,𝒊)

Find the weak hypothesis htj that minimizes expanded training error.

Choose value for αt that minimizes expanded training error.

Update the value for current strong non-thresholded classfier:

i:gjt(𝒙𝒋,𝒊)=gjt1(𝒙𝒋,𝒊)+αthtj(𝒙𝒋,𝒊)

The final strong classifier output is

f(𝒙)=sign(j=12gjT(𝒙𝒋))

Setting up AdaBoost

CoBoosting builds on the AdaBoost algorithm, which gives CoBoosting its generalization ability since AdaBoost can be used in conjunction with many other learning algorithms. This build up assumes a two class classification task, although it can be adapted to multiple class classification. In the AdaBoost framework, weak classifiers are generated in series as well as a distribution over examples in the training set. Each weak classifier is given a weight and the final strong classifier is defined as the sign of the sum of the weak classifiers weighted by their assigned weight. (See AdaBoost Wikipedia page for notation). In the AdaBoost framework Schapire and Singer have shown that the training error is bounded by the following equation:

1mi=1me(yi(t=1Tαtht(𝒙𝒊)))=tZt

Where Zt is the normalizing factor for the distribution Dt+1. Solving for Zt in the equation for Dt(i) we get:

Zt=i:xtxiDt(i)+i:xtxiDt(i)eyiαiht(𝒙𝒊)

Where xt is the feature selected in the current weak hypothesis. Three equations are defined describing the sum of the distributions for in which the current hypothesis has selected either correct or incorrect label. Note that it is possible for the classifier to abstain from selecting a label for an example, in which the label provided is 0. The two labels are selected to be either -1 or 1.

W0=i:ht(xi)=0Dt(i)

W+=i:ht(xi)=yiDt(i)

W=i:ht(xi)=yiDt(i)

Schapire and Singer have shown that the value Zt can be minimized (and thus the training error) by selecting αt to be as follows:

αt=12ln(W+W)

Providing confidence values for the current hypothesized classifier based on the number of correctly classified vs. the number of incorrectly classified examples weighted by the distribution over examples. This equation can be smoothed to compensate for cases in which W is too small. Deriving Zt from this equation we get:

Zt=W0+2W+W

The training error thus is minimized by selecting the weak hypothesis at every iteration that minimizes the previous equation.

AdaBoost with two views

CoBoosting extends this framework in the case where one has a labeled training set (examples from 1...m) and an unlabeled training set (from m1...n), as well as satisfy the conditions of redundancy in features in the form of xi=(x1,i,x2,i). The algorithm trains two classifiers in the same fashion as AdaBoost that agree on the labeled training sets correct labels and maximizes the agreement between the two classifiers on the unlabeled training set. The final classifier is the sign of the sum of the two strong classifiers. The bounded training error on CoBoost is extended as follows, where ZCO is the extension of Zt:

ZCO=i=1meyig1(𝒙1,𝒊)+i=1meyig2(𝒙2,𝒊)+i=m+1nef2(𝒙2,𝒊)g1(𝒙1,𝒊)+i=m+1nef1(𝒙1,𝒊)g2(𝒙2,𝒊)

Where gj is the summation of hypotheses weight by their confidence values for the jth view (j = 1 or 2). fj is the sign of gj. At each iteration of CoBoost both classifiers are updated iteratively. If gjt1 is the strong classifier output for the jth view up to the t1 iteration we can set the pseudo-labels for the jth update to be:

yî={yi1imsign(g3jt1(𝒙3𝒋,𝒊))m<in

In which 3j selects the other view to the one currently being updated. ZCO is split into two such that ZCO=ZCO1+ZCO2. Where

ZCOj=i=1neyî(gjt1(𝒙𝒊)+αtjgtj(𝒙𝒋,𝒊))

The distribution over examples for each view j at iteration t is defined as follows:

Dtj(i)=1Ztjeyîgjt1(𝒙𝒋,𝒊)

At which point ZCOj can be rewritten as

ZCOj=i=1nDtjeyîαtjgtj(𝒙𝒋,𝒊)

Which is identical to the equation in AdaBoost. Thus the same process can be used to update the values of αtj as in AdaBoost using yî and Dtj. By alternating this, the minimization of ZCO1 and ZCO2 in this fashion ZCO is minimized in a greedy fashion.

References

Footnotes

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. Michael Collins and Yoram Singer, Unsupervised Models for Named Entity Classification. Proceedings of the 1999 Joint SIGDAT Conference on Empirical Methods in Natural Language Processing and Very Large Corpora, pp. 100-110, 1999.