N3-BNN Toolbox (for MATLAB)
The N3-BNN toolbox for MATLAB is a collection of MATLAB modules for calculating N3 (N-Nearest Neighbours) and BNN (Binned Nearest Neighbours) classification methods. Beside N3 and BNN, the classical kNN (k Nearest Neighbours) classification method is implemented for comparison.
 
 Help files
HTML files are provided toghter with the MATLAB files in order to help the user. The HTML help provides some underlying information on N3 (see Theory section); it also explains how to prepare your data and how to calculate the models.
 
 Conditions and warranty
The toolbox is freeware and may be used (but not modified) if proper reference is given to the authors. Preferably refer to the followign paper:

Todeschini, R., Ballabio, D., Cassotti, M., Consonni, V. (2015). N3 and BNN: Two new similarity based classification methods in comparison with other classifiers. Journal of Chemical Information and Modeling, 55, 2365-2374.

In short, no guarantees, whatsoever, are given for the quality of this toolbox or for the consequences of its use. It is inevitable that there will be some bugs, but we have tried to test the algorithms thoroughly.

 
 Source

You can freely download the MATLAB modules:

download N3-BNN Toolbox