Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经使用 apache mahout 开发了一个贝叶斯分类器。现在我想将它与我的基于 Java 的 Web 应用程序集成,即给定一个训练模型,该 Web 应用程序应该能够预测和分类给定的文本。它是一个基于 JSP 的 Web 应用程序。
我应该怎么做?是否有任何博客/网站提供一步一步的教程。
您可以查看 News20Group 示例的源代码,这将帮助您将 mahout 分类器与您的 web 应用程序集成。
您也可以查看源代码
org.apache.mahout.classifier.bayes.[TestClassifier][1] org.apache.mahout.classifier.bayes.[TrainClassifier][2]