A comprehensive Java library for Design of Experiments (DOE) algorithms including Box-Behnken, Central Composite, Factorial, and other DOE methods.
- Box-Behnken Design
- Central Composite Design
- Full Factorial Design
- Fractional Factorial Design
- Various other DOE algorithms
- Comprehensive unit tests
To use this library in your Maven project, add the following dependency to your pom.xml:
<dependency>
<groupId>com.doe</groupId>
<artifactId>doe-generator</artifactId>
<version>1.0.0</version>
</dependency>To install from GitHub Packages, you need to configure authentication in your ~/.m2/settings.xml:
<settings>
<servers>
<server>
<id>github</id>
<username>YOUR_GITHUB_USERNAME</username>
<password>YOUR_GITHUB_TOKEN</password>
</server>
</servers>
</settings>Example usage:
import com.doe.algorithms.BoxBehnkenDOE;
import org.apache.commons.math3.linear.RealMatrix;
public class Example {
public static void main(String[] args) {
// Generate a Box-Behnken design with 4 factors
RealMatrix design = BoxBehnkenDOE.boxBehnkenDesign(4);
System.out.println("Generated design matrix: " + design);
}
}To build the project:
mvn clean installTo run the unit tests:
mvn testContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.