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

com.github.TKnudsen.ComplexDataObject.data.examples.DataFactory Maven / Gradle / Ivy

Go to download

A library that models real-world objects in Java, referred to as ComplexDataObjects. Other features: IO and preprocessing of ComplexDataObjects.

There is a newer version: 0.2.13
Show newest version
package com.github.TKnudsen.ComplexDataObject.data.examples;

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;

/**
 * 

* Title: DataFactory *

* *

* Description: Provides Lists of ComplexDataObject instances for some given * data sets. *

* *

* Copyright: Copyright (c) 2015-2016 *

* * @author Juergen Bernard * @version 1.02 */ public class DataFactory { public static List createTitanicDataSet() { List titanicData = null; TitanicParser p = new TitanicParser("", true); try { titanicData = p.parse("data/titanic_extended.txt"); } catch (IOException e) { e.printStackTrace(); } return titanicData; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy