Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

PrincipalComponentAnalysis serialization error in v3.4.0 #398

@AndreiArdelean1

Description

@AndreiArdelean1

When trying to serialize a member of class PrincipalComponentAnalysis in Accord.Statistics version 3.4.0, I revive the error:

Type 'System.Threading.CancellationToken' in Assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.

The error is not present in version 3.3.0

Accord.IO.Serializer.Save(new Accord.Statistics.Analysis.PrincipalComponentAnalysis(), System.IO.Path.GetFullPath("a.txt"));

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