/// <summary> /// Check whether an attribute is the predict attribute /// </summary> /// <param name="attribute">the attribute</param> /// <returns>Predict?</returns> protected bool isTarget(uint attribute) { return((AttributeFlags.Output & AttributeSet.GetAttributeFlags(attribute)) == AttributeFlags.Output); }
/// <summary> /// Check whether an attribute is discrete /// </summary> /// <param name="attribute">the attribute</param> /// <returns>Discrete?</returns> protected bool isNominal(uint attribute) { return((AttributeFlags.Discrete & AttributeSet.GetAttributeFlags(attribute)) == AttributeFlags.Discrete); }