字符串变量 [英] String Variables

查看:77
本文介绍了字符串变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否必须将字符串变量转换为线性回归和两类逻辑回归和决策树的分类变量?对于某些示例,我认为它已经完成,而其他示例则没有.

Do string variables have to be cast as categorical variables for linear regression and two-class logistic regression and decision trees? For some of the examples I looked at this was done and others it wasn't.

谢谢

约翰

推荐答案

请参阅技术说明:https://docs.microsoft.com/zh-cn/azure/machine-learning/studio-module-reference/two-class-boosted-decision-tree#technical-notes

Please see the tech note: https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/two-class-boosted-decision-tree#technical-notes

有关线性和决策树的更多详细信息,请参阅文档:

For more details about Linear and Decision tree, please refer to the document:

https://docs.microsoft.com/zh-CN/azure/machine-learning/studio-module-reference/linear-regression#technical-notes

https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/linear-regression#technical-notes

https://docs.microsoft.com/zh-cn/azure/machine-learning/studio-module-reference/two-class-boosted-decision-tree

https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/two-class-boosted-decision-tree

我个人建议您使用规范化功能将所有数据准备为正确的类型.

I personally suggest you to prepare all the data into the proper type using normalize function.

此致

雨桐


这篇关于字符串变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