Opened 5 months ago

Last modified 3 weeks ago

#2929 new feature request

Prioritized Grammar Enumeration for HeuristicLab

Reported by: gkronber Owned by:
Priority: medium Milestone: HeuristicLab 4.x Backlog
Component: Algorithms.DataAnalysis Version: branch
Keywords: Cc:

Description (last modified by gkronber)

It would be great to be able to use PGE (prioritized grammar enumeration) within HeuristicLab.

The original implementation of the algorithm is in Go. So we either need to convert the implementation to C# or provide a wrapper that calls the native binaries via DllImport.

This should be done within an undergraduate thesis.

Change History (21)

comment:1 Changed 5 months ago by gkronber

r15990: created branch

comment:2 Changed 5 months ago by gkronber

  • Description modified (diff)

comment:3 Changed 5 months ago by gkronber

r15991: prepared plugin and empty algorithm class for PGE implementation

comment:4 Changed 4 months ago by hmaislin

r16079: added testfile

comment:5 Changed 4 months ago by hmaislin

r16080: initial commit of working PGE version

comment:6 Changed 4 months ago by gkronber

r16081: added a script to start pge with command line parameters

comment:7 Changed 3 months ago by gkronber

r16182: Added PGE dll and the first working call

Last edited 3 months ago by hmaislin (previous) (diff)

comment:8 Changed 3 months ago by hmaislin

r16183: Adapted PGE Go code to work as dll

Last edited 3 months ago by gkronber (previous) (diff)

comment:9 Changed 3 months ago by hmaislin

r16191: Added current DLL to PGE dir that needs to be placed in bin path

Last edited 3 months ago by gkronber (previous) (diff)

comment:10 Changed 3 months ago by gkronber

r16195: copied go-pge.dll to plugin folder and added to project file so that the native .dll is also copied to the bin folder. Set unsafe property for the project.

comment:11 Changed 3 months ago by gkronber

r16196: introduced parameter names to prepare for renaming parameters

comment:12 Changed 3 months ago by gkronber

r16197: renaming things

comment:13 Changed 3 months ago by gkronber

r16199: renaming things, use data from regression problem instead of hard-coded data. Algorithm crashes in StepW.

comment:14 Changed 3 months ago by hmaislin

r16200: Updated DLL to get coeff results and release memory

comment:15 Changed 2 months ago by gkronber

r16212: several fixes

comment:16 Changed 2 months ago by hmaislin

r16229: Updated PGE DLL

comment:17 Changed 2 months ago by hmaislin

r16228: Adapted pge plugin to check for null value

comment:18 Changed 2 months ago by hmaislin

r16231: Fixed result error

comment:19 Changed 4 weeks ago by gkronber

r16315:

  • worked on display of PGE results.
  • convert PGE expressions into HL solutions

Algorithm does not produce reasonable results (e.g. for Korns-1). I suspect that the index of the target variable is passed incorrectly (searchVar parameter in InitProblem). However, when I change the searchVar value from 0 to 1 the program crashes because of a general protection fault in the call of InitProblem

comment:20 Changed 4 weeks ago by gkronber

r16316: fixed program crash (searchVar must be zero!)

comment:21 Changed 3 weeks ago by gkronber

r16335: changed criterion for updating the solution to testScore < bestTestScore

Note: See TracTickets for help on using tickets.