I need help with the Function Parameter for Fit.Curve
@PacoEsp wrote: Hi Everyone! I’m working with the Math.NET Numerics library v7.0 for C#, I’m using the Fit.Curve method in two different ways depending on the scenario Scenario 1) Tuple<double,...
View ArticleWhy Cant Get Linear Regression Line on Logarithmic Scale
@qoqo wrote: Hi. I’ve tried to Math.NET Fit.Line function with the aim of finding the linear regression model based on some data. The result is proper with the regression method but not seeming as a...
View ArticleThread Safety of Matrix Vector
@KSH wrote: Hello all, I’ve searched the forum, and the Math.Net site, but I’ve been unable to find any definitive information about thread safety. Are MathNet objects thread safe? For example, if I...
View ArticleFitting f(x) = sin(x)*sin(x) with LinearCombinationFunc()
@Mantas_Vitkus wrote: I am trying to fit f(x) = sin(x)*sin(x) function to my data like this: Func<double, double> fit = Fit.LinearCombinationFunc( xData, yData, x => 1.0, x =>...
View ArticleHow to perform a sum of least squares/regression?
@Gismofx wrote: I’m working on an ICP(iterative closest point) algorithm and am stuck at the point of finding the matching points where the sum of their distances squared is minimized. I’m not sure of...
View ArticleFit Data Points to a Sine Curve
@F1Fan44 wrote: Hello, I am trying to use the C# Math.Net Numerics curve fitting capabilities to fit data points to a sine curve. The sine curve should be of the form: f(x) = a * sin(b * (x+c)) + d...
View ArticleSVD Algorithm Throws Errors for Large Matrices
@gjordan wrote: I’ve been using the intel MKL implementation of SVD() through Math.NET numerics. I’ve had success running the algorithm. However, for very large matrices (in this case 64,000 x 500), I...
View ArticleWhere is the packages "MathNet.Numerics.fsx"
@GS1976 wrote: Hi all, I am trying to run the F# interactive example (see below), but I do not know where to find the “MathNet.Numerics.fsx”...
View ArticleI need help with Optimizer to Find Minimum Error
@CH_Andre_Mailoa wrote: Hello guys, I have a Plant data and try to fitting it with 2nd Differential Equation that described APMonitor by Find Minimum of the Sum of Relative Error (modified from Sum of...
View ArticleVS2017 CLI question
@ice wrote: Greetings, to make a longs story short i used Fit::Polynomial() for approximation and it worked like a charm. The results we not ok so my co-worker suggested i use: y=a0x + a1+ a2x^(-1)+...
View ArticleMultinominal Discrete Discribution
@Danilo_Acimovic wrote: Hi, I’m not able to generate Samples from Multinominal distribution: Example: double[] weights = { 0.2, 0.2, 0.2, 0.2, 0.2 }; Multinomial multinomial = new Multinomial(weights,...
View ArticleInterpolation - Quadratic Spline static constructor missing?
@Gismofx wrote: I’m trying to use QuadraticSpline.Interpolate() constructor in version 4.9.0 and that method does not seem to be available. Am I missing something? Posts: 2 Participants: 1 Read full...
View ArticleIntel MKL Update
@jbesada wrote: Hello, Is an update of this library scheduled? Thank you in advance Posts: 3 Participants: 2 Read full topic
View Article2D (and higher dimensions) linear interpolation
@EuroEager2008 wrote: Probably embarrassing simple question, how to perform linear interpolation on a 2D dataset (a table) given x and y inputs? (And higher dimensions for that matter, but 2D is my...
View ArticleMultiple regression in F# excluding the intercept and vector division
@AndyAbok wrote: F# i hope i am asking the question the right way here,i want to do a multiple regression here and obtain the result without the intercept which i believe is in vector form my...
View ArticleTransforming Frequencies
I’m new to Math.Net and not very versed in Algebra. I am writing a .Net Xamarin application that generates tones using f.i. a SawTooth wave. I’ve successfully implemented the SawTooth and Sine waves...
View ArticleHow can I solve. pis(iTi) = p(iT) where the pis, iTi, p and iT are matrixes
How can I solve. pis(iTi) = p(iT) where the pis, iTi, p and iT are matrixes 1 post - 1 participant Read full topic
View ArticleOptimization with Linear Inequality Constraints
Is there an algo in mathdotnet Numerics that I could use to minimize a convex function of n variables f(x) with m linear inequality constraints of the type Ax<b (with A mxn matrix and b m-dim...
View ArticlePearson correlation with pairwise deletion for missing data
We are trying to estimate the Pearson correlation matrix for a data set that includes missing (NaN) values. However, it seems that if there is any missing values, the PearsonMatrix method just returns...
View ArticleGenerate correlated distributions
Is there a way to generate multiple correlated distributions? Something like this…...
View Article