Data mining techniques fire code