<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ayumi (あゆみ)</title>
    <description>The latest articles on DEV Community by Ayumi (あゆみ) (@koolkiyo).</description>
    <link>https://dev.to/koolkiyo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1694176%2Fa99f5f82-ebb5-4e9b-b73e-f44ba24983bc.jpg</url>
      <title>DEV Community: Ayumi (あゆみ)</title>
      <link>https://dev.to/koolkiyo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/koolkiyo"/>
    <language>en</language>
    <item>
      <title>Evolutionary Algorithm Framework in Java</title>
      <dc:creator>Ayumi (あゆみ)</dc:creator>
      <pubDate>Wed, 13 Aug 2025 12:11:59 +0000</pubDate>
      <link>https://dev.to/koolkiyo/evolutionary-algorithm-framework-in-java-17h2</link>
      <guid>https://dev.to/koolkiyo/evolutionary-algorithm-framework-in-java-17h2</guid>
      <description>&lt;p&gt;Just posted this to my repository on GitHub!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Qettesh/Evolutionary-Algorithm-Framework" rel="noopener noreferrer"&gt;Evolutionary Algorithm Framework&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This framework can be applied to various optimization problems. For instance, consider optimizing a set of parameters for a machine learning model. &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Define Solution: A Solution object could represent a specific combination of hyperparameters (e.g., learning rate, number of layers, activation functions) for the model.&lt;/li&gt;
&lt;li&gt; evaluateFitness(): The evaluateFitness() method would train the machine learning model with the given hyperparameters and return a fitness score based on the model's performance (e.g., accuracy, precision, recall).&lt;/li&gt;
&lt;li&gt; Genetic Operators:&lt;/li&gt;
&lt;li&gt; Selection: Solutions representing well-performing hyperparameter combinations would be more likely to be selected as parents.&lt;/li&gt;
&lt;li&gt; Crossover: New hyperparameter combinations could be created by combining aspects of the parent solutions (e.g., taking the learning rate from one parent and the number of layers from another).&lt;/li&gt;
&lt;li&gt; Mutation: Random adjustments could be made to individual hyperparameters within the offspring, introducing new variations to explore.&lt;/li&gt;
&lt;li&gt; Framework Execution: The EvolutionaryAlgorithmFramework would then iterate through generations, refining the hyperparameter combinations until a satisfactory model performance is achieved or the maximum number of generations is reached. 
This example demonstrates how the framework allows for a flexible and adaptable approach to solving complex optimization problems by defining the problem's solution representation and fitness function within the Solution class.&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>ai</category>
    </item>
  </channel>
</rss>
