rm -f *.o ../sources/*.o ../adapters/*.o
cclean: clean
- rm -f $(LIB) $(TESTS)
+ rm -f *.so $(TESTS)
.PHONY: all clean cclean
+source("helpers/EMGLLF.R")
+
generateRunSaveTest_EMGLLF = function(n=200, p=15, m=10, k=3, mini=5, maxi=10,
gamma=1., lambda=0.5, tau=1e-6)
{
- testFolder = "data/"
+ testFolder = "../data/"
dir.create(testFolder, showWarnings=FALSE, mode="0755")
require(valse)
row.names=F, col.names=F)
write.table(as.double(tau), paste(testFolder,"tau",sep=""),
row.names=F, col.names=F)
- write.table(as.integer(c(n,p,m,k)), paste(testFolder,"dimensxyns",sep=""),
+ write.table(as.integer(c(n,p,m,k)), paste(testFolder,"dimensions",sep=""),
row.names=F, col.names=F)
res = EMGLLF(params$phiInit,params$rhoInit,params$piInit,params$gamInit,mini,maxi,
+source("helpers/EMGrank.R")
+
generateRunSaveTest_EMGrank = function(n=200, p=15, m=10, k=3, mini=5, maxi=10, gamma=1.0,
rank = c(1,2,4))
{
require(valse)
xy = valse:::generateXYdefault(n, p, m, k)
- testFolder = "data/"
+ testFolder = "../data/"
dir.create(testFolder, showWarnings=FALSE, mode="0755")
#save inputs
write.table(as.double(rho), paste(testFolder,"rho",sep=""),
row.names=F, col.names=F)
write.table(as.integer(rank), paste(testFolder,"rank",sep=""),
row.names=F, col.names=F)
- write.table(as.integer(c(n,p,m,k)), paste(testFolder,"dimensxyns",sep=""),
+ write.table(as.integer(c(n,p,m,k)), paste(testFolder,"dimensions",sep=""),
row.names=F, col.names=F)
res = EMGrank(pi,rho,mini,maxi,xy$X,xy$Y,tau,rank)
+source("helpers/constructionModelesLassoMLE.R")
+
generateRunSaveTest_constructionModelesLassoMLE = function(n=200, p=15, m=10, k=3, mini=5,
maxi=10, gamma=1.0, glambda=list(0.0,0.01,0.02,0.03,0.05,0.1,0.2,0.3,0.5,0.7,0.85,0.99))
{
params = valse:::basicInitParameters(n, p, m, k)
xy = valse:::generateXYdefault(n, p, m, k)
- testFolder = "data/"
+ testFolder = "../data/"
dir.create(testFolder, showWarnings=FALSE, mode="0755")
#save inputs
write.table(as.double(params$phiInit), paste(testFolder,"phiInit",sep=""),
+source("helpers/constructionModelesLassoRank.R")
+
generateRunSaveTest_constructionModelesLassoRank = function(n=200, p=15, m=10, k=3, L=12, mini=5,
maxi=10, gamma=1.0, rangmin=3, rangmax=6)
{
require(valse)
xy = valse:::generateXYdefault(n, p, m, k)
- testFolder = "data/"
+ testFolder = "../data/"
dir.create(testFolder, showWarnings=FALSE, mode="0755")
#save inputs
write.table(as.double(pi), paste(testFolder,"pi",sep=""),