Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm working on a machine learning library (as a hobby project) and having implemented linear regression, I started investigating non-linear, polynomial regression. Representing an univariate polynomial in code is not a problem whatsoever, but what about the multivariate polynomials (more than one indeterminate)? I'm having hard time finding any standards for representing them in code.
Example:
y = 1 + 2*x1 + 3*x2 + 4*x1*x2 + 5*x1^2 + 6*x2^2
Is there anything like this (a common standard or even a library, which standards I could follow) and I simply can't find it?
The reason why I'm asking is not to implement my own standard if there is one already.
It's been a while since I asked this question so I decided to write my own library for representing and calculating values of simple polynomials, which you can find here:
https://bitbucket.org/piotrjustyna/netpolynomial
I appreciate your feedback!
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to use a graph in C++, so that I can use it for storing cities and distances between them, and then try some path finding algorithms on it. Is there any built-in library, etc. which I can include in my project?
Like #include<vector>, etc. If not, kindly tell me same for C#.
If you want to do path-finding you just need some special forms of trees. Most of them are well described when you look at path-finding algorithms. As an example, you can use a priority queue which is suitable for storing the successors at the top of your tree (fast access).
Concrete implementations I can suggest are A*:
You can build your own heuristic method, which means that you can put in your own logic for travelling.
One implementation of it is a-star-algorithm-implementation.
How about the Boost Graph Library?
Boost usually provides very good libraries for data structures and algorithms.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a simple way, whether through a web service or just a library, to write/display music notation with C#? I have some data and am wondering if there is a way to show a staff with the given notes on it.
I've looked into MusicXML, but if I understand it correctly, it is purely a way to store the data - displaying it on a staff is a separate task. Short of manually using shapes (would be a lot of work) in HTML Canvas or WPF or what-have-you, is there some way to accomplish this?
Long list of background information and libraries for Java can be found here: https://stackoverflow.com/questions/5525959/are-there-any-music-notation-rendering-libraries-for-java.
A similar C# question can be found here: Draw a music staff in C#.
Here's an article describing how to show MusicXML notation with WPF: http://www.codeproject.com/Articles/89582/PSAM-WPF-Control-Library.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need a simple Sentiment Analysis library to use in my ASP.NET application. The library should be able to work on short strings (Twitter tweets have a maximum length of 140 characters long), and only needs to classify the tweets as positive or negative (and perhaps neutral, but not necessary).
I have found many similar questions on Stack Overflow, but haven't managed to find a class library in C# that quite fits my requirements.
I found this really cool webservice called uClassify that does exactly what I need, thanks to the post at Algorithm to determine how positive or negative a statement/text is.
But I want a library, not a web service. I will be processing thousands of tweets and the overhead of making HttpRequests is too much.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working on the implementation of Artificial Bee Colony algorithm in optimization of fuzzy c-means clustering. Can anyone provide a link for C# library or class that might help in the code of the ABC algorithm?
I think this should help. Its a ready to implement ABC algorithm library written in C++ that I had developed.
Google doesn't immediately seem to reveal a C# implementation of the ABC algorithm, though there is a Java implementation which should translate quite well to C#.
ABC souds similar to ant colony optimisation. I found this app, which you can probably get the source for if you contact the authors. It requires .NET, so it might as well be written in C#. It's not exactly what you asked for, but it's something ;)
There is a recent article in MSDN magazine that has an implementation in C#, on a specific problem. It should provide a good starting point!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Are there any open source algorithms in c# that solve the problem of creating a difference between two text files?
It would be super cool if it had some way of highlighting what exact areas where changed in the text document also.
There's also a c# port of Google's (Neil Fraser) diff, match and patch.
There is Menees Diff which will provide you with a C# diff implementation. The source code is included. I've used it in the past with good success wrapping it in my own implemenation.
How about this one? : DIFFPLEX
Check out diff. Here it is in the gnu project (open source, of course), and many more links to implementations are found in the wikipedia article. A comparison of different such programs is found here.
check this link
"good line by line Diff Algorithm "
http://www.codeproject.com/KB/recipes/diffengine.aspx