findModelCluster-class {svcR}R Documentation

Class "findModelCluster"

Description

reading data, computation of the svc model and cluster labelling

Objects from the Class

Objects can be created by calls of the form new("findModelCluster", ...). or by calling the findModelCluster function.

Slots

WVectorsYA:
Object of class "list" contains the lagrange coefficients : WVectorsYA$A
Matrice:
Object of class "list" contains variables names Matrice$var, attributes names Matrice$Att and data Matrice$Mat
MatriceK:
Object of class "vector" contains kernel matrix
Data:
Object of class "matrix" contains Data Matrix
MinMaxXY:
Object of class "vector" contains min max values for first and second coordinates
MisClass:
Object of class "vector" contains missclassfied points
DName:
Object of class "character" contains the prefix name of data for files decoding
fileIn:
Object of class "character" contains data file path
ClassPoints:
Object of class "vector" contains class of grid points
Cx:
Object of class "numeric" contains the x column id of data matrix
Cy:
Object of class "numeric" contains the y column id of data matrix
Nu:
Object of class "numeric" contains nu value of the svc model
KNN:
Object of class "numeric" contains knn value for labelling
SizeGrid:
Object of class "numeric" contains the size grid for labelling
AroundNullVA:
Object of class "numeric" contains almost null value for lagrange coefficient estimation
NumPoints:
Object of class "vector" contains value fo grid points

Author(s)

Nicolas Turenne - INRA France nicolas.turenne@jouy.inra.fr

See Also

findModelCluster

Examples


## exemple with iris data

MetOpt  = 1;    # optimisation method with randomization
MetLab  = 1;    # grid labelling
KChoice = 1;    # 0: eucli 1: radial 2: radial+dist 
Nu      = 1.0; 
q       = 2000;   # lot of clusters
K       = 1;    # only 1  nearest neighbour for clustering
Cx = Cy = 0; # we use principal component analysis factors
G       = 13; # size of the grid for cluster labelling
DName   = "iris";
fileIn  = ""; # fileIn migth be such as "D:/R/library/svc/", if NULL it will work on iris data

fmc = findModelCluster( as.integer(MetOpt), MetLab, KChoice, Nu, q, K, G, Cx, Cy, DName, fileIn); 

fmc@NumPoints; # values of the grid


[Package svcR version 1.4.2 Index]