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

Description
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"));