This repository has been archived by the owner on Nov 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Continuous attribute embedding #102
Merged
jmsfltchr
merged 25 commits into
typedb:master
from
jmsfltchr:continuous-attribute-embedding
Oct 7, 2019
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
6e15638
Introduce a base class for all Attribute embedding models
63764ef
A basic implementation of embedding for continuous attributes
c4be1a8
Update pipeline
12981f4
Merge branch 'master' into continuous-attribute-embedding
f25c659
Change the control flow of graph transformation in the pipeline and b…
ee30fb3
Add synthetic generation of continuous double attributes
21a7410
Alter flow of embedder construction to accommodate continuous attribu…
315588e
Add some basic histograms for the embedding of attributes
b368d59
Results improve when dropout is introduced for continuous attribtues,…
174fb57
Use a loss function that ignores preexisting graph elements, and adds…
a03a7c8
Alter loss function to only penalise for incorrect nodes, not edges
982b72f
Merge branch 'learning-stability' into continuous-attribute-embedding
90e838b
Merge branch 'master' into continuous-attribute-embedding
2f833a4
Shows that continuous attribute embedding was not to blame for reduce…
9e2109c
Using non-zero continuous values which carry some meaning (but add n…
523add9
Empirically 3 layers and subsequent dropout of 0.5 is empirically the…
3c8ffd7
Create histograms of the gradients of the variables during training
9addf8f
Normalise type embeddings in order to increase their magnitudes in li…
231bcb1
Implement gradient clipping, which seems to greatly improve the stabi…
41b6e80
Change the implementation of dropout for continuous attributes
b44babd
Reduce number of training iterations
7be777a
Change control flow of learning for the case where a log directory is…
ced063d
Fix embedding tests
44a920a
Reduce to 1000 training iterations default
8daccec
Correct test name
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this for debugging?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes and also functional -
optimiser.minimize(loss)
computes the gradients and applies them. In order to intercept the gradients to do anything with them you have to first compute them and then apply them manually.Here we do this to: