GithubHelp home page GithubHelp logo

zhouxiaoxu / kmeans Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiegonghai/kmeans

0.0 0.0 0.0 6 KB

Simple Kmeans algorithm, Implemented in C++,Support "sqeuclidean","cosine","haming distance".

C++ 100.00%

kmeans's Introduction

Kmeans

abstract: Simple Kmeans algorithm, Implemented in C++,Support "sqeuclidean","cosine","haming distance".

run main.cpp if you want to use this in you project, you can add new namespace and add these function to your own project.

further: this algorithm not give an very efficient implementation, if you need, you can use kd-tree or ball tree, combine with parallel implementation.

try to merge some categories to reduce the Total SSE will be better if you don't know the number of specific categories.

kmeans算法的C++实现,支持欧式,余玄,海明距离衡量,可输出每个类的误差平方和以及总的误差平方和 值得注意的是: kmeans的效果往往与初始点的选择有很大关系,读者可加入个性化的选择方式,另外可考虑 kd-tree以及并行实现

kmeans's People

Contributors

xiegonghai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.