登录
首页 » python » KNN

KNN

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

代码说明:

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

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

发表评论

0 个回复

  • clustering
    说明:  各种聚类方法的python代码,包括k_means聚类以及实现过程(Python code for various clustering methods, including k_means clustering and implementation procedures)
    2020-01-11 10:27:11下载
    积分:1
  • test
    说明:  通过python 脚本在abaqus 创建模型(Creating model in ABAQUS through Python script)
    2020-12-29 18:39:00下载
    积分:1
  • Statistical Learning Tutorial for Beginners
    说明:  方块图,CDF,相关性,协方差,假设检验。(Box plot, CDF, correlation, covariance, hypothesis testing.)
    2019-11-16 03:12:47下载
    积分:1
  • interpy-zh-v1.3.pdf
    说明:  《Python进阶》是《Intermediate Python》的中?译本(This talk is about web scraping in Python, why web scraping is useful and what Python libraries are available to help you. I will also look into proprietary alternatives and will discuss how they work and why they are not useful. I will show you different libraries used in web scraping and some example code so that you can choose your own personal favourite. I will also tell why writing your own scrapper in scrapy allows you to have more control over the scraping process.)
    2020-04-26 14:52:55下载
    积分:1
  • Python编程:从入门到实践
    饱受赞誉的Python入门教程,语言十分平易近人,本资源是非扫描PDF版(The highly acclaimed Python introductory tutorial is very accessible in language. This resource is a non-scanned PDF version.)
    2020-06-16 14:40:01下载
    积分:1
  • tubular-5d-zong-TexGen-matlabChange_oblong
    三维全五向编织复合材料前处理程序,基于python语言,是abaqus软件的二次开发程序,使用前需要配置matlab路径和动态链接库。(3d braided composite modelling program in abaqus by python. when using, matlab .dll should be established.)
    2020-11-24 17:09:33下载
    积分:1
  • opf
    说明:  该程序基于python对电力系统仿真进行分析。(The program is based on Python to analyze the power system simulation.)
    2020-09-29 20:31:38下载
    积分:1
  • vs2013调用python ocr
    本程序使用vs2013调用百度python ocr实现图片上的汉字识别,本机需要安装python工程中路径均已设置好,另外电脑需要联网
    2022-05-20 15:35:12下载
    积分:1
  • TSP_new
    这是一个用于解决TSP问题的、适用于初学者的贪心算法。(This is a used to solve the TSP problem, for beginners to greedy algorithm.)
    2014-12-16 18:27:44下载
    积分:1
  • django
    说明:  用django实现用户管理系统的后台包括前端展示,主要功能包括从前端页面直接对数据库进行增删改查,还有登录,身份验证,导入导出excel,增加装饰器实现页面保护,分页等功能,可直接用于向内部展示。(The background of user management system with Django includes front-end display. The main functions include adding, deleting, modifying and checking the database directly from the front-end page, login, authentication, importing and exporting excel, adding decorator to realize page protection, paging and other functions, which can be directly used for internal display.)
    2019-11-28 17:32:01下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载