transform

old TransE-like models
git clone https://esimon.eu/repos/transform.git
Log | Files | Refs | README

commit 92edccd19c7fe9e4e0e0f36bf2fd04944d2ea272
parent 2a950f40e9a3981adb72595e3807c00e8211ff55
Author: Étienne Simon <esimon@esimon.eu>
Date:   Tue, 10 Jun 2014 15:10:30 +0200

Datalog results on test data

Diffstat:
Mmodel.py | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/model.py b/model.py @@ -175,6 +175,7 @@ class Model(object): (mean, std, top10) = self.error('test') log('# Test model "{0}": mean: {1:<15} std: {2:<15} top10: {3:<15}\n'.format(self.tag, mean, std, top10)) + datalog(self.config['datalog path']+'/'+self.config['model name'], 'test', mean, std, top10) if save: log('# Test model "{0}": saving...\n'.format(self.tag))