Giter Site home page Giter Site logo

cpsign-service-management's People

Contributors

carmat88 avatar snapple49 avatar

Watchers

 avatar  avatar  avatar

cpsign-service-management's Issues

Modify spec-train.json by parametrizing line 10 and line 11

Related to #7, we would need to parametrize line 10 and line 11 to make the stdout.txt file more readable in terms of file naming convention.

IDEA: Using the workflow_name field under the configuration.json file. E.g.

  • touch /pfs/out/logs/{{ workflow_name }}-stdout.txt

  • java -jar ... @/pfs/{{ workflow_name }}-ingestion/input/params.txt > /pfs/out/logs/{{ workflow_name }}-stdout.txt

make release for parallel logd

We should make a release so we have a stable version now that the LogD workflow seems finished. We should then also set up tags for docker to be based on releases

  • Verify LogD works after latest build
  • Run LogD with full query and parallellisation

Add all parameters to grid search

Currently only support gamma, epsilon and cost parameters in grid search. Need to add epsilon SVR and beta parameters as well and read properly from config file

Introduce if checks for cpsign version within data_ingestion.py

Currently as a design decision we are passing some hard-coded flags during the data ingestion (file: data_ingestion.py), precisely at line 65:

param_additional_lines = ["\n", "--trainfile\n/pfs/{}-ingestion/data/{}\n".format(configuration["workflow_name"], smi_file_name)]

Given the enforced discrepancy of flags name between cpsign v0.6.16 and cpsing v0.7.7, we need a simple if structure to handle this. Also it would be a good idea to remove those flags from the jinjia template (to avoid duplicated flags) and add a comment within the code explaining why we are directly passing those flags (good for documenting the code).

  • add if checks
  • remove flags from params.j2 template
  • add comments for documenting design decision of passing certain flags within the code

Cheers!

Update CI process for hERG

CI process is outdated, need to update for new format with new workflows

  • do json, bash, python linting/checks on all workflows
  • build docker files based on update/diff

Update docker hub credentials in Travis

Soon my docker hub credentials will not be used longer for this repo CI. Thus they would need to be replaced with someone's else or maybe to create a travis account for Docker hub (only if it made sense though).

Make config files as general as possible via parametrization

For all the cpsign-based service, this would allow users to leverage the same files and call each service by its name, e.g. "Logd", "hERG" etc... which they will be defined configuration.json.

Files that would need to be revisioned:

  • manager_pod/manager-pod.yaml
  • pipeline_setup/spec-ingestion.json
  • pipeline_setup/spec-train.json
  • pipeline_setup/spec-upload.json

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.