'How to find a 3D plane to make the summation of four points distance minimum

As the title,I’m trying to find a method to figure out this question There are 4 different points in 3D space.I need to find a plane to make the summation of 4 points distances to plane minimum.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source