Cloud ML功能方法 [英] Cloud ML Feature methods
问题描述
云ML中的预处理页面如何指导( https://cloud.google.com/ml/docs/how-tos/preprocessing-data )表示,您应该查看SDK参考文档,以获取有关每种功能类型和
The pre-processing page in the cloud ML How to guide (https://cloud.google.com/ml/docs/how-tos/preprocessing-data) says that you should see the SDK reference documentation for details about each type of feature and the
有人可以指出我该文档或功能类型及其方法的列表吗?我正在尝试设置离散目标,但是每当我将目标设置为.discrete()而不是.continuous()
Can anyone point me to this documentation or a list of feature types and their methods? I'm trying to setup a discrete target but keep getting "data type int64 expected type: float" errors whenever I set my target to .discrete() rather than .continuous()
推荐答案
您需要下载SDK参考文档:
You need to download the SDK reference documentation:
-
导航到要在
中安装文档的目录 命令行.如果您使用~/google-cloud-ml
下载示例 按照安装指南中的建议,这是一个好地方.
Navigate to the directory where you want to install the docs in the
command line. If you used~/google-cloud-ml
to download the samples as recommended in the setup guide, it's a good place.
使用以下命令将文档存档复制到您选择的目录中
gsutil
:
Copy the documentation archive to your chosen directory using
gsutil
:
gsutil cp gs://cloud-ml/sdk/cloudml-docs.latest.tar.gz .
解压缩归档文件:
Unpack the archive:
tar -xf cloudml-docs.latest.tar.gz
这将在您选择的目录内创建一个docs
目录.这
文档本质上是一个本地网站:在浏览器中打开docs/index.html
,以在其根目录下打开它.您可以在其中找到转换参考.
This creates a docs
directory inside the directory that you chose. The
documentation is essentially a local website: open docs/index.html
in your browser to open it at its root. You can find the transform references in there.
(此信息现在位于设置指南中.这是 LOCAL:MAC/LINUX )
(This information is now in the setup guide as well. It's the final step under LOCAL: MAC/LINUX)
这篇关于Cloud ML功能方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!