SYMBOL INDEX (17 symbols across 4 files) FILE: Chapter 12/extract_posts.py class ExtractPosts (line 9) | class ExtractPosts(MRJob): method mapper (line 14) | def mapper(self, key, line): FILE: Chapter 12/nb_predict.py class NaiveBayesTrainer (line 11) | class NaiveBayesTrainer(MRJob): method steps (line 13) | def steps(self): method extract_words_mapping (line 20) | def extract_words_mapping(self, key, value): method reducer_count_words (line 33) | def reducer_count_words(self, key, counts): method predict_mapper (line 38) | def predict_mapper(self, key, value): method ratio_mapper (line 45) | def ratio_mapper(self, word, value): method sorter_reducer (line 52) | def sorter_reducer(self, key, values): FILE: Chapter 12/nb_train.py class NaiveBayesTrainer (line 11) | class NaiveBayesTrainer(MRJob): method steps (line 13) | def steps(self): method extract_words_mapping (line 20) | def extract_words_mapping(self, key, value): method reducer_count_words (line 33) | def reducer_count_words(self, key, counts): method compare_words_reducer (line 38) | def compare_words_reducer(self, word, values): method ratio_mapper (line 45) | def ratio_mapper(self, word, value): method sorter_reducer (line 52) | def sorter_reducer(self, key, values): FILE: Chapter 5/adult_tests.py function test_meandiscrete (line 4) | def test_meandiscrete():