楼主: Sollype
2943 14

Java Machine Learning Library (Java-ML) [推广有奖]

  • 0关注
  • 0粉丝

等待验证会员

学前班

60%

还不是VIP/贵宾

-

威望
0
论坛币
20 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
26 点
帖子
3
精华
0
在线时间
0 小时
注册时间
2016-6-13
最后登录
2016-6-13

楼主
Sollype 发表于 2016-6-13 02:41:59 来自手机 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

Java Machine Learning Library 0.1.7 released


  • Thomas Abeel
  • It's been a long time, but there is a new release. 0.1.6 has been release quietly a while ago, so this will be number 0.1.7.

本帖隐藏的内容





Things that are new or changed since the last announcement:

- Spectral clustering algorithms are available in SVN, will be included in the main release further down the line.
- A whole lot more unit tests
- Bayes classifiers
- More tutorials
- Improved sampling strategies
- fixed getWeights for sparse data sets
- improved Dynamic Time Warping implementation
- upgraded most dependencies to more recent versions (libsvm 2.9.1, ajt 2.9)
- fixed bug in Kmeans that entered an infinite loop in a particular case
- fixed bug in normalization for attributes that have no range
- Fixed a whole bunch of bugs contributed through the Sourceforge ticketing system
- Removed OPTICS implementation until further notice because it is incomplete





二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Learning machine earning Library BRARY available included further release number

已有 1 人评分论坛币 收起 理由
Nicolle + 20 奖励积极上传好的资料

总评分: 论坛币 + 20   查看全部评分

本帖被以下文库推荐

沙发
Sollype 发表于 2016-6-13 02:42:36 来自手机
  1. /**
  2. * This file is part of the Java Machine Learning Library
  3. *
  4. * The Java Machine Learning Library is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation; either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * The Java Machine Learning Library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with the Java Machine Learning Library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  17. *
  18. * Copyright (c) 2006-2009, Thomas Abeel
  19. *
  20. * Project: http://java-ml.sourceforge.net/
  21. *
  22. */
  23. package tutorials.classification;

  24. import java.io.File;

  25. import net.sf.javaml.classification.Classifier;
  26. import net.sf.javaml.classification.KNearestNeighbors;
  27. import net.sf.javaml.core.Dataset;
  28. import net.sf.javaml.core.Instance;
  29. import net.sf.javaml.tools.data.FileHandler;

  30. /**
  31. * This tutorial show how to use a the k-nearest neighbors classifier.
  32. *
  33. * @author Thomas Abeel
  34. *
  35. */
  36. public class TutorialKNN {
  37.     /**
  38.      * Shows the default usage of the KNN algorithm.
  39.      */
  40.     public static void main(String[] args)throws Exception {

  41.         /* Load a data set */
  42.         Dataset data = FileHandler.loadDataset(new File("devtools/data/iris.data"), 4, ",");
  43.         /*
  44.          * Contruct a KNN classifier that uses 5 neighbors to make a decision.
  45.          */
  46.         Classifier knn = new KNearestNeighbors(5);
  47.         knn.buildClassifier(data);

  48.         /*
  49.          * Load a data set for evaluation, this can be a different one, but we
  50.          * will use the same one.
  51.          */
  52.         Dataset dataForClassification = FileHandler.loadDataset(new File("devtools/data/iris.data"), 4, ",");
  53.         /* Counters for correct and wrong predictions. */
  54.         int correct = 0, wrong = 0;
  55.         /* Classify all instances and check with the correct class values */
  56.         for (Instance inst : dataForClassification) {
  57.             Object predictedClassValue = knn.classify(inst);
  58.             Object realClassValue = inst.classValue();
  59.             if (predictedClassValue.equals(realClassValue))
  60.                 correct++;
  61.             else
  62.                 wrong++;
  63.         }
  64.         System.out.println("Correct predictions  " + correct);
  65.         System.out.println("Wrong predictions " + wrong);

  66.     }

  67. }
复制代码

藤椅
Nicolle 学生认证  发表于 2016-6-13 02:59:40
提示: 作者被禁止或删除 内容自动屏蔽

板凳
Nicolle 学生认证  发表于 2016-6-13 03:02:17
提示: 作者被禁止或删除 内容自动屏蔽

报纸
Nicolle 学生认证  发表于 2016-6-13 03:03:27
提示: 作者被禁止或删除 内容自动屏蔽

地板
Nicolle 学生认证  发表于 2016-6-13 03:04:58
提示: 作者被禁止或删除 内容自动屏蔽

7
Nicolle 学生认证  发表于 2016-6-13 03:07:15
提示: 作者被禁止或删除 内容自动屏蔽

8
Nicolle 学生认证  发表于 2016-6-13 03:14:59
提示: 作者被禁止或删除 内容自动屏蔽

9
Nicolle 学生认证  发表于 2016-6-13 03:17:36

Clustering using Java

提示: 作者被禁止或删除 内容自动屏蔽

10
Nicolle 学生认证  发表于 2016-6-13 03:19:29

Cluster Evaluation using Java

提示: 作者被禁止或删除 内容自动屏蔽

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
扫码
拉您进交流群
GMT+8, 2026-1-25 09:11