Qword2vec:word2vec Transplant version +gui

Source: Internet
Author: User

Order

Word2vec native is not support windows, simply use QT transplant a bit.

Probably did the following several things.

① replaces Linuxapi with Pthread as Qthread.

② canceled Posix_memalign (), memory alignment This thing is said to be the compiler's live, do not know why Mikolov write, is it said that the source code is Google almighty engineer + compiler Master Jeff Dean wrote? (at the end of the paper Jeff Dean's friendship is nominal). [Mikolov13]

Seeing POSIX knows it's the API of the Unix/linux system. Originally wanted to replace Windows under the _aligned_malloc, but has been unable to allocate memory, do not know why.

Then it is said to be able to speed up the visit. I replaced it with the new C + + and didn't feel much speed.

Rumor: Jeff Dean's super-coding ability

"The compiler never warns Jeff Dean that Jeff Dean will warn the compiler." ”

Explanation: When your code is wrong, the compiler gives a warning, but Jeff has a beef fork than the compiler.

"Jeff Dean compiles and runs his code before committing the code, just to verify that the compiler and linker have no problems." ”

Explanation: Jeff's code is never wrong, and he compiles the code just to make sure that the compiler and linker do not have bugs.

"Jeff Dean wears pants on only one leg at a time, but if he has a lot of legs, you'll find that he wears pants with a time complexity of O (log n)"

Explanation: Jeff Dean's algorithm for wearing pants is more complex than linear, so if he has a lot of legs, he will save time on his pants.

"When Richard Stallman heard that Jeff Dean's autobiography dedicated to the Kindle platform, he went to buy the Kindle. ”

Explanation: Richard Stallman is a well-known person who strongly opposes non-free software and never buys and uses the Kindle. But Jeff Dean is so magical that Richard will go against his principles because he wants to read Jeff's autobiography. ”

"Jeff Dean writes the binary machine code directly, and he writes the source code to give the other developers a reference." ”

Explanation: All the code is compiled into binary machine code before execution, and Jeff is writing binary machine code directly, and he writes the source code mainly for the convenience of other programmers to understand.

"When Jeff came to interview Google, he was asked about the condition that equation P=np was set up, and he answered, p=0 or n=1. Then, when the interviewer laughed, he glanced at Google's public certificate and wrote the corresponding private key directly on the whiteboard. ”

Explanation: "P and NP have always been an unresolved issue in the field of computer science, but Jeff Dean has thought of it as an algebraic problem, and he directly uses the brain to work out the corresponding private key based on Google's public certificate, which is impossible for supercomputers to see."

"The X86-64 specification has several illegal directives that mark ' private use ', which are actually dedicated to Jeff Dean. ”

Explanation: Private Illegal CPU instructions are not available to anyone, but Jeff Dean can use them.

"Jeff Dean's ergonomics assessment is to protect his keyboard. ”

Explanation: The usual assessment of ergonomics is to correct posture and protect your health, but Jeff is trying to protect his keyboard.

"All the pointers are pointing to Jeff Dean. ”

Explanation: Pointers are the heart of C programming, but Jeff Dean is the center of the programming world.

"At the end of 2000, Jeff Dean's writing code was 40 times times faster because he upgraded his keyboard to USB 2.0. ”

Explanation: The speed of the interface between the keyboard and the computer affected Jeff Dean's coding speed.

Go on

③ wrote the GUI, but the hyper-parameter is not complete, later to fill.

④ only wrote the training section, distance ready to use QT's ultra-strong drawing Qgraphicsview implementation.

GitHub

Https://github.com/neopenx/QWord2Vec

Qword2vec for Windows

Take care of students with Windows, even the sample Text8 text is packaged.

Http://pan.baidu.com/s/1dDjhEMH

Word2vec Linux Source code

Code.google was wall, csdn on incredibly this thing still collect points.

Http://pan.baidu.com/s/1gdrQYxt

Qword2vec:word2vec Transplant version +gui

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.