Team:TCU Taiwan/Modeling
From 2014.igem.org
(Difference between revisions)
Line 239: | Line 239: | ||
<legend class="qnum" align="center"><font face="Trebuchet MS" size="6" color="#0092C7">3.Model Reliability</font><br> | <legend class="qnum" align="center"><font face="Trebuchet MS" size="6" color="#0092C7">3.Model Reliability</font><br> | ||
<font size="3" face="Verdana" color="#333"></font></legend> | <font size="3" face="Verdana" color="#333"></font></legend> | ||
- | <div class="wrapper" style="background-color: white;"><font size="3" face="Verdana | + | <div class="wrapper" style="background-color: white;"> |
+ | <p><font color="#333" size="3" face="Verdana">To build the model,we created, trained, and tested <strong>A</strong>daptive <strong>N</strong>etwork-based <strong>F</strong>uzzy <strong>I</strong>nference <strong>S</strong>ystem | ||
+ | (ANFIS).We performed the following tasks:</font></p><font size="3" face="Verdana" color="#333"> | ||
<p>1.Data <a href="http://en.wikipedia.org/wiki/Data_pre-processing" target="_blank">pre-processing</a><br> | <p>1.Data <a href="http://en.wikipedia.org/wiki/Data_pre-processing" target="_blank">pre-processing</a><br> | ||
2.Loading the Data<br> | 2.Loading the Data<br> | ||
- | 3.Generating the Initial | + | 3.Generating the Initial ANFIS Structure<br> |
- | 3.Training the | + | 3.Training the ANFIS<br> |
- | 4.Validating the Trained | + | 4.Validating the Trained ANFIS</p> |
<font face="Trebuchet MS" size="5" color="#90B849"><p> </p> | <font face="Trebuchet MS" size="5" color="#90B849"><p> </p> | ||
<p>Data pre-processing</p> | <p>Data pre-processing</p> | ||
Line 253: | Line 255: | ||
</font> | </font> | ||
</font> | </font> | ||
- | <p>To train the | + | <p>To train the ANFIS, we must begin by loading a Training data set that contains the desired input/output data of the system to be modeled. Any data set we load must be an array with the data arranged as column vectors, and the output data in the last column.We also loaded Testing data.</p> |
<p> </p> | <p> </p> | ||
- | <p><font face="Trebuchet MS" size="5" color="#90B849">Generating the Initial | + | <p><font face="Trebuchet MS" size="5" color="#90B849">Generating the Initial ANFIS Structure</font></p> |
</font> | </font> | ||
- | <p><font color="#333" size="3" face="Verdana">Before we start the | + | <p><font color="#333" size="3" face="Verdana">Before we start the ANFIS training, we specify an initial ANFIS model structure as below:</font></p><table width="70%" border="1" cellspacing="0" cellpadding="0" align="center"> |
<tr> | <tr> | ||
<td align="center"><img src="https://static.igem.org/mediawiki/2014/8/8c/TCU_MD_Structure.png" width="100%"></td> | <td align="center"><img src="https://static.igem.org/mediawiki/2014/8/8c/TCU_MD_Structure.png" width="100%"></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td align="center"><font size="3" face="Verdana"><strong>Fig3.1 Initial | + | <td align="center"><font size="3" face="Verdana"><strong>Fig3.1 Initial ANFIS Model Structure</strong></font></td> |
</tr> | </tr> | ||
</table> | </table> | ||
<font color="#333" size="3" face="Verdana"><p>The branches in this graph are color coded. Color coding of branches characterize the rules and indicate whether or not and, not, or or are used in the rules. The input is represented by the left-most node and the output by the right-most node. The node represents a normalization factor for the rules. </p></font> | <font color="#333" size="3" face="Verdana"><p>The branches in this graph are color coded. Color coding of branches characterize the rules and indicate whether or not and, not, or or are used in the rules. The input is represented by the left-most node and the output by the right-most node. The node represents a normalization factor for the rules. </p></font> | ||
- | |||
- | |||
<p> </p> | <p> </p> | ||
- | <p><font face="Trebuchet MS" size="5" color="#90B849"> | + | <p><font face="Trebuchet MS" size="5" color="#90B849">Training the ANFIS</font></p> |
- | <p><font color="#333" size="3" face="Verdana"> | + | <p><font color="#333" size="3" face="Verdana">After loading the training data and generating the initial ANFIS structure, we started training the ANFIS. The number of training Epochs(Epochs means number of iterations) is over 2500.</font></p> |
- | <font size="3" face="Verdana | + | <p><font color="#333" size="3" face="Verdana">During training we can see how Training error develops as below:</font> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </font> | + | |
<table width="85%" border="1" cellspacing="0" cellpadding="0" align="center"> | <table width="85%" border="1" cellspacing="0" cellpadding="0" align="center"> | ||
<tr> | <tr> | ||
Line 282: | Line 277: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td align="center"><font size="3" face="Verdana"><strong> | + | <td align="center"><font size="3" face="Verdana"><strong>Fig3.2 Training Error</strong></font></td> |
</tr> | </tr> | ||
- | </table></div> | + | </table></p> |
+ | <p><font face="Trebuchet MS" size="5" color="#90B849">Validating the Trained ANFIS</font></p> | ||
+ | <p><font color="#333" size="3" face="Verdana">Finally,we had to test our data against the trained ANFIS.After the ANFIS is trained, validate the model using a Testing data that differs from the one we used to train the ANFIS. </font></p> | ||
+ | <p><font color="#333" size="3" face="Verdana">When we test the testing data against the FIS, it looks satisfactory.</font></p> | ||
+ | <table width="85%" border="1" cellspacing="0" cellpadding="0" align="center"> | ||
+ | <tr> | ||
+ | <td align="center"><img src="https://static.igem.org/mediawiki/2014/e/e1/TCU_MD_Test.png" width="100%"></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td align="center"><font size="3" face="Verdana"><strong>Fig3.3 Testing our data against the trained ANFIS</strong></font></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | |||
+ | |||
+ | </font> | ||
+ | </div> | ||
<br> | <br> | ||
<div class="wrapper" style="background-color: white;"></div></fieldset></td> | <div class="wrapper" style="background-color: white;"></div></fieldset></td> |
Revision as of 20:28, 16 October 2014
Modeling |
|
|
^
|
Lost the way? Use it to help you if you're lost. |
^