A nonparametric regression setting is considered with a real-valued covariate and responses from metric space. One may approach this via Fréchet regression, where the value of function at each point estimated mean calculated an objective function. second geodesic which builds upon fitting geodesics to observations by least squares method. These approaches are applied transform two most importan...