<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Michele Rizzi Web PageMichele Rizzi Web Page &#187; Robotics and automation (4)</title>
	<atom:link href="https://www.rizzimichele.it/arguments/robot/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.rizzimichele.it</link>
	<description>Passion of IT</description>
	<lastBuildDate>Mon, 05 Dec 2016 20:53:30 +0000</lastBuildDate>
	<language>en-GB</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>Neural Network Video</title>
		<link>https://www.rizzimichele.it/neural-network-video/</link>
		<comments>https://www.rizzimichele.it/neural-network-video/#comments</comments>
		<pubDate>Sat, 20 Aug 2016 19:13:07 +0000</pubDate>
		<dc:creator><![CDATA[Michele Rizzi]]></dc:creator>
				<category><![CDATA[All articles (75)]]></category>
		<category><![CDATA[Robotics and automation (4)]]></category>

		<guid isPermaLink="false">http://www.rizzimichele.it/?p=840</guid>
		<description><![CDATA[Below is a video about neural network explained by me earlier &#160;]]></description>
				<content:encoded><![CDATA[<p>Below is a video about neural network <a href="http://www.rizzimichele.it/how-you-can-realize-a-robot/">explained by me earlier</a></p>
<p><iframe width="610" height="343" src="https://www.youtube.com/embed/bHvf7Tagt18?feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fneural-network-video%2F&amp;linkname=Neural%20Network%20Video" title="Facebook" rel="nofollow" target="_blank"></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fneural-network-video%2F&amp;linkname=Neural%20Network%20Video" title="Twitter" rel="nofollow" target="_blank"></a><a class="a2a_button_google_plus" href="http://www.addtoany.com/add_to/google_plus?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fneural-network-video%2F&amp;linkname=Neural%20Network%20Video" title="Google+" rel="nofollow" target="_blank"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=https%3A%2F%2Fwww.rizzimichele.it%2Fneural-network-video%2F&amp;title=Neural%20Network%20Video" id="wpa2a_2"></a></p>]]></content:encoded>
			<wfw:commentRss>https://www.rizzimichele.it/neural-network-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jena: Semantic Web</title>
		<link>https://www.rizzimichele.it/jena-semantic-web/</link>
		<comments>https://www.rizzimichele.it/jena-semantic-web/#comments</comments>
		<pubDate>Sat, 26 Jul 2014 15:20:34 +0000</pubDate>
		<dc:creator><![CDATA[Michele Rizzi]]></dc:creator>
				<category><![CDATA[All articles (75)]]></category>
		<category><![CDATA[Programming languages (51)]]></category>
		<category><![CDATA[Robotics and automation (4)]]></category>
		<category><![CDATA[Software engineering, architectures and distribuited systems (16)]]></category>

		<guid isPermaLink="false">http://www.rizzimichele.it/?p=355</guid>
		<description><![CDATA[Nowadays everyone has internet, there are a lot of web pages and it is quite difficult to perform an accurate research among these pages to get the correct information that you need. The problem is that the information online is not structured like a database: Web page is complex document with pictures, videos, images and [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Nowadays everyone has internet, there are a lot of web pages and it is quite difficult to perform an accurate research among these pages to get the correct information that you need.</p>
<p>The problem is that the information online is not structured like a database:</p>
<p>Web page is complex document with pictures, videos, images and meta information of mark up to specify the interaction with human and graphic effects.</p>
<p>A way to index a text is to use a system of information retrieval like <a href="http://www.rizzimichele.it/luceneinformation-retrival/">lucene</a> but it is not enough because Lucene works only parsing text on your web page.</p>
<p>Lucene makes a structure called index composed by a pointer of the document and many keywords that this document contains. When you are looking for some information Lucene searches them in these keyword and assigns a special outcome called ranking.</p>
<p>The disadvantage of Lucene is that it performs the simple research in string that is composed by keywords of the document. <strong>Lucene doesn&#8217;t know the semantic of the text but knows only the keyword contained in this document.</strong></p>
<p>The best way to perform a research on written text document is to add them a specific meta-information by introducing another tags to the html document.</p>
<p>These tags are not visible to the human but are necessary to improve the index of this page for a external information retrieval system.</p>
<p>This is called <strong>Semantic WEB</strong></p>
<p>Semantic web works using a special XML file with all <strong>rules</strong> of the domain, all the constraints of it and the objects written here must respect these rules.</p>
<p>This XML file is called <strong>ontology </strong>and it is the knowledge base (KB) of the system.</p>
<p>In this way it&#8217;s possible to convert the static not structured text into a xml structured document with a lot of constraints and rules (like database) and it&#8217;s possible to make queries to this system. The language that executes these queries is OWL (<strong>Ontology Web Language</strong>)</p>
<p>There are a lot of XML schemas and a lot of rules to make these semantic web a lot of ontology web languages but the most widespread used is RDF</p>
<p>&nbsp;</p>
<h1><strong>RDF</strong></h1>
<p>RDF is the acronym of Resource Description framework and it is the standard model for data interchange on the Web</p>
<p>This is an example of RDF written by me using Apache Jena:</p>
<pre>
&lt;xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&gt;
&lt;xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#" &gt;
&lt;rdf:Description rdf:about="http://www.rizzimichele.it"&gt;
&lt;vcard:N rdf:nodeID="A0"/&gt;
&lt;vcard:FN&gt;Michele Rizzi&lt;/vcard:FN&gt;
&lt;/rdf:Description&gt;
&lt;rdf:Description rdf:nodeID="A0"&gt;
&lt;vcard:Family&gt;Rizzi&lt;/vcard:Family&gt;
&lt;vcard:Given&gt;Michele&lt;/vcard:Given&gt;
&lt;/rdf:Description&gt;
&lt;/rdf:RDF&gt;

</pre>
<p>In the precedent example I written that the address www.rizzimichele.it is related at vcard descripted below that has Family Rizzi and Name: Michele.</p>
<p>This is a simple RDF example but I can make a complex XML like a WSDL and XSD that contains the identity card of web service.</p>
<p><a href="http://www.rizzimichele.it/aboutMePHP/OtherMySW/pizza.owl.rdf.xml">Here is linked a complex RDF example</a></p>
<p>For example, the following are tags to define the domain.</p>
<pre>
&lt;rdf:type rdf:resource="http://www.w3.org/2002/07/owl#InverseFunctionalProperty"/&gt;
&lt;rdfs:comment xml:lang="en"&gt;
Note that hasTopping is inverse functional because isToppingOf is functional
&lt;/rdfs:comment&gt;
&lt;rdfs:domain rdf:resource="#Pizza"/&gt;
&lt;rdfs:subPropertyOf rdf:resource="#hasIngredient"/&gt;
&lt;rdfs:range rdf:resource="#PizzaTopping"/&gt;
&lt;owl:inverseOf rdf:resource="#isToppingOf"/&gt;
&lt;/owl:ObjectProperty&gt;
</pre>
<p>The property of #hasTopping is subproperty of #hasIngredient: each ingredient is Topping</p>
<p>hasTopping has the inverse of isTopping for passive voice.</p>
<p>hasTopping has a specified domains: pizza names.</p>
<p>This is an object that respects all rules and constraints on the system</p>
<pre>
&lt;owl:Class rdf:about="#FourCheesesTopping"&gt;
&lt;rdfs:label xml:lang="pt"&gt;CoberturaQuatroQueijos&lt;/rdfs:label&gt;
&lt;rdfs:label xml:lang="it"&gt;Quattro Formaggi&lt;/rdfs:label&gt;
&lt;rdfs:subClassOf&gt;
&lt;owl:Restriction&gt;&lt;owl:onProperty rdf:resource="#hasSpiciness"/&gt;
&lt;owl:someValuesFrom rdf:resource="#Mild"/&gt;
&lt;/owl:Restriction&gt;
&lt;/rdfs:subClassOf&gt;
&lt;rdfs:subClassOf rdf:resource="#CheeseTopping"/&gt;
&lt;/owl:Class&gt;
</pre>
<p>This pizza is the subclass of cheeseTopping with mid spiciness</p>
<p>&nbsp;</p>
<h1>Apache JENA</h1>
<p><a href="http://www.rizzimichele.it/wp-content/uploads/2014/07/ont-model-layers.png"><img class="aligncenter size-full wp-image-357" alt="ont-model-layers" src="http://www.rizzimichele.it/wp-content/uploads/2014/07/ont-model-layers.png" width="312" height="285" /></a></p>
<p>Jena is a java library to write or read RDF language and other owl languages such as TTL, it can also to perform a query to do a reasoning about the xml rdf tree to search the information that you need</p>
<p>this is an example of jena query</p>
<p>select ?pizza where {?pizza a owl:Class ; rdfs:subClassOf ?restriction. ?restriction owl:onProperty pizza:hasSpiciness ; owl:someValuesFrom pizza:Mild }</p>
<p>In the previous query I am looking for a pizza with Spiciness Mild</p>
<p>&nbsp;</p>
<h1>My project</h1>
<p>I tested four examples of applications with Apache Jena and I made one my application to write a simple RDF file.</p>
<p>When I tried to read a customized RDF file to execute a customized queries I get the following error:</p>
<pre>
Exception in thread "main" com.hp.hpl.jena.shared.PropertyNotFoundException: http://www.w3.org/2001/vcard-rdf/3.0#N at com.hp.hpl.jena.rdf.model.impl.ModelCom.getRequiredProperty(ModelCom.java:1243) at com.hp.hpl.jena.rdf.model.impl.ResourceImpl.getRequiredProperty(ResourceImpl.java:170)
at org.apache.jena.example.helloworld.Tutorial6.main(Tutorial6.java:52)
</pre>
<p><span style="color: #000000;">I am not an expert of Lucene or Apache jena these are not widespread technologies and there are few forums and manuals to learn about them, when it will be necessary to work with this framework I will spend much time to try and I will perform a lot of tests  to fix these problems and to study this framework but in my opinion it is enough for now </span></p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fjena-semantic-web%2F&amp;linkname=Jena%3A%20Semantic%20Web" title="Facebook" rel="nofollow" target="_blank"></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fjena-semantic-web%2F&amp;linkname=Jena%3A%20Semantic%20Web" title="Twitter" rel="nofollow" target="_blank"></a><a class="a2a_button_google_plus" href="http://www.addtoany.com/add_to/google_plus?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fjena-semantic-web%2F&amp;linkname=Jena%3A%20Semantic%20Web" title="Google+" rel="nofollow" target="_blank"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=https%3A%2F%2Fwww.rizzimichele.it%2Fjena-semantic-web%2F&amp;title=Jena%3A%20Semantic%20Web" id="wpa2a_4"></a></p>]]></content:encoded>
			<wfw:commentRss>https://www.rizzimichele.it/jena-semantic-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lucene:information retrieval</title>
		<link>https://www.rizzimichele.it/luceneinformation-retrival/</link>
		<comments>https://www.rizzimichele.it/luceneinformation-retrival/#comments</comments>
		<pubDate>Sat, 19 Jul 2014 15:39:12 +0000</pubDate>
		<dc:creator><![CDATA[Michele Rizzi]]></dc:creator>
				<category><![CDATA[All articles (75)]]></category>
		<category><![CDATA[Programming languages (51)]]></category>
		<category><![CDATA[Robotics and automation (4)]]></category>
		<category><![CDATA[Software engineering, architectures and distribuited systems (16)]]></category>

		<guid isPermaLink="false">http://www.rizzimichele.it/?p=317</guid>
		<description><![CDATA[How is internet search engine made of? How I can search a lot of information in many documents or web pages? I could search these information using a information retrieval system. Information retrieval The information retrival system executes queries to text unstructured document but this file is not ready to search information inside it because [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>How is internet search engine made of?</p>
<p>How I can search a lot of information in many documents or web pages?</p>
<p>I could search these information using a information retrieval system.</p>
<h1>Information retrieval</h1>
<p>The information retrival system executes queries to text unstructured document but this file is not ready to search information inside it because the user searches only few keyword that are written in sparse positions in the document and also the document can have a synonym of this keyword etc for this reason it is necessary to do a preprocessing operation.</p>
<p>The most important preprocessing operations are the following:</p>
<ul>
<li><strong>Stemming:</strong> Replacing words with their stems. For instance the English stem &#8220;bikes&#8221; is replaced with &#8220;bike&#8221;; now query &#8220;bike&#8221; can find both documents containing &#8220;bike&#8221; and those containing &#8220;bikes&#8221;.</li>
<li><strong>Stop Words Filtering</strong>: Common words like &#8220;the&#8221;, &#8220;and&#8221; and &#8220;a&#8221; rarely add any value to a search. Removing them shrinks the index size and increases performance. It may also reduce some &#8220;noise&#8221; and actually improve search quality.</li>
<li><strong>Text Normalization</strong>: Stripping accents and other character markings can make for better searching.</li>
<li><strong>Synonym Expansion:</strong> Adding in synonyms at the same token position as the current word can mean better matching when users search with words in the synonym set.</li>
<li><strong>Get most frequency terms</strong></li>
</ul>
<p>The information retrieval system executes the precedent operation and saves the resulted document and the pointer of the original document in a <strong>index</strong> file.</p>
<p>When the user searches the keyword, this keyword is find into the index file and the result is shown to the users grouped by ranking (level of relevance) when the user clicks on the link, he can open the document.</p>
<p>&nbsp;</p>
<h1><strong>Apache Lucene</strong></h1>
<p>Lucene is the framework composed by many libraries to execute queries on text documents like an information retrieval system.</p>
<p>The principal libs are the following:</p>
<ul>
<li><strong>org.apache.lucene.document.Document: </strong>allows to store into the index principal information (for example title or contain or creation date) called <strong>field</strong> of the document. When executing the query it&#8217;s necessary to specify what property of the document is searched</li>
<li><strong>org.apache.lucene.analysis.standard.StandardAnalyzer:</strong> the analyser that processes the documents to extract the information to save into the index, for example removes stopword, executes stemming and all the four preprocessing operation written above</li>
<li><strong>org.apache.lucene.search.Query: </strong>executes the query</li>
<li><strong>org.apache.lucene.search.ScoreDoc: </strong>executes the ranking of the results</li>
<li><strong>org.apache.poi.extractor.ExtractorFactory: </strong>is very useful for indexing office document like word or excel and to execute queries inside these documents</li>
</ul>
<h1><strong>My Project</strong></h1>
<p>I tested all the precedent libraries of Lucene for searching information into word and excel documents and they run well: Lucene creates index files, executes the query and shows the results ordered by ranking.</p>
<p>There are a lot of analysers:</p>
<ul>
<li><strong>org.apache.lucene.analysis.standard.StandardAnalyzer</strong></li>
<li><strong>org.apache.lucene.analysis.en.EnglishAnalyzer</strong></li>
<li><strong>org.apache.lucene.analysis.it.ItalianAnalyzer</strong></li>
</ul>
<p>each analyser makes different preprocessing because English stopwords are different from the Italian stopwords, the same for synonyms  and stemming.</p>
<p>The pre processing step is not executed automatically but it is necessary to use the method <strong>analyzer.tokenStream</strong></p>
<p>when I execute the following code</p>
<pre>

for (File f : queue) {

FileReader  fr = new FileReader(f);
TokenStream ts=analyzer.tokenStream("contents", ExtractorFactory.createExtractor(f).getText());
doc.add(new TextField("contents",ts));
ts.reset();
ts.close();
writer.addDocument(doc); }
</pre>
<p>the console shows the following error:</p>
<pre>
java.lang.IllegalStateException: TokenStream contract violation: reset()/close() call missing, reset() called multiple times, or subclass does not call super.reset(). Please see Javadocs of TokenStream class for more information about the correct consuming workflow.
at org.apache.lucene.analysis.Tokenizer$1.read(Tokenizer.java:111)

</pre>
<p>This is not the correct way to add the token that contains the text preprocessed at the indexed document.</p>
<p>when I add the field of the document to the indexed document there are no exceptions and the query is executed correctly  but when I use a token the previous exception occurs</p>
<p>&nbsp;</p>
<p>In my opinion the another way to make the fourth precedents preprocessing is manually, by making many simple dictionaries:</p>
<ul>
<li><strong>Stop word dictionary</strong> a simple xml file with all words that it will be removed while are processed documents for making the index and it will be removed from the user queries</li>
<li><strong>stem synonym dictionary: </strong>simple database table with two column<strong>: key:</strong>base term, another column:term to replace.
<ul>
<li>For example BASE TERM:eat; TERM TO REPLACE:ate,eating,eats, have a meal</li>
<li>I use a table that loads in a class file  when the aplication starts by executing the following query <span style="color: #3366ff;">&#8220;select * from stem_synonym_dictionary&#8221; </span><span style="color: #000000;"><br />
</span></li>
<li>when I process a document or a query and I found eating or have a meal, I replace it with eat (simple search into string)</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fluceneinformation-retrival%2F&amp;linkname=Lucene%3Ainformation%20retrieval" title="Facebook" rel="nofollow" target="_blank"></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fluceneinformation-retrival%2F&amp;linkname=Lucene%3Ainformation%20retrieval" title="Twitter" rel="nofollow" target="_blank"></a><a class="a2a_button_google_plus" href="http://www.addtoany.com/add_to/google_plus?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fluceneinformation-retrival%2F&amp;linkname=Lucene%3Ainformation%20retrieval" title="Google+" rel="nofollow" target="_blank"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=https%3A%2F%2Fwww.rizzimichele.it%2Fluceneinformation-retrival%2F&amp;title=Lucene%3Ainformation%20retrieval" id="wpa2a_6"></a></p>]]></content:encoded>
			<wfw:commentRss>https://www.rizzimichele.it/luceneinformation-retrival/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to make a robot?</title>
		<link>https://www.rizzimichele.it/how-you-can-realize-a-robot/</link>
		<comments>https://www.rizzimichele.it/how-you-can-realize-a-robot/#comments</comments>
		<pubDate>Sat, 10 May 2014 19:45:21 +0000</pubDate>
		<dc:creator><![CDATA[Michele Rizzi]]></dc:creator>
				<category><![CDATA[All articles (75)]]></category>
		<category><![CDATA[Robotics and automation (4)]]></category>

		<guid isPermaLink="false">http://www.rizzimichele.it/?p=160</guid>
		<description><![CDATA[A robot is a special system that takes input from sensor and produces output to actuator. The control system with more inputs and more outputs is called MIMO (multiple input, multiple output) system. The control system with one input and one output is called SISO (Single input single output) system. The simple schema of a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>A robot is a special system that takes input from sensor and produces output to actuator.</p>
<p>The control system with more inputs and more outputs is called MIMO (multiple input, multiple output) system.</p>
<p>The control system with one input and one output is called SISO (Single input single output) system.<br />
The simple schema of a robot is the following:<a href="http://www.rizzimichele.it/wp-content/uploads/2014/05/315px-Simple_feedback_control_loop2.svg_.png"><img class="aligncenter size-full wp-image-161" alt="" src="http://www.rizzimichele.it/wp-content/uploads/2014/05/315px-Simple_feedback_control_loop2.svg_.png" width="315" height="110" /></a></p>
<p>in this schema:</p>
<p>r is the input</p>
<p>y is the output that comes to the actuator</p>
<p>c is the first block that you will make to automatize the system</p>
<p>P is the plant, the system that you cannot control</p>
<p>F is the second block useful to automatize the system.</p>
<p>For example for making the temperature of a home constant, there are the below actors:</p>
<ul>
<li>r is the desired temperature</li>
<li>Y is the temperature after running the air conditioning system</li>
<li>P is the house, it&#8217;s under observation and unmodifiable</li>
<li>C and F are internal devices in the air conditioning system: C works with the error (desired temperature-current temperature), F works using the current temperature</li>
</ul>
<p>The differences between the desired temperature of the system (r) and the temperature of your block (F) is called E (error) and goes into the block C that produces the input to the plant.</p>
<p>Block C and F are made of a mathematical model that is a complex function written by using Laplace transformation and this function should respect the following requirements:</p>
<ul>
<li>high disturbance rejection</li>
<li>guaranteed performance</li>
<li>unstable processes can be stabilized (to discover their stability you can use root locus, nyquist or bode diagrams)</li>
<li>reduced sensitivity to parameter variations</li>
<li>improved reference tracking performance</li>
</ul>
<p>Transfer function allows to know how many components (for example transistors) are necessary for making a robot, how  this components are interconnect one to each other.</p>
<p>In the most of the cases the control is the type of PID (proportional integral derive to the difference between input and output).</p>
<p>Another type of robot can make deductions by reasoning, this robot has a lot of information stored an a knowledge base (KB or ontology it is a xml file).</p>
<p>There are a lot of studies to make this robot and there are also a particular part of mathematics called logic that studies how to transform a normal problem in a subset of rules that the computer can process.</p>
<p>for example:</p>
<p>Knowledge base:<br />
(a) the member of the population of Italy are intelligent<br />
(b) the member of the population of Italy are men and woman who live in Italy<br />
(c) Michele lives in Italy<br />
(d) Michele is men</p>
<p>question:<br />
is Michele intelligent?<br />
response:</p>
<p>Michele through the rule d he is men and through the rule c he lives in Italy through the rule b Michele is member of population of Italy and through the a Michele is intelligent.<br />
There are special languages like <a href="http://www.rizzimichele.it/jena-semantic-web/">OWL</a> (ontology web language) and special programming languages such as Prolog that does this reasoning. Apache Jena is the Java framework which works with the ontologies.</p>
<p>That&#8217;s used by the semantic web and by RDF (Resource Description Framework) which uses URIs to name the relationship between  web objects (images, charts, maps and so on)</p>
<p>Another type of robot can understand from its experience and the environment, this is machine learning and there are three ways for making it</p>
<ul>
<li>supervised learning: teaching robot how to make a task using a couple input-output, this is on the basis of neural network, in this way it is possible to teach your camera to recognize the faces of the people: giving to the software many pictures (input) and a desired output (which of them are the faces) makes the software understanding the mathematic function to recognize the human faces.</li>
<li>unsupervised learning: is made of many attempts to find hidden structure in unlabelled data. The method to discover this structure is for example clustering.</li>
<li>reinforcement learning: it is  inspired by behaviourist psychology have the objective to punish wrong behaviour  and reward the right behaviour, it is made of gain function that it will increases if the choice allows the robot to approach the solution, decreases otherwise. This learning is on the basis of the game theory (min max algorithm)</li>
</ul>
<p>The robot must take a decision according to many alternative, this decision is taken by the experience (machine learning), by logic or is stored statically in the electronic circuit by the transfer function.</p>
<p><a class="a2a_button_facebook" href="http://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fhow-you-can-realize-a-robot%2F&amp;linkname=How%20to%20make%20a%20robot%3F" title="Facebook" rel="nofollow" target="_blank"></a><a class="a2a_button_twitter" href="http://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fhow-you-can-realize-a-robot%2F&amp;linkname=How%20to%20make%20a%20robot%3F" title="Twitter" rel="nofollow" target="_blank"></a><a class="a2a_button_google_plus" href="http://www.addtoany.com/add_to/google_plus?linkurl=https%3A%2F%2Fwww.rizzimichele.it%2Fhow-you-can-realize-a-robot%2F&amp;linkname=How%20to%20make%20a%20robot%3F" title="Google+" rel="nofollow" target="_blank"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=https%3A%2F%2Fwww.rizzimichele.it%2Fhow-you-can-realize-a-robot%2F&amp;title=How%20to%20make%20a%20robot%3F" id="wpa2a_8"></a></p>]]></content:encoded>
			<wfw:commentRss>https://www.rizzimichele.it/how-you-can-realize-a-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
