public class RQPHelper
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RQPHelper.IntervalAndHeader |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.util.Map.Entry<org.apache.commons.math3.geometry.euclidean.oned.Interval[],T> |
getEntry(org.apache.commons.math3.geometry.euclidean.oned.Interval[] interval,
T tree) |
static RQPHelper.IntervalAndHeader |
mapWEKAToTree(weka.core.Instance data)
Maps the WEKA query to a tree-friendly query while also preserving the header
information of the query, this is important for M5 trees.
|
static org.apache.commons.math3.geometry.euclidean.oned.Interval[] |
substituteInterval(org.apache.commons.math3.geometry.euclidean.oned.Interval[] original,
org.apache.commons.math3.geometry.euclidean.oned.Interval toSubstitute,
int index) |
public static final RQPHelper.IntervalAndHeader mapWEKAToTree(weka.core.Instance data)
data - public static final org.apache.commons.math3.geometry.euclidean.oned.Interval[] substituteInterval(org.apache.commons.math3.geometry.euclidean.oned.Interval[] original,
org.apache.commons.math3.geometry.euclidean.oned.Interval toSubstitute,
int index)
public static final <T> java.util.Map.Entry<org.apache.commons.math3.geometry.euclidean.oned.Interval[],T> getEntry(org.apache.commons.math3.geometry.euclidean.oned.Interval[] interval,
T tree)