我怎样才能将属性本身分类为值

时间:2016-02-01 15:29:07

标签: machine-learning artificial-intelligence supervised-learning unsupervised-learning

我有一个数据集,我需要根据属性本身而不是值对这个数据集进行分类。

用于描述情况的

图片

enter image description here

1 个答案:

答案 0 :(得分:0)

你可以创建一个元类,它使用类的属性作为其值,并对其进行分类。

例如,使用您的两个类:

     MetaClass
Name    | Attributes
-------------------------------------
class 1 | temperature, humidite, vent
class 2 | nom, prenom, age

或另一种方式:

     MetaClass
Name    | Temperature | Humidite | Vent  |  Nom  | Prenom | Age
------------------------------------------------------------------
class 1 | True        | True     | True  | False | False  | False
class 2 | False       | False    | False | True  | True   | True

制作这个元课程的细节取决于你的课程实施。