Skip to content

Error of redis zadd() #16

@mohdshoaib04

Description

@mohdshoaib04

Hi,
Thanks for sharing such useful content based recommendation engine.

When testing your example i get below error

File "sklearn_tfidf.py", line 74, in _train self._r.zadd(self.SIMKEY % row['id'], *flattened) TypeError: zadd() takes from 3 to 7 positional arguments but 198 were given

Can you please guide me what is going wrong ?
I have latest redis version installed and i am using python3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions