Ho to add data to the Custom Fitness function?
  • 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");
    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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!