登录
首页 » python » knn 代码

knn 代码

于 2022-08-09 发布 文件大小:3.56 kB
0 159
下载积分: 2 下载次数: 1

代码说明:

此代码蕴毫升代码 knn 的手段和实现

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

发表评论

0 个回复

  • 通过对用户在移动终端上一个月的行为数据进行分析,为后一天的用户购买行为作出预测,进行推荐
    题目给了31天的数据,我们选择第30天作为分割点。用前30天的数据提取n维特征(每个[user_id,item_id]对可以提取一行特征),用第31天的真实数据去标记每行特征。 举个例子:某个[user_id,item_id]对[9909811,266982489]在前30天出现,如果在第31天它也出现了且behavior_type为购买,则标记这一行的label为1,否则为0。 这样形成了很多行的特征数据,我们把数据进行Logistic Regression训练,得到一个二分类的模型,这样模型就训练好了。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-04-20 08:58:57下载
    积分:1
  • 基于RNN的天气预测
    在树莓派上实现了基于rnn的天气预测的神经网络模型
    2022-02-15 01:34:54下载
    积分:1
  • 电力远程运维系统源代码
    电力远程运维系统源代码,为了满足配电房的监控系统的要求,达到对供电房的全方位监控,使有关人员做出反应,采取措施,并对相关设备进行集中监控、集中维护和集中管理。(Electric power remote maintenance system source code, in order to meet the monitoring system of power distribution room requirements, to achieve all-round monitoring of the power supply of housing, so that the staff response measures and related equipment for centralized monitoring, centralized management and maintenance.)
    2017-09-14 10:45:35下载
    积分:1
  • python 实现TCPSocket服务端
    python 实现TCPSocket服务端
    2021-06-04 00:31:28下载
    积分:1
  • tuxiangpinjie
    这个程序可以用于两个图像的拼接,通过寻找特征点完成拼接(This program can be used to stitch two images and complete the stitching by finding feature points.)
    2019-03-12 15:23:59下载
    积分:1
  • boston_cnn
    说明:  利用CNN实现boston房价的预测,内含代码的详细讲解。(Use CNN to realize the prediction of Boston house price, including the detailed explanation of the code.)
    2020-07-03 15:40:02下载
    积分:1
  • 图像的去噪与增强python
    说明:  此代码可以实现图像的去噪和增强,非常的简洁好用(This code is very clear !!!)
    2020-10-30 09:54:44下载
    积分:1
  • 程序
    通过按钮控制灯,能开关,能停止,能接继电器(Control the light through a button)
    2018-03-19 13:30:11下载
    积分:1
  • 画多边形
    说明:  画椭圆、矩形,勾勒出所需图形的大小与所在的位置。(Draw an ellipse or rectangle to outline the size and location of the desired graphic.)
    2020-06-17 17:40:02下载
    积分:1
  • Lasso+SVM
    说明:  通过lasso降维处理,之后用svm分类器进行分类(Through lasso dimensionality reduction processing, then using svm classifier to classify)
    2020-04-17 23:07:28下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载