satyask / skipgram-model Goto Github PK
View Code? Open in Web Editor NEWImplemented the skip-gram model for Word2Vec, complete with data pre-processing and a sweet word embedding visualizer in tensorboard
Implemented the skip-gram model for Word2Vec, complete with data pre-processing and a sweet word embedding visualizer in tensorboard
Actually, the sliding window used by the skip-gram model is to collect word co-occurrence statistics. Yes, there is an invisible word co-occurrence matrix and the skip-gram model is doing singular value decomposition to it. The two vector representations correspond to left and right singular vectors. Is it possible to represent each word with only one eigenvector? Not possible if the invisible word co-occurrence matrix is not positive definite. It is highly likely that this matrix is not positive definite because the property of positive definite is very rare and abstract. However, I have discovered a way to modify any indefinite matrix into a positive definite matrix without changing the size relationship between any two matrix elements, i.e., if A_ij < A_mn then it is ensured that B_ij < B_mn for any ijmn, and yet A is indefinite and B is positive definite. Contact me if you are interested in representing each word with only one vector representation based on reasonable principles.
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.