lenskit.basic.topn.TopNConfig ============================= .. py:class:: lenskit.basic.topn.TopNConfig Bases: :py:obj:`pydantic.BaseModel` Configuration for top-N ranking. .. py:attribute:: n :type: int | None :value: None The number of items to return. -1 or ``None`` to return all scored items.