Is there some .NET machine learning library that could, for example, suggest tags for a question? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionJust to use it as an example, StackOverflow users already associated tags to questions for a lot of questions.
Is there a .NET machine learning library that could use this historic data to 'learn' ho开发者_如何学运维w to associate tags to newly created questions and suggest them to the user?
I made a machine learning library that might help: http://machine.codeplex.com. Its basic premise is that you can use simple lists of POCO objects and create models from them by annotating the classes. Hope this helps!
--- Update I've since moved the project here: http://numl.net.
There is a .NET library for popular statistical computing engine, R Project. The library is called R.NET.
WEKA, the data mining tool for Java, mentions several possibilities to use the library with .NET. However, it's not ported or a wrapper but bridging the communication between .NET and Java.
This looks similar to spam filtering, but with more buckets.
A widely used technique for spam filtering is Bayesian filters. A Google search will give you a lot of options, including the first hit on CodeProject.
The subject of machine learning is a very complex field, and if you really want to create such an application you'll need some research done no matter what lib you're using.
In any case, I'd suggest using SVM (support vector machines). I've used it in python for this exact purpose, and it's incredible. You'll need to find a C# implementation though. The idea is to map features of text (like "words that end with .Net") to dimensions then use those features to create regions in the created space for tagging (anything in the sub-space X will be tagged as Y).
This is a really complex subject, and my explanation can only make it less clear, so I'll leave it up to you if you want, to read and use.
Here's something to get you started from Wikipedia - Support Vector machine (SVM)
Edit: It seems that LibSVM (the library I worked with in python) is also available for C# from its HomePage. Good luck
精彩评论