Author: Ken Baldwin

Clustering Analysis, Part II: K-Means Clustering

In this continuing series, we explore the NMath Stats functions for performing cluster analysis in .NET. (For previous posts, see here.) The sample data set we're using classifies 89 single malt scotch whiskies on a five-point scale (0-4) for 12 flavor characteristics. To visualize the data set and clusterings, we make use of the free Microsoft Chart Controls for .NET, which provide a basic set of...
Read More

Clustering Analysis, Part I: Principal Component Analysis (PCA)

Cluster analysis or clustering is the assignment of a set of observations into subsets (called clusters) so that observations in the same cluster are similar in some sense. Cluster analysis is the assignment of a set of objects into one or more clusters based on object similarity. NMath Stats includes a variety of techniques for performing cluster analysis, which we will explore in a series of p...
Read More

New Version of NMath Available

We have a great new version of the CenterSpace products available. With this release, we are announcing a lot of great new functionality, as well as some packaging changes. NMath Core, NMath Matrix and NMath Analysis have been merged into one product -- NMath. This will simplify inter-library dependencies. For backward compatibility, the namespaces will be unchanged.
Read More

Polynomial Curve Fitting

A customer recently asked how to reproduce the results of the MATLAB polyfit function in NMath. This is easily done using NMath in C#. MATLAB NMath Standard package CenterSpace.NMath.Analysis polyfit( x, y, degree ) PolynomialLeastSquares( degree, x, y ) Notes: polynomial coefficients are returned in the reverse order. For example, here's some MATLAB code for fittin...
Read More

NMath Deployment

Our libraries have a dependency on Microsoft Visual C++ 2008. Our installers place the C++ runtime on your development machine. However, when you deploy your application, you may need to add it to your installer. There are two ways to do this: 1. Add the VC ++ 9.0 merge module to your installer. It can be found here: c:\program files (x86)\common files\mergemodules\microsoft_vc90_crt_x86.msm or...
Read More
Top