com.github.TKnudsen.ComplexDataObject.test.TitanicDataSetParserTester Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of complex-data-object Show documentation
Show all versions of complex-data-object Show documentation
A library that models real-world objects in Java, referred to as ComplexDataObjects. Other features: IO and preprocessing of ComplexDataObjects.
package com.github.TKnudsen.ComplexDataObject.test;
import java.io.IOException;
import java.util.List;
import com.github.TKnudsen.ComplexDataObject.data.complexDataObject.ComplexDataObject;
import com.github.TKnudsen.ComplexDataObject.model.io.parsers.examples.TitanicParser;
public class TitanicDataSetParserTester {
public static void main(String[] args) {
List titanicData = null;
TitanicParser p = new TitanicParser("", true);
try {
titanicData = p.parse("data/titanic_extended.txt");
} catch (IOException e) {
e.printStackTrace();
}
System.out.println(titanicData);
}
}