Portfolio Optimization
post/portfolios/optimization/supervised/nearest-neighbors-based

Request body

assetsinteger required

The number of assets

nearestNeighborsForecastMethod'kMean' | 'kStar' | 'kEnsemble'

The forecast method used to determine the label of an inference point

nearestNeighborsinteger

The number of nearest neighbors used to determine the label of an inference point when nearestNeighborsForecastMethod is equal to 'kMean'

nearestNeighborsDistanceMetric'euclidean' | 'hassanat'

The distance metric used to compute the nearest neighbors of an inference point

Response

OK

Changes

No recorded changes to this endpoint across all 11 revisions of this API.