Code Monkey home page Code Monkey logo

eabn's People

Contributors

ralmond avatar

Watchers

 avatar  avatar

Forkers

erge324

eabn's Issues

Need General Code to generate Stats Table

This is the old code. Need to separate out margin results from non-margin results.

statCol <- listeners$UpdateListener$messdb()
stat1 <- statCol$find(buildJQuery(app=app(eng)))
statdat <- stat1$data
physdat <- statdat$Physics_Margin
names(physdat) <- paste("Physics",names(physdat),sep="_")
statdat1 <- cbind(statdat[,-which(names(statdat)=="Physics_Margin")],physdat)
stat <- cbind(stat1[,-which(names(stat1)=="data")],statdat1)

Need activate/deactivate protocol

Need a better way of telling when EABN is running than just checking the process queue.

For RUN mode:

  1. Must be a signal to external processes about whether or not the process is running.
  2. Must be able to request a fast stop (as soon as current records is processed) or clean stop (after all records are processed).

For Rerun model:

  1. Must be able to signal process is running and when finished.
  2. Must be able to request a fast stop.

Database Mode:
Add a field in Application collection add a field EAactive with logical value. The $active() method sets it to true and the $deactivate() method sets it to false. Add a field EAsignal, which can take values "run", "finish" and "halt". The $activate() method sets this to "run".

No DB Mode:
In the appropriate log directory, there is a file named "EA.XXX". The $active() method creates the file with the extension "running". If this name is changed to "finish" or "halt", then this does the appropriate signal. The $deactivate() method deletes that file.

run dies on malformed statstiics

Error in do.call(stat@fun, list(net, node)) :
attempt to use zero-length variable name
Calls: doRunrun ... updateStats -> lapply -> FUN -> calcStat -> calcStat -> do.c
all
Execution halted

Error seems to happen when statistic is missing required node name or function.

Need Test Suite for BNEngineMongo

Current test suite only uses BNEngineNDB, need parallel tests for Mongo branch.

Also, need mechanism for switching tests on and off when PNetica is not installed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.