登录
首页 » 算法 » KNN分类算法

KNN分类算法

于 2022-09-30 发布 文件大小:35.06 kB
0 178
下载积分: 2 下载次数: 2

代码说明:

用KNN算法实现数据分类,算法简单易懂,适合初学者!简单来说,K-NN可以看成:有那么一堆你已经知道分类的数据,然后当一个新数据进入的时候,就开始跟训练数据里的每个点求距离,然后挑离这个训练数据最近的K个点看看这几个点属于什么类型,然后用少数服从多数的原则,给新数据归类。

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

发表评论

0 个回复

  • Gateway v.10 c++
    Gateway , bad packet convert to and send gameserver and fix all wrong packets , written by osmanx share ty kingofknight.net thanksssssssssssssss
    2022-02-01 01:13:47下载
    积分:1
  • TI DSP TMS320F280x PWM 死区控制例程。
    TI DSP TMS320F280x PWM 死区控制例程。-TI DSP TMS320F280x PWM dead-zone control routines.
    2023-05-30 15:40:04下载
    积分:1
  • the file implements in C the nealder mead simplex algorithm for derivative free...
    the file implements in C the nealder mead simplex algorithm for derivative free optimisation
    2022-04-11 16:27:29下载
    积分:1
  • embedded compilation write bubble sort, XP VC6.0 compile.
    内嵌汇编写的起泡排序,XP下VC6.0编译通过。-embedded compilation write bubble sort, XP VC6.0 compile.
    2022-01-25 22:29:18下载
    积分:1
  • MaxPQ 最大优先队列
    /*************************************************************************  *  Compilation:  javac MaxPQ.java  *  Execution:    java MaxPQ < input.txt  *   *  Generic max priority queue implementation with a binary heap. 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-11-04 04:15:02下载
    积分:1
  • 本文件为线性方程组求解的指导,并赋有代码
    本文件为线性方程组求解的指导,并赋有代码-This document is for the linear equations to solve the guidance of, and are endowed with the code
    2022-04-02 03:14:45下载
    积分:1
  • Very classic matrix algorithm to know on the next
    很 经典 的 矩阵算法 知道 的 就下 -Very classic matrix algorithm to know on the next
    2022-08-26 13:31:05下载
    积分:1
  • Na Na nounou
    #! JMP 04@JSR 20 83 89 12#! LOP#! END#! JMP 04@JSR 20 83 89 12#! LOP#! END#! JMP 04@JSR 20 83 89 12#! LOP#! END#! JMP 04@JSR 20 83 89 12#! LOP#! END#! JMP 04@JSR 20 83 89 12#! LOP#! END
    2023-01-22 12:35:04下载
    积分:1
  • Romberg积分,数值积分
    Romberg积分,数值积分-Romberg points, numerical integration
    2023-02-10 10:55:03下载
    积分:1
  • 熵权求权重的Matlab实现及演示
    “熵权”理论是一种客观赋权方法,它借用信息论中熵的概念。熵权是在给定评价对象集后各种评价指标值确定的情况下,各指标在竞争意义上的相对激烈程度,从信息角度考虑,它代表该评价指标在该问题中提供有效信息量的多寡程度,作为一种客观综合评价方法,它主要是根据各指标传递给决策者的信息量大小来确定其权数。程序可以运行出正确的结果,希望对各位有所帮助。
    2022-04-21 13:51:41下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载