@Test
public void testCreateTrainingSetOnRealWorldMetadataDoesNotFail() throws SQLException {

    File file = new File(Thread.currentThread().getContextClassLoader().getResource("biosql.db").getFile());
    SQLiteInterface sqliteInterface = SQLiteInterface.createForFile(file);
    MetadataStore store = RDBMSMetadataStore.load(sqliteInterface);
    VectorModel vectorModel = ForeignKeys.trainLogisticRegressionModel(
            store,
            store.getConstraintCollection("sql-foreign-keys"),
            store.getConstraintCollection("metanome-inds"),
            store.getConstraintCollection("metanome-column-stats"),
            store.getConstraintCollection("metanome-text-stats"),
            store.getConstraintCollection("table-samples-100"),
            store.getConstraintCollection("sql-primary-keys")
    );
    System.out.println(vectorModel);
}