class NexosisApi::ImpactMetric
Class to parse the metric results of an impact analysis
Attributes
absoluteEffect[RW]
Total absolute effect of the event on the dataset. @return [Float]
pValue[RW]
Statistical value used to determine the significance of the impact. @return [Float]
relativeEffect[RW]
Percentage impact of the event on the dataset. @return [Float]
Public Class Methods
new(metric_hash)
click to toggle source
# File lib/nexosis_api/impact_metric.rb, line 4 def initialize(metric_hash) metric_hash.each do |k, v| instance_variable_set("@#{k}", v) unless v.nil? end end