All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chen0040.glm.data.DataFrame Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
package com.github.chen0040.glm.data;


import com.github.chen0040.glm.utils.TupleTwo;

import java.util.List;
import java.util.stream.Stream;


/**
 * Created by xschen on 28/4/2017.
 */
public interface DataFrame extends Iterable {
   int rowCount();

   DataRow row(int i);

   List getInputColumns();

   List getOutputColumns();

   void unlock();

   boolean isLocked();

   void lock();

   DataRow newRow();

   void addRow(DataRow row);

   String head(int limit);

   DataFrame shuffle();

   TupleTwo split(double ratio);

   Stream stream();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy