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

Added dataset in JSON format #6

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

Commits on Jun 3, 2020

  1. Added dataset in JSON format

    Gunarto Sindoro Njoo committed Jun 3, 2020
    Configuration menu
    Copy the full SHA
    7ac5941 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2020

  1. Fixed indentation for generate_input_long_history2 and various refact…

    …oring done
    
    1. Refactor the snippet for max aggregation (i.e., line 86-90) using default dict for a simpler logic
    https://github.com/vonfeng/DeepMove/blob/0acff5d88d70d31a4fcf580648e0056e103dc6cf/codes/train.py#L86
    
    2. Refactor the snippet for avg aggregation (i.e., line 106-116) using Counter for a simpler logic
    https://github.com/vonfeng/DeepMove/blob/0acff5d88d70d31a4fcf580648e0056e103dc6cf/codes/train.py#L106
    
    3. Move the assignment of "history_count" inside the if logic to reduce redundancy
    https://github.com/vonfeng/DeepMove/blob/0acff5d88d70d31a4fcf580648e0056e103dc6cf/codes/train.py#L124
    
    4. Refactor the variable "loc_tim" in "generate_input_long_history2" since it is unnecessary
    
    5. Refactor the history, count extraction, and torch_trace
    
    6. Fixed the indentation for "generate_input_long_history2"
    
    7. Added commentary for foursquare dataset structure
    Gunarto Sindoro Njoo committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    9ce6419 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from gunarto90/py3

    Fixed indentation for generate_input_long_history2 and refactoring
    Gunarto Sindoro Njoo committed Jun 8, 2020
    Configuration menu
    Copy the full SHA
    63cffc8 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2020

  1. Modified for compatibility with Python 3

    Gunarto Sindoro Njoo committed Jun 9, 2020
    Configuration menu
    Copy the full SHA
    d79592a View commit details
    Browse the repository at this point in the history