CodingTrain / CodingTrain/Suggestion-Box

Nature of Code 9.01 - Shakespeare Example: Contribution/Question

Aperta
#1,332 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
570
Fork
85
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Contribution:
A Java version of the Shakespeare Genetic Algorithm Challenge:

[https://github.com/BartholemeuChamberlain/Shakespeare-Genetic-Algorithm](url)

I added a piece of functionality to the DNA's ability to retain correct answers, specifically in the Mutation function. After converting from the Processing language to Java, I noticed that the program was not evolving after thousands of generations. Debugging through the DNA code, I noticed that the Mutation function was doing its job TOO well. This function was replacing the correct answers that the system was guessing. So I added the functionality that would skip the correct characters and only mutate the wrong answers (still based on the mutation rate). After this change, the system was able to get the correct answer in approx. 80 generations

Question:
Does this adjustment still follow proper Genetic Algorithm principles,? If not what adjustment should I have considered before this change?

- Thanks!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Inizia esaminando l’implementazione collegata di Java Shakespeare Genetic Algorithm, in particolare la funzione DNA Mutation, e confrontane il comportamento con quello della versione Processing descritta nell’issue. Determina se saltare i caratteri già corretti rimane coerente con i principi degli algoritmi genetici; il lavoro è completato quando viene fornita una risposta chiara o una modifica consigliata.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
machine-learning
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.