登录
首页 » Windows开发 » kNN.scala

kNN.scala

于 2022-01-31 发布 文件大小:1.13 kB
0 158
下载积分: 2 下载次数: 1

代码说明:

note that groupByKey() provides an expensive solution,   but combineByKey() and reduceByKey() will give a better   scale-out performance

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • After a certain period of time, restrict users to use computers in the Start but...
    在一定时间后,限制用户使用计算机 在开始按钮上显示剩余的时间-After a certain period of time, restrict users to use computers in the Start button to display the remaining time
    2022-01-21 00:30:54下载
    积分:1
  • 采用邻接矩阵表示无向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列。本输入样例中所用的图如下所示...
    采用邻接矩阵表示无向图,完成图的创建、图的深度优先遍历、图的广度优先遍历操作。其中图的顶点信息是字符型,图中顶点序号按字符顺序排列。本输入样例中所用的图如下所示: Input Format: 第一行输入两个值,第一个是图中顶点的个数,第二个是图中边的条数 第二行输入各顶点的信息,即输入每个顶点字符 第三行开始输入每条边,每条边的形式为两个顶点的序号,中间以空格隔开,输入完一条边换行 Output format: 首先输出图的顶点信息,输出完毕换行 接着输出图的邻接矩阵,假如图中有n个顶点,则输出形式为n行n列的邻接矩阵,输出完毕换行 接下来一行输出从图的第一个顶点开始进行深度优先遍历的序列,中间以空格隔开,输出完毕换行 最后一行输出从图的第一个顶点开始进行广度优先遍历的序列,中间以空格隔开,输出完毕换行 -Using an undirected graph adjacency matrix representation to complete the map creation, graph depth-first traversal, graph breadth-first traversal operation. In which vertex information is character, the graph vertex number by characters in order. The input sample used in the diagram are as follows: Input Format: The first line of input two values, the first one is the number of graph vertices, the second one is the number of graph edges Second row, enter information in each vertex, that enter each vertex character Start typing in the third line of each side, each side in the form of two vertices
    2022-01-26 03:32:41下载
    积分:1
  • 简单的聊天系统,本程序是使用vc进行编程的
    简单的聊天系统,本程序是使用vc进行编程的-A simple chatting programme developped under VC.
    2022-07-10 09:57:47下载
    积分:1
  • DSP源C++代码,对初学者很有帮助
    DSP开发源C++代码,对初学者很有帮助-code for DSP
    2023-03-11 20:45:04下载
    积分:1
  • 好的源码库
    ZThread库是一个开源的跨平台高级面向对象的线性和sycnchronization 库,以运行POSIX 和Win32 系统中的C++程序。
    2022-05-15 22:30:23下载
    积分:1
  • vb.net的SMS程序之间的PPC使用蓝牙技术准备…
    VB.NET编写的利用蓝牙技术在PPC之间发短信的程序-VB.NET prepared by the use of Bluetooth technology in the PPC between SMS procedures
    2022-02-10 15:01:41下载
    积分:1
  • workers of the source management system
    职工管理系统的源程序-workers of the source management system
    2022-04-24 23:56:21下载
    积分:1
  • 起飞性能代码
    TAKEOFF2。对于是修改后的办法,提出一个 FORTRAN 实现 Krenkel 及曼为飞机起飞解决。原始的方法解决了飞机方程的运动参数,而此程序解决了通过时间步集成技术。Methodlology 也已修改,来计算平衡字段长度 (BFL) 为的初步设计目的。作为距离通常情况下,像在这里,定义平衡的字段长度 (包括障碍通道) 或者一个发动机失效 (OEI) 起飞所需或刹车的停止当发动机出现故障时在临界发动机失效速度。Krenkel 和曼假设推力矢量能力和推力随速度的变化规律部队方程的平衡在飞机上创建运行其起飞的过程中。所有必要的输入从初步飞机所需的性能参数,可以得到参数设计。一些消息来源估计设计参数位于下方。 该程序是分成两个,每个描述起飞分析中的不同方面: 1) 正常起飞-从止部到升空到通道超过 35 英尺 (11 米) 的一个障碍。 2) 平衡的字段长度计算-迭代求解找到引擎可以在哪里失败 所以,要执行 OEI 起飞的距离等于距离刹车停了下来。 每一节打印出重要的时间,距离和速度的起飞运行。为正常 起飞,增量时间距离和速度数据是的输出以及。 引用 Krenkel,A.R.,萨尔兹曼是 A.,"起飞性能的喷
    2022-12-05 16:15:03下载
    积分:1
  • 该程序实现对一维数据轴上的最临近点的求解问题 采用方法:分治方法1(该方法在递归时由于使用数组的值,使得递归进栈的数据很多,消耗系统空间很大,所以处理的个数经测...
    该程序实现对一维数据轴上的最临近点的求解问题 采用方法:分治方法1(该方法在递归时由于使用数组的值,使得递归进栈的数据很多,消耗系统空间很大,所以处理的个数经测试不超过70个,可见在设计程序时,考虑空间的使用也是很必要的!)-the process of achieving a dimensional data axis near the point of the methodology used to solve the problem : a partition method (the method when the use of recursive array, which makes the recursive stack into many of the data, consume much space, the number of tested not more than 70, based in Visibility terms procedures, the use of space is also necessary!)
    2023-08-13 21:00:03下载
    积分:1
  • The procedure is achieved by the C language function of time, the realization of...
    该程序是由C语言实现的时间函数,实现一个猜数游戏,判断一个人反应快慢的功能。-The procedure is achieved by the C language function of time, the realization of a guess the number of games to determine the response speed of a person functions.
    2022-03-22 14:00:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载