Created
June 7, 2020 06:38
-
-
Save findtharun/34eefbef99ac75b772ece5ef3dd5da29 to your computer and use it in GitHub Desktop.
This file contains 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
bucket = 'testawslearn' | |
prefix = 'git' | |
# Define IAM role | |
import boto3 | |
import re | |
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import os | |
import sagemaker | |
from sagemaker import get_execution_role | |
from sagemaker.predictor import csv_serializer | |
role = get_execution_role() | |
#reading the dataset | |
dataset=pd.read_csv('s3://testawslearn/iris.csv') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment