Network-based gene function prediction through kernelized score functions