登录
首页 » c++ » 人工智能文本处理:KNN算法

人工智能文本处理:KNN算法

于 2022-03-18 发布 文件大小:1.25 MB
0 176
下载积分: 2 下载次数: 1

代码说明:

本文用C++语言实现K-NN算法中的1-NN,用于文字处理中的回归和分类问题。文字处理的数据集包括测试集和训练集,本代码处理的文本为情感分类,即对给定几个单词的情感进行判断。

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

发表评论

0 个回复

  • close_loop
    伺服电机,闭环控制。包括DSP28335的系统初始化,AD的初始化,速度、位置的计算等(server motor,close-loop controller.it includes the inition of DSP 28335,inition steps of ad programe and the process of motor s speed and postion calcult. )
    2014-04-01 22:53:11下载
    积分:1
  • proteus-simulation-DC-power-supply
    proteus仿真+程序关于数控直流稳压电源,毕业设计的,也可用于课程设计(proteus simulation program on+ NC DC power supply, graduation design can also be used for curriculum design)
    2021-04-06 23:29:02下载
    积分:1
  • 安卓版的语音小助手
    一款安卓版的语音小助手,调用了讯飞的API,实现了用语音指令打电话、发短信、查看日历、搜索、打开应用等数十项功能,类似于APPLE的SIRI,用Android studio开发。
    2022-04-30 08:17:20下载
    积分:1
  • Sharp
    超市进销存管理软件 Charp2005(Invoicing management software Charp2005 Supermarket)
    2008-07-02 09:05:30下载
    积分:1
  • MATLAB+DSP
    数字滤波器的MATLAB设计与DSP上的实现(Digital Filter Design with MATLAB DSP Implementation)
    2007-04-18 14:51:24下载
    积分:1
  • The-CPP-PL
    C++ 之父作品,据说是学习C++最好的教程,里面有C++的最新内容标准。(C++ programming language is write by the father of C++, it s said that the book is the most useful book to learn C++.)
    2013-11-19 10:21:02下载
    积分:1
  • 一款矢量变频器
    变频器控制方式很多,但矢量控制是目前最好的控制方式之一,该款交流矢量变频器控制范例,以供大家学习,可能会给您带来不一样的收获。。。。。。。。。。。。。
    2022-03-30 16:26:58下载
    积分:1
  • insert
    对于单片机上的一些简单的开发程序和他们的应用(For some simple microcontroller development process and their application)
    2014-08-07 15:08:42下载
    积分:1
  • lcd_touch
    LPC双核单片机,触摸液晶LCD的简单应用(LPC microcontroller, LCD touch LCD simple application)
    2015-05-07 18:12:20下载
    积分:1
  • 读者写者问题
    说明:  1、定义一个数据缓存buffer及用于实现同步互斥的信号量。 2、定义一个读者函数: ?当有写者在占用buffer时,读者应该等待,直到写者不再使用该buffer。 ?当有其他读者在占用buffer时,读者可对buffer进行读取操作。 ?当buffer中有数据时,则从其中读取一个数据,并显示然后退出。 ?当buffer中没有数据时,应等待,直到buffer中有数据可读。 3、定义一个写者函数 ?当有读者在占用buffer时,写者应该等待,直到所有的读者都退出为止。 ?当有其他写者占用buffer时,该写者应该等待,直到占用buffer的写者退出为止。 ?当buffer有空闲时,写者应该在buffer中写入一个数据并退出。 ?当buffer满时,写者应该等待,直到buffer有空闲为止。 4、定义主函数,在其中可以任意创建读者与写者。 可根据用户输入创建读者或写者进程(线程)。(1. Define a data buffer and semaphores for synchronization and mutual exclusion. 2. Define a reader function: When a writer is occupying the buffer, the reader should wait until the writer no longer uses the buffer. When other readers occupy the buffer, they can read the buffer. When there is data in the buffer, read a data from it, display and exit. When there is no data in the buffer, wait until the data in the buffer is readable. 3. Define a writer function When a reader is occupying the buffer, the writer should wait until all readers quit. When other writers occupy the buffer, the writer should wait until the writer who occupies the buffer exits.)
    2019-12-27 18:49:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载