<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Majority Problem on Jice Lavocat</title><link>https://jice.lavocat.name/tags/majority-problem/</link><description>Recent content in Majority Problem on Jice Lavocat</description><generator>Hugo</generator><language>fr-FR</language><copyright>All rights reserved - 2016</copyright><lastBuildDate>Tue, 07 Jul 2009 00:00:00 +0000</lastBuildDate><atom:link href="https://jice.lavocat.name/tags/majority-problem/index.xml" rel="self" type="application/rss+xml"/><item><title>Classical algorithm for the Majority Problem</title><link>https://jice.lavocat.name/blog/2009/classical-algorithm-for-the-majority-problem/</link><pubDate>Tue, 07 Jul 2009 00:00:00 +0000</pubDate><guid>https://jice.lavocat.name/blog/2009/classical-algorithm-for-the-majority-problem/</guid><description>&lt;h2 id="presentation-of-the-problem-"&gt;Presentation of the problem :&lt;/h2&gt;
&lt;p style="text-align: justify;"&gt;
 The majority problem is equivalent to the perceptron learning. For each $$a \in \mathbb{Z}_n$$ define a function $$m_a : \mathbb{Z}_2^N \rightarrow \mathbb{Z}_2$$ :
&lt;/p&gt;
&lt;p style="text-align: center;"&gt;
 $$m_a(x)= \begin{cases} 1 &amp; \text{ if } wt(a-x)\leq n/2 \\0 &amp; \text{ otherwise } \end{cases}$$
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
 Where wt is the weight of a bit-string (number of 1).
&lt;/p&gt;
&lt;p style="text-align: justify;"&gt;
 Alternatively we can write : $$ m_a(x) = \Theta (n/2 &amp;#8211; wt(x-a) )$$.
&lt;/p&gt;</description></item></channel></rss>