登录
首页 » python » KNN

KNN

于 2023-01-15 发布 文件大小:18.93 kB
0 52
下载积分: 2 下载次数: 1

代码说明:

实践代码kNN算法的核心思想是如果一个样本在特征空间中的k个最相邻的样本中的大多数属于某一个类别,则该样本也属于这个类别,并具有这个类别上样本的特性。该方法在确定分类决策上只依据最邻近的一个或者几个样本的类别来决定待分样本所属的类别。kNN方法在类别决策时,只与极少量的相邻样本有关。由于kNN方法主要靠周围有限的邻近的样本,而不是靠判别类域的方法来确定所属类别的,因此对于类域的交叉或重叠较多的待分样本集来说,kNN方法较其他方法更为适合。

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

发表评论

0 个回复

  • surfaces_cells
    ABAQUS中提取几何体、提取几何体表面的参数化建模程序块(In ABAQUS, the geometric body is extracted and the parameterized modeling program block is extracted)
    2021-02-19 20:29:44下载
    积分:1
  • UDP
    基于UDP协议的文件传输系统,采用python语言编程实现。(File transfer system based on UDP protocol.)
    2020-06-17 06:20:02下载
    积分:1
  • 移动山峰基准
    bvmbvmnvnmm bmnmbbb
    2023-08-30 11:45:02下载
    积分:1
  • 1天学懂深度学习
    说明:  英文版的深度学习教程,英文好的可以学习一下(English version of the deep learning tutorial, English good can learn.)
    2019-10-17 11:43:44下载
    积分:1
  • Python-GUI-Programming-using-Tcl[1]
    its book to gui development for python
    2014-11-13 11:49:42下载
    积分:1
  • OC&CO.ipynb
    说明:  形态学滤波 膨胀腐蚀操作 结构元素有直线型和半圆形两种(There are two kinds of structural elements in morphological filtering expansion corrosion operation: linear and semicircular)
    2020-06-29 21:10:09下载
    积分:1
  • K-means有注释版本
    K-means算法是最为经典的基于划分的聚类方法,是十大经典数据挖掘算法之一。K-means算法的基本思想是:以空间中k个点为形心进行聚类,对最靠近他们的对象归类。通过迭代的方法,逐次更新各簇的形心的值,直至得到最好的聚类结果。(K-means algorithm is the most classical partition-based clustering method and one of the ten classical data mining algorithms. The basic idea of K-means algorithm is to cluster k points in space and classify the objects closest to them. Iteratively, the values of centroid of clusters are updated one by one until the best clustering results are obtained.)
    2018-08-30 13:53:12下载
    积分:1
  • 深度学习花书
    深度学习领域文献,简称花书,对初学者有很大的参考价值。(Documents in the field of in-depth learning, referred to as flower books, have great reference value for beginners.)
    2020-06-21 18:00:01下载
    积分:1
  • untitled
    平均场强化学习源码,acml2018年最新的研究成果,强化学习必备(Mean field reinforcement learning source)
    2020-10-20 20:37:26下载
    积分:1
  • diveintopythonzh-cn-5.4b-code
    说明:  python工具书查询,之前看到的,资料还不错,可以参考学习下(Reference books for python)
    2020-06-18 07:40:02下载
    积分:1
  • 696522资源总数
  • 104029会员总数
  • 31今日下载