The following diagrams detail the interaction of AWS, Alexa, .ppt

上传人:arrownail386 文档编号:373266 上传时间:2018-10-05 格式:PPT 页数:7 大小:88.58KB
下载 相关 举报
The following diagrams detail the interaction of AWS, Alexa, .ppt_第1页
第1页 / 共7页
The following diagrams detail the interaction of AWS, Alexa, .ppt_第2页
第2页 / 共7页
The following diagrams detail the interaction of AWS, Alexa, .ppt_第3页
第3页 / 共7页
The following diagrams detail the interaction of AWS, Alexa, .ppt_第4页
第4页 / 共7页
The following diagrams detail the interaction of AWS, Alexa, .ppt_第5页
第5页 / 共7页
亲,该文档总共7页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述

1、The following diagrams detail the interaction of AWS, Alexa, Fitbit apis, and the user #1 User needs to link Fitbit account to skill #2 User needs to have a machine learning datasource created from Fitbit data #3 User needs to have a custom machine learning model created #4 The user askes for the be

2、st time to workout. Current data is pulled from the Fitbit platform and run against the machine learning model to create a recommendation.,Lambda: Get_Best_Workout_Time_Interface_Alexa,Alexa Best Workout Recommendation Skill,Workout_Recommendations,Amazon Dynamo,F,1A,1B,SNS Topic: Start_ML_Model,Lam

3、bda: Create_ML_Model_Workout_App,Amazon Machine Learning,Create_ML_Model_Workout App2 (runs every 30 minutes),1C,S3: Data for Machine Learning,1A User Asks “Alexa, ask Workout Recommendation to find the best time to go to the gym today?1B Alexa passes the request to the “Get_Best_Workout_Time_Interf

4、ace_Alexa” lambda function The function looks for a authorization token for a linked account No token is found, so Alexa responds “You must have a Fitbit account to use this skill. Please use the Alexa app to link your Amazon account with your Fitbit Account”1C User links Fitbit Account to app,Lambd

5、a: Get_Best_Workout_Time_Interface_Alexa,Alexa Best Workout Recommendation Skill,Workout_Recommendations,Amazon Dynamo,F,2A,2B,SNS Topic: Start_ML_Model,Lambda: Create_ML_Model_Workout_App,Amazon Machine Learning,Create_ML_Model_Workout App2 (runs every 30 minutes),2A User Asks “Alexa, ask Workout R

6、ecommendation to find the best time to go to the gym today?2B 2C Alexa passes the request to the “Get_Best_Workout_Time_Interface_Alexa” lambda function The function finds an authorization token and checks the Workout_Recommendations table to see if a Machine Learning Model exists No record is found

7、, so Alexa responds “Your Fitbit historical data needs to be analyzed to provide the best workout recommendations. This process will take about an hour.”2D-2E-2F The token is passed via SNS to another lambda function. The function uses the token to pull back activity records from Fitbit The data is

8、saved to an S3 bucket2G-2H A Machine Learning Data Source is created using the data saved in S3 The DynamnoDB status table is updatedNote: If the user were to query Alexa during the process, the response would be: “Your Fitbit historical data is being analyzed to provide the best workout recommendat

9、ions. Please check back in an hour.”,2C,S3: Data for Machine Learning,2D,2E,2F,2H,2G,Lambda: Get_Best_Workout_Time_Interface_Alexa,Alexa Best Workout Recommendation Skill,Workout_Recommendations,Amazon Dynamo,F,3A,SNS Topic: Start_ML_Model,Lambda: Create_ML_Model_Workout_App,Amazon Machine Learning,

10、Create_ML_Model_Workout App2 (runs every 30 minutes),3A User Asks “Alexa, ask Workout Recommendation to find the best time to go to the gym today?3A-3B The Create_ML_Model_Workout_App2 Lambda function runs every 30 minutes and queries the status table to determine if any action is needed on Machine

11、Learning services If the Datasource created in step 2 is complete, then the Machine Learning Model is created. The status table is updated to reflect that the Machine Learning Model is being created.3C-3D The Create_ML_Model_Workout_App2 Lambda function runs every 30 minutes and queries the status t

12、able to determine if any action is needed on Machine Learning services If the Machine Learning Model created in step 3A-3B is complete, then status table is updated to reflect that the system can be used.,S3: Data for Machine Learning,3B,3C,3D,Lambda: Get_Best_Workout_Time_Interface_Alexa,Alexa Best

13、 Workout Recommendation Skill,Workout_Recommendations,Amazon Dynamo,F,3A,SNS Topic: Start_ML_Model,Lambda: Create_ML_Model_Workout_App,Amazon Machine Learning,Create_ML_Model_Workout App2 (runs every 30 minutes),3A-3B The Create_ML_Model_Workout_App2 Lambda function runs every 30 minutes and queries

14、 the status table to determine if any action is needed on Machine Learning services If the Datasource created in step 2 is complete, then the Machine Learning Model is created. The status table is updated to reflect that the Machine Learning Model is being created.3C-3D The Create_ML_Model_Workout_A

15、pp2 Lambda function runs every 30 minutes and queries the status table to determine if any action is needed on Machine Learning services If the Machine Learning Model created in step 3A-3B is complete, then status table is updated to reflect that the system can be used.,S3: Data for Machine Learning

16、,3B,3C,3D,Lambda: Get_Best_Workout_Time_Interface_Alexa,Alexa Best Workout Recommendation Skill,Workout_Recommendations,Amazon Dynamo,F,4A,SNS Topic: Start_ML_Model,Lambda: Create_ML_Model_Workout_App,Amazon Machine Learning,Create_ML_Model_Workout App2 (runs every 30 minutes),S3: Data for Machine L

17、earning,4B,4C,4E,4A User Asks “Alexa, ask Workout Recommendation to find the best time to go to the gym today?4B 4C Alexa passes the request to the “Get_Best_Workout_Time_Interface_Alexa” lambda function The function finds an authorization token and checks the Workout_Recommendations table to see if

18、 a Machine Learning Model exists A Machine Learning model exists.4E The user token is used to retrieve current data from Fitbit. This includes, for the day the current users weight, the amount of sleep the user achieved, and the number of calories burned the previous day.4F The Fitbitdata, along wit

19、h the day of the week is passed to the Machine Learning Model The model evaluates 4 options working out in the morning, mid-day, afternoon, and evening and gives a prediction on the number of “very active minutes” for each time period.4G The lambda code determines the best option and Alexa tells the

20、 user: “Based on your previous activity, the best time for you to work out is Morning” (or Mid-Day, Afternoon, or Evening),4F,4G,Alexa, ask Workout Recommendation to find the best time to go to the gym today,Is User Account Linked,You must have a Fitbit account to use this skill. Please use the Alex

21、a app to link your Amazon account with your Fitbit Account.,Is a ML Model Available?,Based on your previous activity, the best time for you to work out is Morning *,Is the Model being built?,Your Fitbit historical data is being analyzed to provide the best workout recommendations. Please check back

22、in an hour.,Your Fitbit historical data needs to be analyzed to provide the best workout recommendations. This process will take about an hour.,Alexa, ask Workout Recommendation to find the best time to go to the gym, Today or Tomorrow,* Morning, Mid-Day, Afternoon, or Evening,You did not tell me what day to check. Please ask me, what is the best time to work out today or what is the best time to work out tomorrow.,Main Flow,Alternate Flow,User Query,Lambda Logic,Alexa Response,N,Y,N,N,Y,Y,Corresponding Flow Chart,1,4,3,2,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 教学课件 > 大学教育

copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1