The primary objective of the algorithm is to modify input data (a preprocessing technique) to eliminate disparate impact, specifically by making the protected attribute unpredictable from other features, while striving to preserve as much of the original data's utility for classification as possible.