Hello,
I am using a genetic algorithm (in this case the AGA) to generate new features, which are written to a file by the AttributeConstructionsWriter operator. Then, in another project, I load the very same data as in the first project and try to reconstruct the attributes via AttributeConstructionsLoader, but that operator produces a NullPointerException:
NullPointerException
process failed
Message: null
This is the construction file I try to read:
<?xml version="1.0" encoding="US-ASCII"?>
<constructions version="4.4">
<attribute name="Hillas_Dist0" construction="Hillas_Dist0"/>
<attribute name="Hillas_Area" construction="Hillas_Area"/>
<attribute name="Hillas_CosDelta" construction="Hillas_CosDelta"/>
<attribute name="HillasExt_M3Trans" construction="HillasExt_M3Trans"/>
<attribute name="ImagePar_NumSatPixelsHG" construction="ImagePar_NumSatPixelsHG"/>
<attribute name="gensym13" construction="(Hillas_BorderLine * ImagePar_NumSinglePixels)"/>
<attribute name="Hillas_Length" construction="Hillas_Length"/>
<attribute name="Hillas_Size" construction="Hillas_Size"/>
<attribute name="Hillas_MeanX" construction="Hillas_MeanX"/>
<attribute name="Hillas_BorderLine" construction="Hillas_BorderLine"/>
<attribute name="ImagePar_SizeMainIsland" construction="ImagePar_SizeMainIsland"/>
<attribute name="HillasExt_M3Long" construction="HillasExt_M3Long"/>
<attribute name="ImageParNew_ConcCore" construction="ImageParNew_ConcCore"/>
<attribute name="gensym95" construction="(ImageParNew_ConcCore + 1/(ImageParNew_NumCorePixels))"/>
<attribute name="gensym96" construction="(ImagePar_SizeSinglePixels + 1/(ImageParNew_NumCorePixels))"/>
<attribute name="gensym97" construction="((ImagePar_SizeSinglePixels + 1/(ImageParNew_NumCorePixels)) / (Hillas_BorderLine * ImagePar_NumSinglePixels))"/>
<attribute name="gensym104" construction="(ImagePar_NumSatPixelsHG + HillasExt_M3Long)"/>
<attribute name="gensym105" construction="((ImagePar_SizeSinglePixels + 1/(ImageParNew_NumCorePixels)) pow Hillas_BorderLine)"/>
<attribute name="gensym113" construction="(ImagePar_SizeSinglePixels * Hillas_Length)"/>
<attribute name="gensym114" construction="(((ImagePar_SizeSinglePixels + 1/(ImageParNew_NumCorePixels)) pow Hillas_BorderLine) pow Hillas_Width)"/>
<attribute name="gensym116" construction="(ImagePar_SizeSubIslands * (ImagePar_SizeSinglePixels + 1/(ImageParNew_NumCorePixels)))"/>
<attribute name="gensym117" construction="((ImageParNew_ConcCore + 1/(ImageParNew_NumCorePixels)) / ((ImagePar_SizeSinglePixels + 1/(ImageParNew_NumCorePixels)) pow Hillas_BorderLine))"/>
<attribute name="gensym118" construction="(1/(ImageParNew_NumCorePixels) * (ImageParNew_ConcCore + 1/(ImageParNew_NumCorePixels)))"/>
</constructions>
All attributes used in the formulas are present in the example set. Is there something wrong with this file?
I am using RapidMiner 4.4 with java-1.6 on Linux.