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

Introduce Inferred Labels for Stacked Bar Charts #145

Merged

Commits on Aug 16, 2024

  1. 1. Introduce load_viz_notebook_inferred_data(), filter_inferred_trips…

    …() and expand_inferredlabels() for processsing, filtering and expanding inferred labels. 2. map_trip_data() to extract the mapping functionality.
    iantei committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    3ec13b7 View commit details
    Browse the repository at this point in the history
  2. Utilize map_trip_data() for common trip mapping functionality in load…

    …_viz_notebook_data() for refactor.
    iantei committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    9897c76 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2024

  1. Add load_viz_notebook_inferred_data() function for inferred metrics, …

    …and incorporate inferred label for Distribution of modes.
    iantei committed Aug 18, 2024
    Configuration menu
    Copy the full SHA
    b4d704b View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. 1. Introduce markdown for collecting data from database for Inferred …

    …Metrics 2. Update quality_text, fig, ax, text_results and introduce new plot_and_text_stacked_bar_chart() for all Stacked Bar Charts to represent inferred labels bar in generic_metrics notebook
    iantei committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    add0e50 View commit details
    Browse the repository at this point in the history
  2. 1. Add load_viz_notebook_inferred_data() to collect data from db 2. A…

    …dd query for mode_of_interest for inferred labels 3. Update fig, ax, text_results, plot_and_text_stacked_bar_chart() for all Stacked Bar Charts.
    iantei committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    5d0546b View commit details
    Browse the repository at this point in the history
  3. Uncomment plot_title() and set_title_save() for total trip length in …

    …mode_specific_metrics notebook
    iantei committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    9998bee View commit details
    Browse the repository at this point in the history
  4. 1. Add commute_labeled/inferred_match regex, stacked_bar_quality_text…

    …_ 2. Update plot_and_text_stacked_bar_chart() for Distribution of modes in commute trips
    iantei committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0437710 View commit details
    Browse the repository at this point in the history
  5. 1. Introduce regex to extract labeled_match and inferred_match 2. Use…

    … stacked_bar_quality_text and stacked_bar_quality_text_inferred with plot_and_text_stacked_bar_chart() 3. Adjust plot_title to plot_title_no_quality
    iantei committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    d098c18 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    704450a View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

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

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    62c3af0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    007f9bf View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Update expand_inferredlabels(). Iterate over the inferred_ct to see i…

    …f there is user_input or not. If there is user_input, chose it over inferred_labels.
    iantei committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    260e8ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3c33e75 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    72fcb20 View commit details
    Browse the repository at this point in the history
  2. Update bar_label for inferred bars from Inferred by OpenPATH ... to L…

    …abeled and Inferred by OpenPATH ...
    iantei committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    3d718b5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f096d5b View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. In case there is no user_input, and confidence_threshold is not met, …

    …append the labels_list with dict - uncertain for all labels. Later filter it out from the dataframe.
    iantei committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    83e259b View commit details
    Browse the repository at this point in the history
  2. Replace use of iterrow over panda dataframe with df.apply() method. R…

    …emove reset_index on expanded_inferred_ct dataframe.
    iantei committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    9905ca7 View commit details
    Browse the repository at this point in the history
  3. Update expand_inferredlabels() to expand_labeled_inferredlabels(), an…

    …d update the variable names to add prefix of labeled. We display both labeled and inferred labels altogether for inferred bars in stacked bar charts.
    iantei committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    a983a5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    11d2823 View commit details
    Browse the repository at this point in the history
  5. Fix merge with main - Introduce read_json_resource function. Introduc…

    …e *_w_other cols for the dataframe.
    iantei committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    acf5da6 View commit details
    Browse the repository at this point in the history
  6. Update load_viz_notebook_inferred_data() to be async, and call it as …

    …await from notebook. Update the map_trip_data() to be async, and call to it as await in scaffolding.py
    iantei committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    4d8c403 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a5abfb View commit details
    Browse the repository at this point in the history