Changeset 1308 for framspy/evolalg/tests


Ignore:
Timestamp:
06/05/24 22:35:50 (5 months ago)
Author:
Maciej Komosinski
Message:

Added the ability to select a dissimilarity measure for crowding distance (for NSGA2 and NSLC) independently from the main dissimilarity measure

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/evolalg/tests/test_diferent_settings.py

    r1306 r1308  
    4747    'hof_size': [0, 10],
    4848    'normalize': ['none', 'max', 'sum'],
    49     'dissim': [DissimMethod.GENE_LEVENSHTEIN, DissimMethod.PHENE_STRUCT_OPTIM, DissimMethod.PHENE_DESCRIPTORS, DissimMethod.PHENE_DENSITY_FREQ],
     49    'dissim': [DissimMethod.GENE_LEVENSHTEIN],# DissimMethod.PHENE_STRUCT_OPTIM, DissimMethod.PHENE_DESCRIPTORS, DissimMethod.PHENE_DENSITY_COUNT, DissimMethod.PHENE_DENSITY_FREQ],
     50    'crowding_dissim': [DissimMethod.FITNESS, DissimMethod.GENE_LEVENSHTEIN, DissimMethod.PHENE_STRUCT_OPTIM],#, DissimMethod.PHENE_STRUCT_OPTIM, DissimMethod.PHENE_DESCRIPTORS, DissimMethod.PHENE_DENSITY_COUNT, DissimMethod.PHENE_DENSITY_FREQ],
    5051    'fit': ['niching', 'novelty', 'nsga2', 'nslc', 'raw'],
    5152    'genformat': ['1'],
     
    130131                                        normalize=params['normalize'],
    131132                                        dissim=params['dissim'],
     133                                        crowding_dissim=params['crowding_dissim'],
    132134                                        fit=params['fit'],
    133135                                        genformat=params['genformat'],
Note: See TracChangeset for help on using the changeset viewer.