Comments (2)
During the test/valid time, we don't specify the numeric values. Instead, what we would expect is that when a triple has a high numeric value, when ranked against all corruptions, the triple should get a good rank; while a triple with a low numeric value MIGHT probably be noise, and you can expect it to be ranked lower. This needs to be done manually.
For validation in specific, we can train the model to early stop if it does good on high valued triples (i.e. you can pass only high valued triples to early stopping paramter x_valid and early stop on mrr criteria)
from ampligraph.
The numeric values are mainly used during training to focus the models on high valued triples over the low valued ones. At test time one can split the test set into 2 parts (as done in paper) and see if models performs good on these 2 sets using the delta mrr metric
from ampligraph.
Related Issues (20)
- A spelling mistake in `ampligraph/latent_features/models/EmbeddingModel.py` or documentation causes the training model different the documentation's
- Predict Head or Tail candidates using GraphSAGE model
- 'ConvKB' object has no attribute 'corr_batch_size' HOT 1
- load_from_ntriples() doesn't work as expected HOT 1
- Migrate to tensor flow 2 HOT 5
- https://github.com/Accenture/AmpliGraph/blob/d4bf44559cb7178039f21203780be4eb946ea4eb/experiments/IJCAI-21/experiments.py#L12 HOT 1
- ConvE has no attribute tensorboard_logs_path
- generate_candidates() doesn't work as expected - generates same triplet
- Refit a trained model with new triplets HOT 3
- Implement NodePieces HOT 1
- FocusE-ComplEx: Question on using numeric edge weight attributes - prediction performance (MRR) and embeddings are very similar between models with and without edge weights
- discovery.py library, discover_facts function, when returning np.hstack if some array is empty
- Can we pass custom trained embedding as entity and then train the model?
- Multiple GPU for training
- AttributeEerro while running the code HOT 1
- ImportError: cannot import name 'ConvKB' from 'ampligraph.latent_features' HOT 3
- Train and Test Data split error HOT 2
- Ampligraph Embedding for Protein Sequences
- AttributeError: 'ScoringBasedEmbeddingModel' object has no attribute '_reset_compile_cache' HOT 1
- AttributeError: 'ScoringBasedEmbeddingModel' object has no attribute '_reset_compile_cache'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ampligraph.