Class RegressionFeatureImportance

java.lang.Object
org.elasticsearch.xpack.core.ml.inference.results.RegressionFeatureImportance
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class RegressionFeatureImportance extends Object
  • Constructor Details

    • RegressionFeatureImportance

      public RegressionFeatureImportance(String featureName, double importance)
    • RegressionFeatureImportance

      public RegressionFeatureImportance(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • fromXContent

      public static RegressionFeatureImportance fromXContent(org.elasticsearch.xcontent.XContentParser parser)
    • getImportance

      public double getImportance()
    • getFeatureName

      public String getFeatureName()
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Throws:
      IOException
    • toMap

      public Map<String,Object> toMap()
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toXContent

      public final org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Specified by:
      toXContent in interface org.elasticsearch.xcontent.ToXContent
      Throws:
      IOException