网站首页 站内搜索

搜索结果

查询Tags标签: 1.90,共有 1条记录
  • KNN算法

    #include<cstdio> struct node {int id;double tall,dif;//身高和相异度 int type;//类型 假定矮个为0,中等为1,高个为2 }a[105],e[105]; int cnt[10],maxcnt,typ=-1; int n,k; double tabs(double x) {return x<0?-x:x; } void sort(int x)//每次对邻居集合…

    2022/5/6 9:12:44 人评论 次浏览
扫一扫关注最新编程教程