org.jdmp.core.dataset
Class DefaultDataSetFactory
- java.lang.Object
-
- org.jdmp.core.dataset.AbstractDataSetFactory
-
- org.jdmp.core.dataset.DefaultDataSetFactory
-
- All Implemented Interfaces:
- DataSetFactory
public class DefaultDataSetFactory extends AbstractDataSetFactory
-
-
Constructor Summary
Constructors Constructor and Description DefaultDataSetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description AbstractListDataSetANIMALS()ListDataSetCountActive(int number)ListDataSetemptyDataSet()ListDataSetHenonMap(int sampleCount, int inputLength, int predictionLength)ListDataSetimportFromClipboard()ListDataSetimportFromFile(FileFormat format, java.io.File file, java.lang.Object... parameters)ListDataSetimportFromJDBC(DBType type, java.lang.String host, int port, java.lang.String database, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)ListDataSetimportFromJDBC(java.lang.String url, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)ListDataSetimportFromURL(FileFormat fileFormat, java.net.URL url, java.lang.Object... parameters)ListDataSetIRIS()AbstractListDataSetlabeledDataSet(java.lang.String label)ListDataSetLinear1()ListDataSetLinear2()ListDataSetLinear3()ListDataSetlinkToFile(FileFormat format, java.io.File file, java.lang.Object... parameters)ListDataSetlinkToInput(Matrix input)ListDataSetlinkToInputAndLabels(Matrix input, Matrix labels)ListDataSetlinkToInputAndTarget(Matrix input, Matrix target)ListDataSetlinkToInputTargetAndLabel(Matrix input, Matrix target, Matrix labels)ListDataSetlinkToJDBC(DBType type, java.lang.String host, int port, java.lang.String database, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)ListDataSetlinkToJDBC(java.lang.String url, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)ListDataSetLogisticMap(int sampleCount, int inputLength, int predictionLength)ListDataSetMNISTTest()ListDataSetMNISTTrain()ListDataSetONE()ListDataSetOR()ListDataSetXOR()
-
-
-
Method Detail
-
emptyDataSet
public ListDataSet emptyDataSet()
-
importFromFile
public ListDataSet importFromFile(FileFormat format, java.io.File file, java.lang.Object... parameters) throws java.io.IOException
- Throws:
java.io.IOException
-
linkToFile
public ListDataSet linkToFile(FileFormat format, java.io.File file, java.lang.Object... parameters) throws java.io.IOException
- Throws:
java.io.IOException
-
linkToInput
public ListDataSet linkToInput(Matrix input)
-
linkToInputAndLabels
public ListDataSet linkToInputAndLabels(Matrix input, Matrix labels)
-
linkToInputAndTarget
public ListDataSet linkToInputAndTarget(Matrix input, Matrix target)
-
linkToInputTargetAndLabel
public ListDataSet linkToInputTargetAndLabel(Matrix input, Matrix target, Matrix labels)
-
HenonMap
public ListDataSet HenonMap(int sampleCount, int inputLength, int predictionLength)
-
LogisticMap
public ListDataSet LogisticMap(int sampleCount, int inputLength, int predictionLength)
-
ANIMALS
public AbstractListDataSet ANIMALS()
-
labeledDataSet
public final AbstractListDataSet labeledDataSet(java.lang.String label)
-
CountActive
public ListDataSet CountActive(int number)
-
Linear1
public ListDataSet Linear1()
-
Linear3
public ListDataSet Linear3()
-
Linear2
public ListDataSet Linear2()
-
OR
public ListDataSet OR()
-
XOR
public ListDataSet XOR()
-
ONE
public ListDataSet ONE()
-
IRIS
public ListDataSet IRIS()
-
MNISTTrain
public ListDataSet MNISTTrain() throws java.io.IOException
- Throws:
java.io.IOException
-
MNISTTest
public ListDataSet MNISTTest() throws java.io.IOException
- Throws:
java.io.IOException
-
importFromURL
public ListDataSet importFromURL(FileFormat fileFormat, java.net.URL url, java.lang.Object... parameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importFromClipboard
public ListDataSet importFromClipboard() throws java.io.IOException
- Throws:
java.io.IOException
-
importFromJDBC
public ListDataSet importFromJDBC(DBType type, java.lang.String host, int port, java.lang.String database, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)
-
importFromJDBC
public ListDataSet importFromJDBC(java.lang.String url, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)
-
linkToJDBC
public ListDataSet linkToJDBC(DBType type, java.lang.String host, int port, java.lang.String database, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)
-
linkToJDBC
public ListDataSet linkToJDBC(java.lang.String url, java.lang.String sqlStatement, java.lang.String username, java.lang.String password)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG