Large-scale learning with structural kernels for class-imbalanced datasets