This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from sklearn.datasets import make_blobs | |
| from sklearn import svm | |
| from time import perf_counter | |
| import numpy as np | |
| def handler(event, context): | |
| num_of_cycles = event.get('num_of_cycles', 10) | |
| list_train_data = [] | |
| list_test_data = [] | |
| list_train_timings = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| aws s3 cp s3://sentinel-s2-l1c/tiles/37/R/DP/2020/10/31/0/B08.jp2 B08.jp2 - request-payer requester | |
| aws s3 cp s3://sentinel-s2-l1c/tiles/37/R/DP/2020/10/31/0/B04.jp2 B04.jp2 - request-payer requester | |
| aws s3 cp s3://sentinel-s2-l1c/tiles/37/R/DP/2020/10/31/0/B03.jp2 B03.jp2 - request-payer requester |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |