2018-07-05 19:59:29 +00:00
|
|
|
package ca.joeltherrien.randomforest.tree;
|
2018-06-29 19:04:59 +00:00
|
|
|
|
2018-07-05 19:59:29 +00:00
|
|
|
import ca.joeltherrien.randomforest.Row;
|
2018-07-02 05:22:12 +00:00
|
|
|
import lombok.Data;
|
|
|
|
|
2018-06-29 19:04:59 +00:00
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
2018-08-07 17:52:52 +00:00
|
|
|
* Very simple class that contains three lists; it's essentially a thruple.
|
2018-06-29 19:04:59 +00:00
|
|
|
*
|
|
|
|
* @author joel
|
|
|
|
*
|
|
|
|
*/
|
2018-07-02 05:22:12 +00:00
|
|
|
@Data
|
2018-06-29 19:04:59 +00:00
|
|
|
public class Split<Y> {
|
|
|
|
|
|
|
|
public final List<Row<Y>> leftHand;
|
|
|
|
public final List<Row<Y>> rightHand;
|
2018-08-07 17:52:52 +00:00
|
|
|
public final List<Row<Y>> naHand;
|
2018-07-02 05:22:12 +00:00
|
|
|
|
2018-06-29 19:04:59 +00:00
|
|
|
}
|