src/jpyEDM_v0.py
def UpdateArgs():
    '''Update EDM args parameters from notebook widgets.
       NOTE that some widget parameters are not stored in args.
       For example: CE, alpha, l1_ratio'''
    global args

    args.method          = Widgets['method'].value
    args.solver          = Widgets['solver'].value
    args.pred            = Widgets['pred'].value
    args.lib             = Widgets['lib'].value
    args.E               = Widgets['E'].value
    args.maxE            = Widgets['maxE'].value
    args.D               = Widgets['D'].value
    args.knn             = Widgets['knn'].value
    args.Tp              = Widgets['Tp'].value
    args.maxTp           = Widgets['maxTp'].value
    args.exclusionRadius = Widgets['exclusionRadius'].value
    args.theta           = Widgets['theta'].value
    args.thetas          = Widgets['thetas'].value
    args.tau             = Widgets['tau'].value
    args.columns         = Widgets['columns'].value
    args.target          = Widgets['target'].value
    args.columnCCM       = Widgets['columnCCM'].value
    args.targetCCM       = Widgets['targetCCM'].value
    args.multiview       = Widgets['multiview'].value
    args.trainLib        = Widgets['trainLib'].value
    args.excludeTarget   = Widgets['excludeTarget'].value
    args.embedded        = Widgets['embedded'].value

    args.generateSteps   = Widgets['generateSteps'].value
    if args.generateSteps < 0 :
        args.generateSteps = Widgets['generateSteps'].value = 0

    args.CE              = Widgets['CE'].value
    #args.libSize        = [ int(x) for x in Widgets['libsize'].value.split() ]
    args.libSize         = Widgets['libsize'].value
    args.subsample       = Widgets['subsample'].value
    args.random          = Widgets['randomLib'].value
    args.replacement     = Widgets['replacement'].value
    args.seed            = Widgets['seed'].value
    args.maxLag          = Widgets['maxLag'].value
    args.MI_neighbors    = Widgets['MI_neighbors'].value

    args.nThreads        = Widgets['nThreads'].value
    if args.nThreads < 1 :
        args.nThreads = Widgets['nThreads'].value = 1

    args.inputFile       = '' # fileImport directly assigns dataFrameIn
    args.outputFile      = Widgets['outputFile'].value
    args.outputSmapFile  = Widgets['outputSmapFile'].value
    args.outputEmbed     = Widgets['outputEmbed'].value
    args.plot            = Widgets['plot'].value
    args.verbose         = Widgets['verbose'].value
    args.running         = Widgets['running'].value
Update EDM args parameters from notebook widgets.
       NOTE that some widget parameters are not stored in args.
       For example: CE, alpha, l1_ratio
Update EDM args parameters from notebook widgets.
NOTE that some widget parameters are not stored in args.
For example: CE, alpha, l1_ratio
Update EDM args parameters from notebook widgets . NOTE that some widget parameters are not stored in args . For example : CE alpha l1_ratio
def UpdateArgs():
    global args
    args.method          = Widgets['method'].value
    args.solver          = Widgets['solver'].value
    args.pred            = Widgets['pred'].value
    args.lib             = Widgets['lib'].value
    args.E               = Widgets['E'].value
    args.maxE            = Widgets['maxE'].value
    args.D               = Widgets['D'].value
    args.knn             = Widgets['knn'].value
    args.Tp              = Widgets['Tp'].value
    args.maxTp           = Widgets['maxTp'].value
    args.exclusionRadius = Widgets['exclusionRadius'].value
    args.theta           = Widgets['theta'].value
    args.thetas          = Widgets['thetas'].value
    args.tau             = Widgets['tau'].value
    args.columns         = Widgets['columns'].value
    args.target          = Widgets['target'].value
    args.columnCCM       = Widgets['columnCCM'].value
    args.targetCCM       = Widgets['targetCCM'].value
    args.multiview       = Widgets['multiview'].value
    args.trainLib        = Widgets['trainLib'].value
    args.excludeTarget   = Widgets['excludeTarget'].value
    args.embedded        = Widgets['embedded'].value
    args.generateSteps   = Widgets['generateSteps'].value
    if args.generateSteps < 0 :
        args.generateSteps = Widgets['generateSteps'].value = 0
    args.CE              = Widgets['CE'].value
    args.libSize         = Widgets['libsize'].value
    args.subsample       = Widgets['subsample'].value
    args.random          = Widgets['randomLib'].value
    args.replacement     = Widgets['replacement'].value
    args.seed            = Widgets['seed'].value
    args.maxLag          = Widgets['maxLag'].value
    args.MI_neighbors    = Widgets['MI_neighbors'].value
    args.nThreads        = Widgets['nThreads'].value
    if args.nThreads < 1 :
        args.nThreads = Widgets['nThreads'].value = 1
    args.inputFile       = '' 
    args.outputFile      = Widgets['outputFile'].value
    args.outputSmapFile  = Widgets['outputSmapFile'].value
    args.outputEmbed     = Widgets['outputEmbed'].value
    args.plot            = Widgets['plot'].value
    args.verbose         = Widgets['verbose'].value
    args.running         = Widgets['running'].value
