摘要: 1 package iYou.neugle.search; 2 3 public class Sequence_search { 4 public static int SequenceSearch(double[] array, double key) { 5 for ... 阅读全文
posted @ 2015-07-06 17:06 iYou 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1 package iYou.neugle.sort; 2 3 public class Shell_sort { 4 public static void ShellSort(double[] array) { 5 int n = array.length; 6 ... 阅读全文
posted @ 2015-07-06 16:00 iYou 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 1 package iYou.neugle.sort; 2 3 public class Heap_sort { 4 public static void HeapSort(double[] array) { 5 for (int i = (int) Math.floor... 阅读全文
posted @ 2015-07-06 14:48 iYou 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1 package iYou.neugle.sort; 2 3 public class Quick_sort { 4 public static void QuickSort(double[] array, int left, int right) { 5 if (le... 阅读全文
posted @ 2015-06-08 11:56 iYou 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1 package iYou.neugle.sort; 2 3 public class Select_sort { 4 public static void SelectSort(double[] array) { 5 for (int i = 0; i array[... 阅读全文
posted @ 2015-06-08 11:55 iYou 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 2.3 数据输入2.3.1 使用键盘输入数据2.3.2 从带分隔符的文本文件导入数据可以使用 read.table() 从带分隔符的文本文件中导入数据。此函数可读入一个表格格式的文件并将其保存为一个数据框。其中, file 是一个带分隔符的ASCII文本文件, header 是一个表明首行是否包含了... 阅读全文
posted @ 2015-05-25 14:47 iYou 阅读(516) 评论(0) 推荐(1) 编辑
摘要: 第二章 创建数据集 2.1 数据集的概念不同的行业对于数据集的行和列叫法不同。统计学家称它们为观测(observation)和变量(variable) ,数据库分析师则称其为记录(record)和字段(field) ,数据挖掘/机器学习学科的研究者则把它们叫做示例(example)和属性(attri... 阅读全文
posted @ 2015-05-22 16:56 iYou 阅读(415) 评论(0) 推荐(0) 编辑
摘要: 第一章 语言介绍 1.1 典型的数据分析步骤1.2 获取帮助help.start()help("which")help.search("which")1.3 管理R工作区间函数1.4 输入和输出1.4.1 输入函数 source("filename") 可在当前会话中执行一个脚本。如果文件名中不包含... 阅读全文
posted @ 2015-05-22 13:42 iYou 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 1 package iYou.neugle.sort; 2 3 public class Bubble_sort { 4 public static void BubbleSort(double[] array) { 5 for (int i = 0; i i; j--... 阅读全文
posted @ 2014-09-02 14:27 iYou 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 package iYou.neugle.sort; 2 3 public class Merge_sort { 4 5 public static void MergeSort(double[] array, int start, int end) { 6 if (... 阅读全文
posted @ 2014-09-02 13:24 iYou 阅读(187) 评论(0) 推荐(0) 编辑