Fuzzy k-NN 1.0
File ID: 79254
Fuzzy k-NN 1.0 Description
Description: Fuzzy k-nearest neighbors classifier that can work with training samples whose label info is fuzzified. The prototype is as follows.
[y,predict_class] = f_knn(tr,tr_memberships,te,k)
tr: training samples
tr_memberships: membership values of traning samples
te: testing samples
k: k value vector (more than one value is possible)
y: output memberships for testing set
predict_class: the most likely classes for testing set
Related: samplesk, Testing, sampleste, traning, Vector, possibley, Classes, setpredict class, memberships, output, values, Membership, Training, Samples, classifier, neighbors, knearest
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB
|More Similar Code|
Codes for fuzzy k means clustering, including k means with extragrades, Gustafson Kessel algorithm, fuzzy linear discriminant analysis. Performance measure is also calculated.
Retun predicted labels and a posteriori probabilities given training/test data.
It is known that there is no sufficient Matlab program about neuro-fuzzy classifiers. Generally, ANFIS is used as classifier. ANFIS is a function approximator program. But, the usage of ANFIS for classifications is unfavorable. For example, there...
This GUI demonstrates the use of fuzzy logic to control the steering of a car. Two sensors, one on each side of the car, detect the distances from the pavement, with which the "error" critereon is calculated. This, along with the change...
Comparison of Fuzzy Logic principles along with Fuzzy Type -2
Gui for washing Machine using fuzzy logic. this is a basic idea for Fuzzy system implementation.
The Fuzzy Relational Calculus Toolbox is companion software to the book Fuzzy Relational Calculus - Theory, Applications and Software (with CD-ROM) by Ketty Peeva & Yordan Kyosev, ISBN 981-256-076-9, Advances in Fuzzy Systems Applications and...
I have built the rules in simulink and not using the fuzzy logic toolbox.This controller is a two input one output fuzzy controller
The first input is the error=x. The second input is the error_dot=y(time derivative of the error)
1) Std 2 in 1 out Fuzzy Controller ,
EvalfisBetter simulates the Fuzzy Inference System for the input data and returns the output data. Its was develop to work with mandani FIS type. Its differ fron evalfis by using the rule weigth to do the exponencial of the consequent part of each...
|User Review for Fuzzy k-NN