Python implementation of desirability functions for multivariate optimisation
spotdesirability implements the Derringer & Suich (1980) desirability framework, providing a flexible set of tools for multi-objective optimization through desirability functions. spotdesirability is a Python implementation of the R package desirability, which provides S3 classes for multivariate optimization using the desirability function by Derringer and Suich (1980). The Rdesirability package is maintained and developed by Max Kuhn. It is is available on CRAN: https://CRAN.R-project.org/package=desirability, DOI: https://doi.org/10.32614/CRAN.package.desirability
Core Functions: conversion_pred
The conversion_pred function implements a second-order Response Surface Methodology (RSM) model. It predicts percent conversion based on three coded factors: x1 (Reaction Time), x2 (Temperature), and x3 (Amount of Catalyst).
The model equation is: y = 81.09 + 1.03x1 + 4.04x2 + 6.20x3 - 1.84x1^2 + 2.94x2^2 - 5.19x3^2 + 2.22x1x2 + 11.38x1x3 - 3.88x2x3
Example: Predict Conversion
The following living code block demonstrates how to use the function with numpy arrays: