I would like to create a custom fitness function for a classification problem where I need to add knowledge about the expected models results. How do I go about doing this?
The best way to add external data to a Custom Fitness Function is to create a COM component and then call it from the javascript code in the Custom Fitness. For example and assuming that you have a component called MyFunction:
var obj = new ActiveXObject("MyFunction.FitnessFunction");
obj.Calculate()
return obj.Fitness;
You can develop this COM component in .NET, C++ or VB6 amongst others. There is a reasonably developed example in this tutorial.