Genetic Algorithm. About ga function in matlab and feature selection
Al momento, stai seguendo questa domanda
- Vedrai gli aggiornamenti nel tuofeed del contenuto seguito.
- Potresti ricevere delle e-mail a seconda delle tuepreferenze per le comunicazioni.
Si è verificato un errore
Impossibile completare l'azione a causa delle modifiche apportate alla pagina. Ricarica la pagina per vedere lo stato aggiornato.
0 voti
Condividi un link a questa domanda
Risposta accettata
0 voti
13 Commenti
- 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
- 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
Più risposte (0)
Categorie
Scopri di più su Genetic Algorithm in Centro assistenza e File Exchange
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- 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)
