[python] first version of NT Gradient Descent