Team:TCU Taiwan/Modeling
From 2014.igem.org
(Difference between revisions)
Line 241: | Line 241: | ||
<div class="wrapper" style="background-color: white;"> | <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 | <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" | + | (ANFIS).We performed the following tasks:</font></p> |
- | + | <p><font color="#333" size="3" face="Verdana">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 ANFIS Structure<br> | 3.Generating the Initial ANFIS Structure<br> | ||
- | + | 4.Training the ANFIS<br> | |
- | + | 5.Validating the Trained ANFIS</font></p><font size="3" face="Verdana" color="#333"> | |
<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>1.Data pre-processing</p> |
</font> | </font> | ||
<font size="3" face="Verdana" color="#333"><p> </p> | <font size="3" face="Verdana" color="#333"><p> </p> | ||
<font face="Trebuchet MS" size="5" color="#90B849"><p> </p> | <font face="Trebuchet MS" size="5" color="#90B849"><p> </p> | ||
- | <p>Loading the Data</p> | + | <p>2.Loading the Data</p> |
</font> | </font> | ||
</font> | </font> | ||
<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>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 ANFIS Structure</font></p> | + | <p><font face="Trebuchet MS" size="5" color="#90B849">3.Generating the Initial ANFIS Structure</font></p> |
</font> | </font> | ||
<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"> | <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"> | ||
Line 269: | Line 269: | ||
<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">Training the ANFIS</font></p> | + | <p><font face="Trebuchet MS" size="5" color="#90B849">4.Training the ANFIS</font></p> |
<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> | <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> | ||
<p><font color="#333" size="3" face="Verdana">During training we can see how Training error develops as below:</font> | <p><font color="#333" size="3" face="Verdana">During training we can see how Training error develops as below:</font> | ||
Line 281: | Line 281: | ||
</table></p> | </table></p> | ||
<p> </p> | <p> </p> | ||
- | <p><font face="Trebuchet MS" size="5" color="#90B849">Validating the Trained ANFIS</font></p> | + | <p><font face="Trebuchet MS" size="5" color="#90B849">5.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">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> | <p><font color="#333" size="3" face="Verdana">When we test the testing data against the FIS, it looks satisfactory.</font></p> |
Revision as of 20:34, 16 October 2014
Modeling |
|
|
^
|
Lost the way? Use it to help you if you're lost. |
^