Genetic Algorithm. About ga function in matlab and feature selection
Ahora está siguiendo esta pregunta
- Verá actualizaciones en las notificaciones de contenido en seguimiento.
- Podrá recibir correos electrónicos, en función de las preferencias de comunicación que haya establecido.
Se ha producido un error
No se puede completar la acción debido a los cambios realizados en la página. Vuelva a cargar la página para ver el estado actualizado.
0 votos
Comparte un enlace a esta pregunta
Respuesta aceptada
0 votos
13 comentarios
- you could interpret the vector of trial inputs as being a binary vector that indicates which features to include; in this case you would pass a number of variables the same as the number of features, and you would configure their lower bound to be 0 and their upper bound to be 1 and mark them as integer. The 1 values in the output vector show which features are selected.
- you could interpret the vector of trial inputs as being a vector of integer indices that indicate which features are active; in this case you would pass a number of variables the same as the number of features you want to select, and you would configure their lower bound to 1 and their upper bound to the number of features, and mark them as integer. The output vector is the vector of indices of features
- you could interpret the vector of trial inputs as being a vector of weights for each component; in this case you would pass a number of variables the same as the number of features, and you would configure the lower bound to 0 and the upper bound to 1, and do not mark them as integer. The output vector would be the vector of weights; you would sort in descending order and take the highest-weighted ones as your features
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Comparte un enlace a este comentario
- you specify the type is bitset
- you pass in non-empty A b linear inequality
- you pass in non-empty Aeq beq linear equality
- you pass in any lower bound that is not -inf, or any upper bound that is not +inf
- you pass in a nonlinear constraint function that uses any input to calculate any output
- you mark any variable as integer constrained
Comparte un enlace a este comentario
Comparte un enlace a este comentario
Más respuestas (0)
Categorías
Más información sobre Genetic Algorithm en Centro de ayuda y File Exchange.
Etiquetas
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
