程序包 weka.core.pmml
类 MappingInfo
java.lang.Object
weka.core.pmml.MappingInfo
- 所有已实现的接口:
Serializable
Class that maintains the mapping between incoming data set structure
and that of the mining schema.
- 版本:
- $Revision: 6464 $
- 作者:
- Mark Hall (mhall{[at]}pentaho{[dot]}com
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final int
Index for incoming nominal values that are not defined in the mining schema. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Get a textual description of them mapping between mining schema fields and incoming data fields.double[]
instanceToSchema
(Instance inst, MiningSchema miningSchema) Convert anInstance
to an array of values that matches the format of the mining schema.
-
字段详细资料
-
UNKNOWN_NOMINAL_VALUE
public static final int UNKNOWN_NOMINAL_VALUEIndex for incoming nominal values that are not defined in the mining schema.- 另请参阅:
-
-
构造器详细资料
-
MappingInfo
- 抛出:
Exception
-
-
方法详细资料
-
instanceToSchema
Convert anInstance
to an array of values that matches the format of the mining schema. First maps raw attribute values and then applies rules for missing values, outliers etc.- 参数:
inst
- theInstance
to convertminingSchema
- the mining schema incoming instance attributes- 返回:
- an array of doubles that are values from the incoming Instances, correspond to the format of the mining schema and have had missing values, outliers etc. dealt with.
- 抛出:
Exception
- if something goes wrong
-
getFieldsMappingString
Get a textual description of them mapping between mining schema fields and incoming data fields.- 返回:
- a description of the fields mapping as a String
-