A tree-based kernel for graphs with continuous attributes