Use plain ASCII string representation.
Methods
|
|
__init__
dump
load
|
|
__init__
|
__init__ (
self,
database_name,
mode='store',
)
|
|
dump
|
dump (
self,
a,
identifier,
)
Dump NumPy array a with identifier.
|
|
load
|
load (
self,
identifier,
bestapprox=None,
)
Load NumPy array with a given identifier. In case the
identifier is not found, bestapprox != None means that
an approximation is sought. The bestapprox argument is
then taken as a function that can be used for computing
the distance between two identifiers id1 and id2.
|
|