The variable `k` is an input parameter, it is the number of nearest neighbors, and also used as an index in a loop for hybrid models. [`k` is used for nearest neighbors.](https://github.com/ATOMScience-org/AMPL/blob/d271984cb743c1e02555b2015097a609a77dceb1/atomsci/ddm/pipeline/model_pipeline.py#L915) [`k` is used for an index](https://github.com/ATOMScience-org/AMPL/blob/d271984cb743c1e02555b2015097a609a77dceb1/atomsci/ddm/pipeline/model_pipeline.py#L861) This variable should be renamed.
The variable
kis an input parameter, it is the number of nearest neighbors, and also used as an index in a loop for hybrid models.kis used for nearest neighbors.kis used for an indexThis variable should be renamed.