com.expleague.ml.data.set.impl.VecDataSetImpl Maven / Gradle / Ivy
package com.expleague.ml.data.set.impl;
import com.expleague.commons.math.vectors.Mx;
import com.expleague.ml.data.set.DataSet;
import com.expleague.ml.data.set.VecDataSet;
import com.expleague.ml.Vectorization;
import com.expleague.ml.meta.DSItem;
/**
* User: solar
* Date: 09.07.14
* Time: 21:10
*/
public class VecDataSetImpl extends VecDataSet.Stub {
private final Mx data;
public VecDataSetImpl(final Mx data, final VecDataSet parent) {
super(parent);
this.data = data;
}
public VecDataSetImpl(final DataSet parent, final Mx data, final Vectorization vec) {
super(parent, vec);
this.data = data;
}
@Override
public Mx data() {
return data;
}
}