Skip to content

SVM test_spars gives random results with Python 3.5 #15

@alpo

Description

@alpo

in test_spars
list(xes.indices))
AssertionError: Lists differ: [0, 1, 2, 3] != [1, 3, 0, 2]

It can be related to different dictionary keys order in Python 2.7 (scrambled) and Python 3.5 (randomized). In Python 3.6 (ordered) the result can differ. It is hidden in internals of scipy.sparse.csr_martix perhaps. Investigation required.

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