cs-pca 1.0.1

dotnet add package cs-pca --version 1.0.1
NuGet\Install-Package cs-pca -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="cs-pca" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add cs-pca --version 1.0.1
#r "nuget: cs-pca, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install cs-pca as a Cake Addin
#addin nuget:?package=cs-pca&version=1.0.1

// Install cs-pca as a Cake Tool
#tool nuget:?package=cs-pca&version=1.0.1

cs-pca

Principal Component Analysis implemented in C#

Install

Install-Package cs-pca

Usage

The sample codes below shows how to use the library to reduce the number of dimension or reconstruct the original data from the reduced data:

List<double[]> source = GetNormalizedData();
List<double[]> Z; // PCA output 
double variance_retained;
K = 5; // dimension of the Z (note that Z will have K+1 dimensions where the first dimension will be ignored)
PCA.PCADimReducer.CompressData(source, K, out Z, out variance_retained);

// To reconstruct some compressed data point from Z 
List<double[]> compressed_data_point = GetCompressedDataPoints(); // K+1 dimension data points 
List<double[]> uncompressed_data_point = ReconstructData(compressed_data_point, Z);
Product Compatible and additional computed target framework versions.
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 1,266 4/28/2018

Principal Component Analysis in .NET 4.6.1