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
import mlflow.sagemaker as mfs | |
# Define mlflow parameter | |
experimentid = 1 | |
runid = "xxxxxxx" | |
# AWS setup | |
awsid = "xxxxxx"# id of the AWS user that will deploy the system | |
region "xxxxx" # AWS region to deploy the API | |
arn = f"arn:aws:iam::{awsid}:role/xxxxx" # Arn of the role that will be used to do the deployment on sagemaker |
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
# Load the dependencies | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary | |
from bs4 import BeautifulSoup as bs | |
from time import sleep | |
import requests | |
# Url to scrap | |
url_toscrap = "https://turo.com/ca/en-us/car-rental/montreal-qc/ford/mustang/702436?searchId=OD83L624" |
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
# Load the dependencies | |
from selenium import webdriver | |
from selenium.webdriver.common.keys import Keys | |
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary | |
from bs4 import BeautifulSoup as bs | |
from time import sleep | |
# Define the main url (where to log the location) | |
url_main_page = "https://turo.com/en-us?locale=en_US" |
NewerOlder