-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathversion.py
65 lines (62 loc) · 2.62 KB
/
version.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# (C) William W. Cohen and Carnegie Mellon University, 2016
#
# version number tracking for Tensorlog
VERSION = '1.3.6'
# externally visible changes:
#
# version 1.0: refactored cleaned-up version of nips-submission codebase
# version 1.1: thread-safe gradient and eval computation, and a parallel learner
# version 1.1.1: cleaned up trace function api, bug fix in parallel learner
# version 1.1.2: tracer output is not per example, no parallel option in funs
# version 1.2.0: not sure, really.
# version 1.2.1: plearn replaces epoch-level status monitoring with merged results minibatches
# version 1.2.2: add learner option to expt command-line
# version 1.2.3:
# add p(X,Y) :- ... {foo(F): q(X,F)} templates, propprProg.setRuleWeights(), propprProg.setFeatureWeights()
# list --prog xxx --ruleids
# more options for expt
# version 1.2.4:
# added --params and --weightEpsilon to expt.py
# made conf.ops.long_trace a number
# added interp.set()
# version 1.2.5:
# cross-compilation
# version 1.3.0:
# tensorlog is a module
# new api for cross compilers + "simple" api
# type declaration in cfacts: # :- actedIn(actor_t,movie_t)
# parameter declarations: # :- trainable(posWeight,1)
# OOV marker for test/train .exam files
# interp.Interp split off from program
# version 1.3.1:
# simple.Compiler() fleshed out and tested for tensorflow
# version 1.3.1a:
# AbstractCrossCompiler.possibleOps() added
# version 1.3.2:
# binary user-defined plugins, eg
# plugins = program.Plugins()
# plugins.define('double/io', lambda x:2*x, lambda inputType:inputType)
# prog = program.ProPPRProgram(rules=rules,db=db,plugins=plugins)
# simple.RuleBuilder
# version 1.3.3:
# split of version.py into different file
# refactored schema
# simple.RuleBuilder -> simple.Builder
# version 1.3.4:
# bug fix in type inference
# new serialization and use of file-like objects for load* methods
# db.schema.serializeTo(filelike)
# db.serializeDataTo(filelike,filter=None|params|noparams)
# db.importSerializeDataFrom(filelike)
# pythonic syntax for parser (automatic for files with extension .tlog)
# version 1.3.5:
# api typo fix: db.importSerializeDataFrom(filelike) -> importSerializedDataFrom(filelike)
# simple.compiler.load_xxx_examples can be passed file-like objects
# builder rules will print in pythonic syntax
# now working
# builder.db = "dbspec"
# builder.db += "file"
# bug fixes for db += file, remove matrixdb.addFile which doesn't work well
# version 1.3.6:
# program.serialize, Program.deserialize
# datasets/socialgraphs