Exemple #1
0
def runLargeNetworkTest_uniform(ntests, ns, k, folder, upperThres, useTrans):
    doTests("largeUG_u",
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
Exemple #2
0
def randomUG(ntests, ns, k, folder, upperThres, useTrans):
    doTests("randomUG",
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
    doTests("randomUGLarge",
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Tue May 16 14:34:15 2017

@author: janleppa
"""

from slTests import doTests
import numpy as np

if __name__ == "__main__":

    ns = [125, 250, 500, 1000, 2000]  #sample size
    ntests = 25  #number of tests
    k = 3  # k for the knnEstimator
    folder = "k3UPinf"
    useTrans = False
    upperThres = np.inf

    doTests("randomGMSmall15",
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
Exemple #4
0
def runSmallNetWorkTests(ntests, ns, k, folder, upperThres, useTrans):
    doTests((True, "gaussian"),
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
    doTests((True, "t"),
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
    doTests((True, "uniform"),
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
    doTests((False, "gaussian"),
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
    doTests((False, "t"),
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)
    doTests((False, "uniform"),
            ntests=ntests,
            ns=ns,
            k=k,
            folderName=folder,
            upperThres=upperThres,
            useTransformation=useTrans)