Last updated on 2018-06-02 07:48:33 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.8.6 | 32.76 | 211.25 | 244.01 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.8.6 | 27.47 | 159.08 | 186.55 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.8.6 | 291.62 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.8.6 | 280.37 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.8.6 | 107.00 | 308.00 | 415.00 | ERROR | |
r-patched-linux-x86_64 | 0.8.6 | 32.35 | 180.29 | 212.64 | ERROR | |
r-patched-solaris-x86 | 0.8.6 | 368.60 | ERROR | |||
r-release-linux-x86_64 | 0.8.6 | 33.84 | 180.94 | 214.78 | ERROR | |
r-release-windows-ix86+x86_64 | 0.8.6 | 64.00 | 294.00 | 358.00 | ERROR | |
r-release-osx-x86_64 | 0.8.6 | ERROR | ||||
r-oldrel-windows-ix86+x86_64 | 0.8.6 | 87.00 | 238.00 | 325.00 | ERROR | |
r-oldrel-osx-x86_64 | 0.8.6 | OK |
Version: 0.8.6
Check: pragmas in C/C++ headers and code
Result: NOTE
File which contains pragma(s) suppressing diagnostics:
‘src/base/common.h’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-windows-ix86+x86_64
Version: 0.8.6
Check: compiled code
Result: NOTE
File ‘funcy/libs/funcy.so’:
Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
It is good practice to register native routines and to disable symbol
search.
See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 : *4 :Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
*Loading required namespace: funHDDC
* *Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
*Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
*
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [48s/47s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
Loading required namespace: Funclustering
Loading required namespace: funHDDC
5 : * *5 : * * * *5 : * *
*
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 : * * *4 :
*Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
* *
Loading required namespace: funHDDC
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [35s/35s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 :Loading required namespace: Funclustering
Loading required namespace: funHDDC
* *5 : * * * *
5 : * *
*
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 :Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
*4 :Loading required namespace: funHDDC
* * *Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
* *
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [56s/48s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
Loading required namespace: Funclustering
Loading required namespace: funHDDC
5 : *5 : * * * *5 : * * * *
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 : *4 :Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
* * *Loading required namespace: funHDDC
* *
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [55s/47s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
Loading required namespace: Funclustering
Loading required namespace: funHDDC
5 : * *5 : * * * *5 : *
* *
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.8.6
Check: running examples for arch ‘i386’
Result: ERROR
Running examples in 'funcy-Ex.R' failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
Warning in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Parallel computing is only supported on Unix platforms.
4 : * * *
4 : * * *
Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Loading required namespace: funHDDC
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.8.6
Check: running examples for arch ‘x64’
Result: ERROR
Running examples in 'funcy-Ex.R' failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
Warning in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Parallel computing is only supported on Unix platforms.
4 : * * *
4 : * * *
Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Loading required namespace: funHDDC
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
Execution halted
Flavors: r-devel-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Version: 0.8.6
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testMethods.R' [13s]
Running the tests in 'tests/testMethods.R' failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *
5 : * * *
Loading required namespace: Funclustering
Loading required namespace: funHDDC
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
In addition: Warning messages:
1: In funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Parallel computing is only supported on Unix platforms.
2: In funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
3: In Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 5
4: In funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 5 classes is not possible. 4 clusters are used!
5: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 4 classes is not possible. 3 clusters are used!
6: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
7: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
8: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.8.6
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testMethods.R' [15s]
Running the tests in 'tests/testMethods.R' failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *
5 : * * *
Loading required namespace: Funclustering
Loading required namespace: funHDDC
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
In addition: Warning messages:
1: In funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Parallel computing is only supported on Unix platforms.
2: In funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
3: In Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 5
4: In funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 5 classes is not possible. 4 clusters are used!
5: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 4 classes is not possible. 3 clusters are used!
6: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
7: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
8: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 : * *4 :Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
* * * *Loading required namespace: funHDDC
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [45s/46s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
Loading required namespace: Funclustering
Loading required namespace: funHDDC
5 : *5 : * * * * *
5 :
* * *
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 :Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
Loading required namespace: funHDDC
4 : * * *Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
* *Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
*
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [71s/64s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *Loading required namespace: Funclustering
Loading required namespace: funHDDC
5 : * * *
5 : * * *
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-patched-solaris-x86
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
4 : * * *4 :Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
*Loading required namespace: funHDDC
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
*Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
*Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [44s/45s]
Running the tests in ‘tests/testMethods.R’ failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
Loading required namespace: Funclustering
5 :Loading required namespace: funHDDC
* *5 : * * * *5 : *
*
*
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.8.6
Check: running examples for arch ‘x64’
Result: ERROR
Running examples in 'funcy-Ex.R' failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
Warning in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Parallel computing is only supported on Unix platforms.
4 : * * *
4 : * * *
Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
Loading required namespace: funHDDC
Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.8.6
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testMethods.R' [14s]
Running the tests in 'tests/testMethods.R' failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *
5 : * * *
Loading required namespace: Funclustering
Loading required namespace: funHDDC
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
In addition: Warning messages:
1: In funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Parallel computing is only supported on Unix platforms.
2: In funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
3: In Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 5
4: In funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 5 classes is not possible. 4 clusters are used!
5: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 4 classes is not possible. 3 clusters are used!
6: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
7: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
8: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.8.6
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testMethods.R' [16s]
Running the tests in 'tests/testMethods.R' failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *
5 : * * *
Loading required namespace: Funclustering
Loading required namespace: funHDDC
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
In addition: Warning messages:
1: In funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Parallel computing is only supported on Unix platforms.
2: In funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
3: In Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 5
4: In funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 5 classes is not possible. 4 clusters are used!
5: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 4 classes is not possible. 3 clusters are used!
6: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
7: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
8: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.8.6
Check: examples
Result: ERROR
Running examples in ‘funcy-Ex.R’ failed
The error most likely occurred in:
> ### Name: funcyOutList-class
> ### Title: Class '"funcyOutList"'
> ### Aliases: funcyOutList-class funcyOutList
> ### Keywords: classes
>
> ### ** Examples
>
> set.seed(2808)
> ds <- sampleFuncy(obsNr=30, k=4, timeNr=7)
> data <- Data(ds)
> clusters <- Cluster(ds)
>
> res <- funcit(data=data, clusters=clusters, seed=2808,
+ methods=1:5, k=4, parallel=TRUE)
Warning in funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
4 :Loading required namespace: funHDDC
* *4 : * * *Warning in funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 4 classes is not possible. 3 clusters are used!
*Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
Warning in Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 4
Warning in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Error in funcit(data = data, clusters = clusters, seed = 2808, methods = 1:5, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-release-osx-x86_64
Version: 0.8.6
Check: tests
Result: ERROR
Running ‘testMethods.R’ [52s/57s]
Running the tests in ‘tests/testMethods.R’ failed.
Last 13 lines of output:
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
Loading required namespace: Funclustering
Loading required namespace: funHDDC
5 : * *5 : * * * *
5 : * * *
Error in funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Method funHDDC : Clustering for this data not possible.
Execution halted
Flavor: r-release-osx-x86_64
Version: 0.8.6
Check: running tests for arch ‘i386’
Result: ERROR
Running 'testMethods.R' [18s]
Running the tests in 'tests/testMethods.R' failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *
5 : * * *
Loading required namespace: Funclustering
Loading required namespace: funHDDC
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
In addition: Warning messages:
1: In funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Parallel computing is only supported on Unix platforms.
2: In funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
3: In Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 5
4: In funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 5 classes is not possible. 4 clusters are used!
5: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 4 classes is not possible. 3 clusters are used!
6: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
7: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
8: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 0.8.6
Check: running tests for arch ‘x64’
Result: ERROR
Running 'testMethods.R' [21s]
Running the tests in 'tests/testMethods.R' failed.
Complete output:
>
> ##regular data set**********************************************
>
> if(1){
+ ##detach("package:funcy",
+ ##unload=TRUE)
+ start <- proc.time()
+ parallel=TRUE
+ library(funcy)
+
+ ##regular data sets******************************************
+ k <- 5
+
+ set.seed(3804)
+ ds <- sampleFuncy(obsNr=100, timeNr=20, reg=TRUE, k=k, sd=.4)
+ plotFuncy(ds@data)
+
+ ##try to cluster
+ methods <- "ALL"
+
+ res1 <- funcit(methods=methods, data=ds@data, k=k,
+ clusters=ds@clusters, seed=2405,
+ save.data=TRUE, parallel=parallel)
+
+ plot(res1)
+
+ ##irregular data set which is made regular*******************
+ set.seed(3805)
+ ds <- sampleFuncy(reg=FALSE, timeNrMin=5, timeNrMax=10, k=k, sd=0.3)
+ plotFuncy(ds)
+
+ ##make it reg
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=5,
+ method="interpolate")$data
+ data <- regFuncy(ds@data, baseType="splines", timeNr=10, nbasis=10, method="project")$data
+ ##data <- regFuncy(ds@data, method="pace", timeNr=10)$data
+
+ res2 <- funcit(methods=methods, seed=2506, data=data, k=4)
+
+
+ ##irregular data set*****************************************
+ k <- 4
+ set.seed(3806)
+ ds <- sampleFuncy(timeNrMin=5, timeNrMax=10, reg=FALSE, k=k, sd=0.3)
+
+ a <- list(coeffsCalc="estimate", average=TRUE)
+ fpcCtrl <- as(a, "fpcCtrl")
+
+ b <- list(maxit=5, baseType="eigenbasis", flexDim=TRUE)
+ funcyCtrlMbc <- as(b, "funcyCtrlMbc")
+ ##funcyCtrlMbc@baseType <- "splines"
+
+ res3 <- funcit(methods=c(1,2,3),data=ds@data,k=k,
+ clusters=ds@clusters,
+ fpcCtrl=fpcCtrl,
+ funcyCtrl=funcyCtrlMbc,
+ save.data=TRUE,
+ parallel=parallel)
+
+ plot(res1, select=1, type="all")
+ plot(res1, select=c(1,2), type="centers")
+ plot(res1, select=1, type="dist2centers")
+
+ ##special plot functions for fitclust-object
+ plot(res1,select="fitfclust", type="discrim")
+ plot(res1, select="fitfclust", type="conf")
+
+ ##special plot functions for FSCM-object
+ plot(res1,select="fscm", type="overview")
+ plot(res1,select="fscm", type="deviations")
+ plot(res1, select="fscm", type="locations")
+
+
+ plot(res3, type="all")
+ plot(res3, type="accordance")
+ plot(res3, select=3, type="fpc")
+ b <- proc.time()-start
+ }
Loading required package: flexclust
Loading required package: grid
Loading required package: lattice
Loading required package: modeltools
Loading required package: stats4
Loading required package: splines
5 : * * *
5 : * * *
Loading required namespace: Funclustering
Loading required namespace: funHDDC
Error in funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering for this data not possible.
Calls: funcit ... funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper -> funHDDCWrapper
In addition: Warning messages:
1: In funcit(methods = methods, data = ds@data, k = k, clusters = ds@clusters, :
Parallel computing is only supported on Unix platforms.
2: In funclustWrapper(data = data, k = k, reg = reg, regTime = regTime, :
It is not possible to set a seed for method funclust.
3: In Funclustering::funclust(fd = fd, K = k, thd = thd, increaseDimension = increaseDimension, :
Convergence of the algorithm to a solution with at least one empty cluster.
Restart or a choose a smaller value for K = 5
4: In funHDDCWrapper(data = data, k = k, reg = reg, regTime = regTime, :
Clustering with 5 classes is not possible. 4 clusters are used!
5: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 4 classes is not possible. 3 clusters are used!
6: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 3 classes is not possible. 2 clusters are used!
7: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 2 classes is not possible. 1 clusters are used!
8: In funHDDCWrapper(data, k, reg, regTime, funcyCtrlMbc, model = "AkBkQkDk", :
Clustering with 1 classes is not possible. 0 clusters are used!
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64