def UpdateArgs ( ) : global args args . method = Widgets [ 'method' ] . value args . solver = Widgets [ 'solver' ] . value args . pred = Widgets [ 'pred' ] . value args . lib = Widgets [ 'lib' ] . value args . E = Widgets [ 'E' ] . value args . maxE = Widgets [ 'maxE' ] . value args . D = Widgets [ 'D' ] . value args . knn = Widgets [ 'knn' ] . value args . Tp = Widgets [ 'Tp' ] . value args . maxTp = Widgets [ 'maxTp' ] . value args . exclusionRadius = Widgets [ 'exclusionRadius' ] . value args . theta = Widgets [ 'theta' ] . value args . thetas = Widgets [ 'thetas' ] . value args . tau = Widgets [ 'tau' ] . value args . columns = Widgets [ 'columns' ] . value args . target = Widgets [ 'target' ] . value args . columnCCM = Widgets [ 'columnCCM' ] . value args . targetCCM = Widgets [ 'targetCCM' ] . value args . multiview = Widgets [ 'multiview' ] . value args . trainLib = Widgets [ 'trainLib' ] . value args . excludeTarget = Widgets [ 'excludeTarget' ] . value args . embedded = Widgets [ 'embedded' ] . value args . generateSteps = Widgets [ 'generateSteps' ] . value if args . generateSteps < 0 : args . generateSteps = Widgets [ 'generateSteps' ] . value = 0 args . CE = Widgets [ 'CE' ] . value args . libSize = Widgets [ 'libsize' ] . value args . subsample = Widgets [ 'subsample' ] . value args . random = Widgets [ 'randomLib' ] . value args . replacement = Widgets [ 'replacement' ] . value args . seed = Widgets [ 'seed' ] . value args . maxLag = Widgets [ 'maxLag' ] . value args . MI_neighbors = Widgets [ 'MI_neighbors' ] . value args . nThreads = Widgets [ 'nThreads' ] . value if args . nThreads < 1 : args . nThreads = Widgets [ 'nThreads' ] . value = 1 args . inputFile = '' args . outputFile = Widgets [ 'outputFile' ] . value args . outputSmapFile = Widgets [ 'outputSmapFile' ] . value args . outputEmbed = Widgets [ 'outputEmbed' ] . value args . plot = Widgets [ 'plot' ] . value args . verbose = Widgets [ 'verbose' ] . value args . running = Widgets [ 'running' ] . value
Update EDM args parameters from notebook widgets.
Update EDM args parameters from notebook widgets .
'''Update EDM args parameters from notebook widgets.
       NOTE that some widget parameters are not stored in args.
       For example: CE, alpha, l1_ratio''' #args.libSize        = [ int(x) for x in Widgets['libsize'].value.split() ] # fileImport directly assigns dataFrameIn