The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"EvolutionaryParameterOptimization operator in java code"
Hello,
I am trying to use EvolutionaryParameterOptimization operator in my java code.
I know how to set parameters like generations_without_improval and population_size, etc.
Many thanks!
I am trying to use EvolutionaryParameterOptimization operator in my java code.
I know how to set parameters like generations_without_improval and population_size, etc.
However, I cannot figure out how to set the list of parameters that should be optimized. For example, I have a LibSVMLearner operator in the inner operator chain and I whish to optimize its parameters LibSVMLearner.gamma and LibSVMLearner.epsilon. Can you please help me or point me to the documentation about this.
EvolutionaryParameterOptimizationOperator evolutionary = OperatorService.createOperator(EvolutionaryParameterOptimizationOperator.class);
evolutionary.setParameter(EvolutionaryParameterOptimizationOperator.PARAMETER_GENERATIONS_WITHOUT_IMPROVAL, "15");
evolutionary.setParameter(EvolutionaryParameterOptimizationOperator.PARAMETER_POPULATION_SIZE, "50");
Many thanks!
Tagged:
0