Popular recipes by Roberto Bello http://code.activestate.com/recipes/users/4189498/2014-06-16T13:20:01-07:00ActiveState Code RecipesKIndex for SOM neural networks (Python) (Python)
2014-06-16T13:20:01-07:00Roberto Bellohttp://code.activestate.com/recipes/users/4189498/http://code.activestate.com/recipes/578893-kindex-for-som-neural-networks-python/
<p style="color: grey">
Python
recipe 578893
by <a href="/recipes/users/4189498/">Roberto Bello</a>
(<a href="/recipes/tags/cv/">cv</a>, <a href="/recipes/tags/data_mining/">data_mining</a>, <a href="/recipes/tags/means/">means</a>, <a href="/recipes/tags/neural_network/">neural_network</a>, <a href="/recipes/tags/python/">python</a>, <a href="/recipes/tags/som/">som</a>).
</p>
<p>Achieved cataloging into groups by a SOM neural network, the question arises
whether or not there is knowledge in the groups, namely whether the groups are between them
distinct and have homogeneous characteristics within each group.
The use of the coefficient of variation (CV) can be of help.</p>
<p>KINDEX (Knowledge Index) is an index that measures how much knowledge is
contained in the groups obtained from the SOM neural network: in the case KINDEX
reaches the maximum value of 1, each group would consist of records with constant
values in all the variables / columns, and each group would be quite distinct
from other groups.
KINDEX is calculated using the weighted-average CV of variables / columns
groups, comparing them to the CV of the variables / columns of the input file before
cataloging.</p>
Python - from nD array to flat array (Python)
2014-03-21T16:09:39-07:00Roberto Bellohttp://code.activestate.com/recipes/users/4189498/http://code.activestate.com/recipes/578854-python-from-nd-array-to-flat-array/
<p style="color: grey">
Python
recipe 578854
by <a href="/recipes/users/4189498/">Roberto Bello</a>
(<a href="/recipes/tags/array/">array</a>, <a href="/recipes/tags/flatten/">flatten</a>, <a href="/recipes/tags/nd/">nd</a>).
</p>
<p>From a multidimensional array to a flat array avoiding numpy.
The code could be better?</p>
KB Neural Data Mining - Python sources (Python)
2014-03-19T11:46:16-07:00Roberto Bellohttp://code.activestate.com/recipes/users/4189498/http://code.activestate.com/recipes/578853-kb-neural-data-mining-python-sources/
<p style="color: grey">
Python
recipe 578853
by <a href="/recipes/users/4189498/">Roberto Bello</a>
(<a href="/recipes/tags/data_mining/">data_mining</a>, <a href="/recipes/tags/neural_network/">neural_network</a>, <a href="/recipes/tags/python/">python</a>).
</p>
<p><a href="http://www.freeopen.org/?p=85" rel="nofollow">http://www.freeopen.org/?p=85</a>
The aim of this book is to present and describe in detail the algorithms to extract the knowledge hidden inside data using Python language, which allows us to read and easily understand the nature and the characteristics of the rules of the computing utilized, as opposed to what happens in commercial applications, which are available only in the form of running codes, which remain impossible to modify.</p>
<p>The algorithms of computing contained within the book are minutely described, documented and available in the Python source format, and serve to extract the hidden knowledge within the data whether they are textual or numerical kinds. There are also various examples of usage, underlining the characteristics, method of execution and providing comments on the obtained results.</p>