Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException with GridSearch #4

Open
GabrielePisciotta opened this issue Sep 13, 2018 · 2 comments
Open

NullPointerException with GridSearch #4

GabrielePisciotta opened this issue Sep 13, 2018 · 2 comments

Comments

@GabrielePisciotta
Copy link
Contributor

It raises this exception:

java.lang.NullPointerException
	at org.scify.jedai.blockbuilding.SortedNeighborhoodBlocking.getNumberOfGridConfigurations(SortedNeighborhoodBlocking.java:111)
	at org.scify.jedai.gui.utilities.WorkflowManager.runStepByStepWorkflow(WorkflowManager.java:658)
	at org.scify.jedai.gui.utilities.WorkflowManager.executeWorkflow(WorkflowManager.java:308)
	at org.scify.jedai.gui.controllers.steps.CompletedController.lambda$runAlgorithmBtnHandler$6(CompletedController.java:302)
	at java.lang.Thread.run(Thread.java:748)

Using AbtBuy Clean-Clean serialized dataset and the following configuration:

  • No schema clustering
  • Extended sorted neighborhood (automatic)
  • No block cleaning
  • Comparison propagation (automatic)
  • Profile matcher (automatic)
  • Unique map clustering (automatic)
@GabrielePisciotta
Copy link
Contributor Author

I can bypass this bug selecting a block cleaning method.

@leots
Copy link
Contributor

leots commented Oct 12, 2018

Hi,
I tried to reproduce this but can't, it takes a while but the workflow completes successfully. Maybe it was fixed accidentally by some other change (or some update of the library)? Could you try again?

To test this I put the following code at the end of the WizardController.initialize() method:

model.setErType(JedaiOptions.CLEAN_CLEAN_ER);
model.setEntityProfilesD1Type(JedaiOptions.SERIALIZED);
model.setEntityProfilesD2Type(JedaiOptions.SERIALIZED);
model.setGroundTruthType(JedaiOptions.SERIALIZED);
model.setEntityProfilesD1Parameters(FXCollections.observableArrayList(
        new JPair<>("File Path", "YOUR_PATH_TO_JEDAI/JedAIToolkit/jedai-core/data/cleanCleanErDatasets/abtProfiles")
));
model.setEntityProfilesD2Parameters(FXCollections.observableArrayList(
        new JPair<>("File Path", "YOUR_PATH_TO_JEDAI/JedAIToolkit/jedai-core/data/cleanCleanErDatasets/buyProfiles")
));
model.setGroundTruthParameters(FXCollections.observableArrayList(
        new JPair<>("File Path", "YOUR_PATH_TO_JEDAI/JedAIToolkit/jedai-core/data/cleanCleanErDatasets/abtBuyIdDuplicates")
));
model.getBlockBuildingMethods().get(0).setEnabled(false);
model.getBlockBuildingMethods().get(2).setEnabled(true);
model.getBlockBuildingMethods().get(2).setConfigurationType(JedaiOptions.AUTOMATIC_CONFIG);
model.setComparisonCleaning(JedaiOptions.COMPARISON_PROPAGATION);
model.setComparisonCleaningConfigType(JedaiOptions.AUTOMATIC_CONFIG);
model.setEntityMatching(JedaiOptions.PROFILE_MATCHER);
model.setEntityMatchingConfigType(JedaiOptions.AUTOMATIC_CONFIG);
model.setEntityClusteringConfigType(JedaiOptions.AUTOMATIC_CONFIG);
model.setAutoConfigType(JedaiOptions.AUTOCONFIG_STEPBYSTEP);
model.setSearchType(JedaiOptions.AUTOCONFIG_GRIDSEARCH);

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants