We study the ring of algebraic functions on the space of persistence barcodes, with applications to pattern recognition.