Semiconductor are used everywhere in our daily life, such as mobile phones, computers, smart home appliances. In wafer manufacturing process, photoresist is used to etch the circuitry pattern on wafers. In this study, motivated by photoresist data. First, we constructed the regression model between the recipe variable and the specification variable. Then, given new recipe variable, the specification variable can be predicted. Finally, given specification target, the optimal solution on recipe variable can be obtained.