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

Survey Assist Using RF #938

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

Commits on Aug 12, 2022

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

Commits on Dec 16, 2022

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

Commits on Feb 15, 2023

  1. Add additional logging to the calculation so that we can monitor the …

    …result generation more carefully
    shankari committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    9bd9b18 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. making cluster_performance.ipynb, generate_figs_for_poster and `S…

    …VM_decision_boundaries` compatible with changes in `clustering.py` and `mapping.py` files. Also porting these 3 notebooks to trip_model
    
    `cluster_performance.ipynb`, `generate_figs_for_poster` and  `SVM_decision_boundaries`  now have no dependence on the custom branch. Results of plots  are attached to show no difference in theie previous and current outputs.
    humbleOldSage committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    1b9ece0 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2023

  1. Unified Interface for fit function

    Unified Interface for fit function across all models. Passing 'Entry' Type data from the notebooks till the Binning functions.  Default set to 'none'.
    humbleOldSage committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    e7d2a14 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Fixing models.py to support `regenerate_classification_performance_…

    …results.py`
    
    Prior to this update, `NaiveBinningClassifier` in 'models.py' had dependencies on both of tour model and trip model. Now, this classifier is completely dependent on trip model. All the other notebooks (except `classification_performance.ipynb`) were tested as well and they are working as usual.
    
     Other minor fixes to support previous changes.
    humbleOldSage committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    59633e0 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2023

  1. [PARTIALLY TESTED] Single database read and Code Cleanuo

    1. removed mentions of `tour_model` or `tour_model_first_only` .
    
    2. removed two reads from database.
    
    3. Removed notebook outputs  ( this could be the reason a few diffs are too big to view)
    humbleOldSage committed Sep 14, 2023
    Configuration menu
    Copy the full SHA
    0adb5fe View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. [PARTIALLY TESTED] Survey Assist Using RF

    RF initialisation and fit function. Build test written and tested.  fit of Random forest uses df .
    humbleOldSage committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    e9abd51 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. [NOT TESTED]Predict implemented

    Predict is now included. Just need to figure out model storage and model testing.
    humbleOldSage committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    3820d87 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. [NOT TESTED] Model storage and Model Testing included

    Model loading and storing is now improved since it just stores the required predictors and encoders.
    
    Regression  test and null value test included in tests.
    humbleOldSage committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    5b2572e View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. [TESTED]Forest Model Integration

    1. switching a model is as simple as changing model_type in config file
    
    2. ForestModel is now working. Main model is in model.py file which is copied from label_assist
    
    3. TestRunForestModel.py is working.
    
    3. Regression test in TestForestmodel.py are still under construction.
    humbleOldSage committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    bf7f406 View commit details
    Browse the repository at this point in the history
  2. Minor fixes

    Removed redundancies and unnecessary code segments.
    humbleOldSage committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    1d7be5a View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Delete Config file

    Config copy not required.
    humbleOldSage committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    b3d0db2 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'e-mission-eval-private-data/move-models…

    …' into SurveyAssistgetModel
    humbleOldSage committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    c514fe0 View commit details
    Browse the repository at this point in the history
  3. removedfile

    humbleOldSage committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    3b038a9 View commit details
    Browse the repository at this point in the history
  4. Update model.py

    humbleOldSage committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    94fc848 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2023

  1. Merge branch 'master' into SurveyAssistUsingRandomForest

    Updating branch with changes from master. Moved mdoels from eval repo to server repo.
    humbleOldSage committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    87f109c View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. [Tested, Will fail]Integrating RF model on server and more Unit test

    This will fail due to testForest.py file.
    Changes here include :
    
    1. Integrated the shifting of randomForest model from eval to server.
    
    2. unit tests for Model save and load
    
    3. RegressionTest for RF model in testRandomForest.py.
    humbleOldSage committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    33cdaab View commit details
    Browse the repository at this point in the history
  2. minor fix

    humbleOldSage committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    01fcb2a View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2023

  1. Delete model.py

    This is replaced by models.py (movied with history)
    humbleOldSage committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    f5fec64 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. Update TestForestModel.py

    Improving the test file by changing the way previpous predictions are stored.
    humbleOldSage committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    585cc90 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2023

  1. Minor Fixes

    Fixing circular import
    humbleOldSage committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    61bbe3f View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

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

Commits on Jan 10, 2024

  1. Improving test

    humbleOldSage committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    052cb08 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Integration Testing for forest model

    The changes in this iteration are improvements in test for forest model :
    
    1. Post discussion last week, the regression test was removed ( `TestForestModel.py` )since it won't be useful when model performance improves. Rather, the structures of predictions is checked. This check is merged with TestForestModel.py
    
    2. After e-mission#944 , `predict_labels_with_n` in `run_model.py` expectes a lists and then iterates over it. The forest model and rest of the tests were updated accordingly.
    humbleOldSage committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    104dd9a View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. [Tested] Improvements for model integration

    1. Improved tests in `TestForestModelLoadandSave.py`
    
    2. Better comments, imports nd cleanup
    humbleOldSage committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    1b523ed View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2024

  1. Forest Model related data additions

    While testing model integration, 2 forest model features specific features are added in the `TestForestModelIntegration.py` file rather than in `entry.py` file.
    humbleOldSage committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    35a1346 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2024

  1. Update TestForestModelIntegration.py

    2 more ( total 4) Forest model specific features are now added after generating random trips for testing purpose.
    humbleOldSage committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    19bb394 View commit details
    Browse the repository at this point in the history
  2. [TESTED] Updated ForestModelLoadAndSave.py

    Forst model specific values added in test setup for random Trips
    humbleOldSage committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    450094c View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Fixing TestForestModelLoadandSave.py

    test in testRandomForestTypePreservation as using `allceodata` specific user id. The tests on github use different db. Fixed by generating random samples.
    humbleOldSage committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    ad968de View commit details
    Browse the repository at this point in the history