Base de datos para almacenar matrices de enteros y bitset en [cerrado]

I am building a small image search engine that uses image descriptors that are both binary numbers and integer valued (numpy) arrays which are both the 'keys' which should both form the basis for an inverted file like approach. The value is simply the image name/identifier they originated from.

I am looking for a database / caching solution with a python interface that will allow me to quickly search for these keys and not have me worry about memory and disc management.

preguntado el 27 de agosto de 11 a las 23:08

1 Respuestas

Arrays in Python are instances of the class array
If you mean "list", use preferably the term 'list'

If I understand correctly, you use a data structure having integers as keys, and binary numbers as values: in Python it's a dictionary

If you want to record this data structure in a file, use the module cPickle

.

actualización

there was a 'hello, welcome' at the beginning of my post... I rewrite it here

Respondido el 20 de junio de 20 a las 12:06

I edited a bit for clarity. I specifically do not want to use my own file for storage. - Maurits

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.