Data mining in public and private sectors