Skip to content

Feature selection example ERROR #1

Description

@pengqinglan

There was an error when I run the feature selection example in MatlabR2015b, logs here

Running GA - Iteration: 1 
 Running GA - Iteration: 2 
 Warning: Error occurred while executing callback:
Undefined function 'isnan' for input arguments of type 'matlab.ui.Figure'.

Error in sample.dummy_GUI/Plot (line 16)
            if(isnan(this.Handle))

Error in sample.feature_selection_with_Genetic_Algorithm>@(varargin)gaGUI.Plot(varargin{:})

Error in fsf.ga.GeneticAlgorithm/OnIterationEnds (line 86)
            this.notify('IterationEnds', eventData);

Error in fsf.ga.GeneticAlgorithm/Execute (line 72)
                this.OnIterationEnds(fsf.ga.events.IterationEndsEventArgs(stepPopulation, result));

Error in sample.feature_selection_with_Genetic_Algorithm (line 49)
gaResult = ga.Execute();
 
> In fsf.ga.GeneticAlgorithm/OnIterationEnds (line 86)
  In fsf.ga.GeneticAlgorithm/Execute (line 72)
  In sample.feature_selection_with_Genetic_Algorithm (line 49) 
Running GA - Iteration: 3 
 Warning: Error occurred while executing callback:
Undefined function 'isnan' for input arguments of type 'matlab.ui.Figure'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions