yjxiong / gkmeans Goto Github PK
View Code? Open in Web Editor NEWkmeans implementation
kmeans implementation
Hello, I want to learn this code. When I tried to run the example, the following error happened, could you give me some instruction?
administrator-HP-Z440-Workstation :: Documents/gkmeans ‹master*› » sudo ./examples/kmeans/run_kmeans.sh
I0511 18:06:33.609370 155522 gkmeans.cpp:86] Loading configurations
I0511 18:06:34.501802 155522 gkmeans.cpp:96] System setup done. Solving the problem...
F0511 18:06:34.507516 155522 io.cpp:136] Check failed: data_size[i] == mat->shape(i) (10 vs. 1000) dimension 0 shape mismatch!
*** Check failure stack trace: ***
@ 0x7f1a6389c5cd google::LogMessage::Fail()
@ 0x7f1a6389e433 google::LogMessage::SendToLog()
@ 0x7f1a6389c15b google::LogMessage::Flush()
@ 0x7f1a6389ee1e google::LogMessageFatal::~LogMessageFatal()
@ 0x7f1a635f50b4 gkmeans::LoadDataFromHDF5<>()
@ 0x7f1a635e27b7 gkmeans::KMeansController<>::Seed()
@ 0x4183b8 gkmeans::Controller<>::Solve()
@ 0x416ac0 main
@ 0x7f1a62c28830 __libc_start_main
@ 0x414399 _start
@ (nil) (unknown)
Aborted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.