Learn R Programming

evclust (version 2.0.3)

create_hard_credpart: Creation of a "credpart" object from a vector of class labels

Description

create_hard_credpart creates a "credpart" object from a vector of class labels.

Usage

create_hard_credpart(y)

Value

An object of class "credpart".

Arguments

y

A vector of class labels.

References

T. Denoeux, S. Li and S. Sriboonchitta. Evaluating and Comparing Soft Partitions: an Approach Based on Dempster-Shafer Theory. IEEE Transactions on Fuzzy Systems, 26(3):1231-1244, 2018.

See Also

extractMass, create_fuzzy_credpart

Examples

Run this code
if (FALSE) {
data(fourclass)
y<-kmeans(fourclass[,1:2],4)$cluster
clus<-create_hard_credpart(y)
summary(clus)
}

Run the code above in your browser using DataLab