亚马逊 机器学习 服务 的实例 基本操作 步骤
来源:互联网 发布:笔记软件的作用 编辑:程序博客网 时间:2024/04/29 23:11
- 亚马逊 机器学习 服务 的实例 基本操作 步骤
- Amazon Machine Learning
https://aws.amazon.com/machine-learning/
- Steps
- Step 1: Prepare Your Data
- Step 2: Create a Training Datasource
- Step 3: Create an ML Model
- Step 4: Review the ML Model's Predictive Performance
- Step 5: Use the ML Model to Generate Predictions
- Step 6: Clean Up
准备数据(清洗,转换...)→选模型→检查结果→预测新数据→清理
1. 控制台 北弗吉尼亚
https://console.aws.amazon.com/machinelearning/home?region=us-east-1#/
2. 数据集
亚马逊示例数据 https://s3.amazonaws.com/aml-sample-data/banking.csv
验证后
Remark:
a)可以是文件,也可以是目录
b)原始数据
age,job,marital,education,default,housing,loan,contact,month,day_of_week,duration,campaign,pdays,previous,poutcome,emp_var_rate,cons_price_idx,cons_conf_idx,euribor3m,nr_employed,y
44,blue-collar,married,basic.4y,unknown,yes,no,cellular,aug,thu,210,1,999,0,nonexistent,1.4,93.444,-36.1,4.963,5228.1,0
53,technician,married,unknown,no,no,no,cellular,nov,fri,138,1,999,0,nonexistent,-0.1,93.2,-42,4.021,5195.8,0
28,management,single,university.degree,no,yes,no,cellular,jun,thu,339,3,6,2,success,-1.7,94.055,-39.8,0.729,4991.6,1
39,services,married,high.school,no,no,no,cellular,apr,fri,185,2,999,0,nonexistent,-1.8,93.075,-47.1,1.405,5099.1,0
3. 确认Schema
显示了前3行数据
Remark:
a)第一行,是每个字段的名字
b)数据类型, 只有4种
Binary
Categorical
Numeric
Text
c)数值型Numeric是指可以比较大小的类型,如体重,收入;但员工号,月份序号,邮编不是数值型,是枚举型Categorical
Schema文件内容
4. 选定目标列
5. 是否包含RowID列
RowID列不会用于模型计算, 可以增加可读性
6. 数据集概览
7. 创建模型
目前支持的模型,只有3个:http://docs.aws.amazon.com/zh_cn/machine-learning/latest/dg/types-of-ml-models.html
- Binary Classification Model
- Multiclass Classification Model
- Regression Model
评价模型http://docs.aws.amazon.com/zh_cn/machine-learning/latest/dg/evaluating_models.html
从训练数据中选取部分,顺序选,随机选等,预防过拟合Overfitting
给ML模型和评价模型 取名字
8. 再次概览
9. 生成模型
具体:
a)
b)
c)
11. 评价
12. 调整, 点击(Adjust score threshold)
13. 预测
模型可用后, 会在左侧多多来一个菜单
14. 结果
还可以创建 endpoint
附录:
人工智能服务组
- Artificial Intelligence
- Lex
- Polly
- Rekognition
- Machine Learning
- 机器学习资源列表
示例代码 https://github.com/awslabs/machine-learning-samples
文档 https://aws.amazon.com/documentation/machine-learning/
- 亚马逊 机器学习 服务 的实例 基本操作 步骤
- 亚马逊 机器学习 服务 的实例 基本操作 -- 自定义ML模型
- 学习亚马逊的云服务
- 亚马逊学习三:各项服务的解读
- tensorflow实现机器学习模型的基本步骤
- 《机器学习实战》学习笔记---开发机器学习应用程序的基本步骤
- 【ECS】云服务的基本操作:实例管理
- 亚马逊放大招:AWS推出一系列机器学习服务,同时发布深度学习相机
- 机器学习解决问题的步骤
- Python机器学习的步骤
- 机器学习的应用步骤
- 机器学习的八个步骤
- 机器学习解决问题的步骤
- 亚马逊云服务基础学习
- Python机器学习:numpy的应用之基本操作命令
- 流操作的基本步骤
- 数据库操作的基本步骤
- Xshell 的基本操作步骤
- java延迟队列
- 表格td超出部分隐藏,显示...
- 为啥我写的APP代码没有报错一运行就失败呢?LOG如下!求大神
- Non-Obvious Debugging Techniques
- linux常用的快捷键
- 亚马逊 机器学习 服务 的实例 基本操作 步骤
- 使用CORS实现跨域的方式
- spring 整合redis的简单操作
- OpenStack 创建VM流程简单介绍__Newton版本
- Install plugin from disk插件自动化快速实现Parcelable接口序列化
- win7系统一键垃圾文件清理雨沐枫修正版.bat批处理一键清理
- Popupwindow的定制
- ubuntu设置静态IP地址
- init进程_处理子进程终止2