When machine learning algorithms are used to determine the price of general insurance, they can sometimes overfit the data. This overfitting can lead to problems for both customers and insurance companies. To address this issue, we’ve developed a new approach called Ordered Lorenz Regularization (OLR). We have tested OLR on general insurance data. The results have demonstrated that OLR is successful in reducing overfitting. Additionally, when we use OLR for pricing general insurance, it helps establish the lowest and highest possible premiums.