Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 os | |
import io | |
import boto3 | |
import json | |
import csv | |
# grab environment variables | |
ENDPOINT_NAME = os.environ['ENDPOINT_NAME'] | |
runtime= boto3.client('runtime.sagemaker') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 azureml.core.webservice import Webservice | |
from azureml.core.webservice import AciWebservice | |
from azureml.exceptions import WebserviceException | |
service_name = 'babies' | |
# Remove any existing service under the same name. | |
try: | |
Webservice(ws, service_name).delete() | |
except WebserviceException: |
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 pandas as pd | |
import matplotlib.pyplot as plt | |
import matplotlib.colors as colors | |
table.plot(kind='barh',figsize=(15,11),align='center') # table dataframe has been generated in another file | |
plt.ylabel('Count of Most common Venue in each cluster') | |
plt.xlabel('Total no of each venue') | |
plt.title('Exploring Venues') | |
plt.gca().legend(('Bookstore', 'Breakfast Spot', 'Shopping Complex', 'Comfort Food Restaurant', 'Cricket Ground')) | |
plt.show() |
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 requests | |
import json | |
from pandas.io.json import json_normalize | |
import pandas as pd | |
import numpy as np | |
from geopy.geocoders import Nominatim | |
import matplotlib.cm as cm | |
import matplotlib.colors as colors | |
import folium |
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 bs4 import BeautifulSoup | |
import requests | |
import pandas as pd | |
r = requests.get('https://www.yovizag.com/visakhapatnam-vizag-pin-code/') | |
soup = BeautifulSoup(r.text,'html.parser') | |
Main = soup.find('table') | |
table = Main.find_all('td') | |
Location = [] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder