Giter Site home page Giter Site logo

aws-samples / amazon-sagemaker-amazon-routing-challenge-sol Goto Github PK

View Code? Open in Web Editor NEW
51.0 8.0 11.0 2.05 MB

AWS Last Mile Route Sequence Optimization

License: Apache License 2.0

Python 95.71% Shell 4.29%
last-mile-delivery markov-decision-processes markov-model ppm reinforcement-learning sequence-models sagemaker-processing dynamic-programming

amazon-sagemaker-amazon-routing-challenge-sol's People

Contributors

amazon-auto avatar chenwuperth avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amazon-sagemaker-amazon-routing-challenge-sol's Issues

Missing/incorrect files for preprocessing

Hi,

Thanks for this great repository.

I downloaded the AWS Last-Mile Challenge dataset (step 2; via aws s3 sync --no-sign-request s3://amazon-last-mile-challenges/almrrc2021/ ./data/), and am now trying to preprocess the data (step 3). However, it seems that some file names are missing/inconsistent when I tried to run the script below:

train_data_dir=almrrc2021-data-training
eval_data_dir=almrrc2021-data-evaluation

# generate package information in Parquet (training)
python preprocessing.py --act gen_route --data_dir  data/${train_data_dir}
# generate travel time matrix for all stops in a route (training)
python preprocessing.py --act gen_dist_mat --data_dir  data/${train_data_dir}
# generate zone information for each stop (training)
python preprocessing.py --act gen_zone_list --data_dir  data/${train_data_dir}
# generate ground-truth zone sequence for each route
python preprocessing.py --act gen_actual_zone --data_dir  data/${train_data_dir}
# generate package information in Parquet (evaluation)
python preprocessing.py --act gen_route --data_dir  data/${eval_data_dir}
# generate travel time matrix for all stops in a route (evaluation)
python preprocessing.py --act gen_dist_mat --data_dir  data/${eval_data_dir}
# generate zone information for each stop (evaluation)
python preprocessing.py --act gen_zone_list --data_dir  data/${eval_data_dir}

I noticed that the JSON files under almrrc2021-data-training folder are slightly different from those under almrrc2021-data-evaluation, e.g., almrrc2021-data-training/model_score_inputs/new_actual_sequences.json vs. almrrc2021-data-evaluation/model_score_inputs/eval_actual_sequences.json.

Would it be appropriate to rename the former to eval_actual_sequences.json in this case? Or is it better to handle this in preprocessing.py, e.g., the LMC_ACTUAL_FN variable?

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.