功能和标签之间有什么区别? [英] What is the difference between a feature and a label?

查看:88
本文介绍了功能和标签之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在关注机器学习基础知识的教程某些东西可以是功能标签.

I'm following a tutorial about machine learning basics and there is mentioned that something can be a feature or a label.

据我所知,功能是正在使用的数据的属性.我不知道标签是什么,我知道这个词的意思,但是我想知道它在机器学习中的含义.

From what I know, a feature is a property of data that is being used. I can't figure out what the label is, I know the meaning of the word, but I want to know what it means in the context of machine learning.

推荐答案

简而言之,功能已输入;标签输出.这适用于分类和回归问题.

Briefly, feature is input; label is output. This applies to both classification and regression problems.

功能是输入集中数据的一列.例如,如果您要预测某人会选择的宠物的类型,则您的输入功能可能包括年龄,居住地区,家庭收入等.标签是最终的选择,例如狗,鱼,鬣蜥,石头,等

A feature is one column of the data in your input set. For instance, if you're trying to predict the type of pet someone will choose, your input features might include age, home region, family income, etc. The label is the final choice, such as dog, fish, iguana, rock, etc.

训练完模型后,将为其提供包含这些功能的一组新输入;它将返回该人的预测标签"(宠物类型).

Once you've trained your model, you will give it sets of new input containing those features; it will return the predicted "label" (pet type) for that person.

这篇关于功能和标签之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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