pyFM.spectral.nearest_neighbor.set_config

pyFM.spectral.nearest_neighbor.set_config(**kwargs)

Override one or more thresholds. Keys are those of DEFAULTS.

Returns:

config – A copy of the configuration after the update.

Return type:

dict