Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement prediction service #276

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Commits on Feb 9, 2023

  1. feat: Add initial prediction service data pipeline to learner - imple…

    …ment prediction computation for mnist (#273)
    
    * feat: Add prediction service data pipeline to learner
    
    * fix: borken tests
    
    * chores: add prediction integration test using GRPCServer and ExampleGRPCLearnerClient
    
    * fix: failing tests: use legacy.Adam - disable keras_mnist_diffpriv example
    
    * chores: disable py3.8 tests - py3.7 should be enough for now
    
    * fix: minor
    
    * fix: remove ml frameworks depdencies from ml_interface
    
    * feat: add mnist keras predicton service (#274)
    
    * Added draft of mnist keras prediction mli.
    
    * refactoring to more generic model input size.
    
    * Added mnist image for testing prediction service.
    
    * Added resize possible and more test images.
    
    ---------
    
    Co-authored-by: Hanna Wagner <[email protected]>
    
    ---------
    
    Co-authored-by: Hanna Wagner <[email protected]>
    lrahmani and hanwag authored Feb 9, 2023
    Configuration menu
    Copy the full SHA
    b73b28b View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Adding draft of generic prediction service. (#278)

    * Adding draft of generic prediction service.
    
    * Added consistend naming and pred to grpc server.
    
    * Fixed annotation error.
    
    * Tmp fix for making the test work.
    
    * Start with default pdl from tuple to dict.
    
    * Finished basic generic prediction service.
    
    * Update colearn_grpc/example_mli_factory.py
    
    * Update colearn_grpc/example_mli_factory.py
    
    ---------
    
    Co-authored-by: Lokman Rahmani <[email protected]>
    hanwag and lrahmani authored Apr 3, 2023
    Configuration menu
    Copy the full SHA
    b90bae7 View commit details
    Browse the repository at this point in the history
  2. Bug-Fix: linting.

    hanwag committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    9534624 View commit details
    Browse the repository at this point in the history
  3. Bug-Fix: linting.

    hanwag committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    b65df16 View commit details
    Browse the repository at this point in the history
  4. Bug-Fix: failing pytests.

    hanwag committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    d794d4e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f89a3a8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e0fab4a View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2023

  1. Configuration menu
    Copy the full SHA
    3765c5c View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2023

  1. tmp passing failing test.

    hanwag committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    c617ee2 View commit details
    Browse the repository at this point in the history
  2. Bug-Fix: Prediction optional.

    hanwag committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    7ec9711 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    021752a View commit details
    Browse the repository at this point in the history
  4. Bug-Fix: path update.

    hanwag committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    9eb9710 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4e3a371 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b3004e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    377c21e View commit details
    Browse the repository at this point in the history
  8. Bug-Fix: style checks.

    hanwag committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    0e9fe4c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    299c303 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2023

  1. Configuration menu
    Copy the full SHA
    8ea23ac View commit details
    Browse the repository at this point in the history
  2. Bug-Fix: pred data loader.

    hanwag committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    27dba67 View commit details
    Browse the repository at this point in the history
  3. Added debug messages.

    hanwag committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    3ae322e View commit details
    Browse the repository at this point in the history
  4. Bug-Fix: failing scania test.

    hanwag committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    bd94ba9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fb01378 View commit details
    Browse the repository at this point in the history
  6. Bug-Fix: keras fraud test.

    hanwag committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    a8ec8e4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6587465 View commit details
    Browse the repository at this point in the history
  8. Bug-Fix: added type hints.

    hanwag committed Apr 6, 2023
    Configuration menu
    Copy the full SHA
    07143c5 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Implement Prediction dataloader for Scania learner (#280)

    * First draft of scania prediction implementation.
    
    * Added second pred data loader.
    hanwag authored Apr 18, 2023
    Configuration menu
    Copy the full SHA
    ce38a66 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Multiple metrics (#283)

    * Init multiple metrics.
    
    * Adapt input shape to match new metrics for scania.
    
    * Updated keras learner and fixed some tets.
    
    * Added multiple metrics for mnist.
    
    * Adapted interface proto.
    
    * Updated ProposedWeights in examples.
    
    * Changed other learner classes to multiple metrics.
    
    * test push.
    
    * chores: enable github actions for prediction feature branch
    
    * Ignore tf module pylint errors.
    
    * depend fix.
    
    * increase test timeout.
    
    * fixing pytorch errors.
    
    * fixed flake 8 and key error.
    
    * fix vote criterion for pytorch learners.
    
    * uncomment short pystest.
    
    * Fix criterion in pytorch tests.
    
    ---------
    
    Co-authored-by: lrahmani <[email protected]>
    hanwag and lrahmani authored May 23, 2023
    Configuration menu
    Copy the full SHA
    0179864 View commit details
    Browse the repository at this point in the history