id: 1 unit: def create_datasources() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 35 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: def create_data_sources() file: targeted-marketing-python/build_model.py start line: 0 end line: 0 size: 34 LOC McCabe index: 1 number of parameters: 5 id: 3 unit: def process_status() file: social-media/gather-data.py start line: 0 end line: 0 size: 32 LOC McCabe index: 8 number of parameters: 2 id: 4 unit: def fetch_tweets() file: social-media/gather-data.py start line: 0 end line: 0 size: 30 LOC McCabe index: 9 number of parameters: 1 id: 5 unit: def collect_perf() file: k-fold-cross-validation/collect_perf.py start line: 0 end line: 0 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: def main() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: def find_optimal_threshold() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 23 LOC McCabe index: 1 number of parameters: 2 id: 8 unit: def determine_changed_bucket_policy() file: social-media/create-aml-model.py start line: 0 end line: 0 size: 22 LOC McCabe index: 12 number of parameters: 2 id: 9 unit: def check_bucket_policy() file: social-media/create-aml-model.py start line: 0 end line: 0 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: def prepare() file: social-media/scanner.py start line: 0 end line: 0 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: def _guess_variable_type() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 12 unit: def poll_until_completed() file: ml-tools-python/wait_for_entity.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 13 unit: def realtime_predict() file: ml-tools-python/realtime.py start line: 0 end line: 0 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: def main() file: social-media/create-aml-model.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 15 unit: def create_ml_model() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: def create_data_source() file: social-media/create-aml-model.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 6 id: 17 unit: def create_model() file: targeted-marketing-python/build_model.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 18 unit: def user_to_map() file: social-media/gather-data.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 19 unit: def main() file: social-media/gather-data.py start line: 0 end line: 0 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: def parse_options() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 21 unit: def use_model() file: targeted-marketing-python/use_model.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 22 unit: def status_to_map() file: social-media/gather-data.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 23 unit: def plot_class_histograms() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 24 unit: def validate() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 15 LOC McCabe index: 7 number of parameters: 1 id: 25 unit: def upload_lambda_function() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: def scan() file: social-media/scanner.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: def plot_threshold_costs() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 28 unit: def build_rearrangement_str() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: def create_data_source_for_scoring() file: targeted-marketing-python/use_model.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 30 unit: def add_kinesis_as_source_to_lambda() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 31 unit: def parse_args_to_dict() file: ml-tools-python/realtime.py start line: 0 end line: 0 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: def poll_until_completed() file: targeted-marketing-python/use_model.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: def create_lambda_function_zip() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 34 unit: private void getRealtimeEndpoint() file: mobile-android/AndroidRealtimePrediction.java start line: 56 end line: 69 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 35 unit: def main() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 11 LOC McCabe index: 5 number of parameters: 0 id: 36 unit: def batch_predictions_already_evaluated() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: def from_file() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 5 id: 38 unit: def __init__() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 39 unit: def create_evaluation() file: targeted-marketing-python/build_model.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 40 unit: def poll_until_ready() file: social-media/create-aml-model.py start line: 0 end line: 0 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: def read_test_predictions() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 42 unit: def __init__() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: def get_variable_by_idx() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: def _guess_schema_from_data() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 45 unit: def build_datasource_name() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: def create_eval() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: def main() file: social-media/push-json-to-kinesis.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 48 unit: def complete_batch_prediction() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 49 unit: def batch_prediction_data_bucket_key() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: def parse_handle() file: social-media/gather-data.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 51 unit: def create_role() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: public PredictResult predict() file: mobile-android/AndroidRealtimePrediction.java start line: 75 end line: 85 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: def _new() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 54 unit: def _name_attributes() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 55 unit: def build_model() file: targeted-marketing-python/build_model.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 56 unit: def _load_csv_data() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 57 unit: def build_folds() file: k-fold-cross-validation/build_folds.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 58 unit: def sleep_then_update_flags() file: social-media/gather-data.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: def role_exists() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: def create_stream() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: def delete_realtime_endpoint() file: ml-tools-python/realtime.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: def aml_connection() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: def _guess_if_header_line_present() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: def read_header() file: social-media/build-aml-training-dataset.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: def pretty_print() file: social-media/create-aml-model.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: def build_string_to_string_dictionary() file: social-media/push-json-to-kinesis.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: public AndroidRealtimePrediction() file: mobile-android/AndroidRealtimePrediction.java start line: 46 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 68 unit: def _json_kwargs() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 69 unit: def write_to_file() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 70 unit: def set_target() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: def get_variable_by_name() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 72 unit: def __init__() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: def build() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: def create_lambda_function() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: def pause_until_kinesis_active() file: social-media/create-lambda-function.py start line: 0 end line: 0 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 76 unit: def as_obj() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: def as_json_string() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: def save_to_s3() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 79 unit: def utc_now_str() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: def apply_costs() file: cost-based-ml/cost_based_ml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 5 id: 81 unit: def new_data_source_id() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: def new_ml_model_id() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: def new_evaluation_id() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: def new_batch_prediction_id() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: def validate() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: def set_variable_name() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 87 unit: def set_variable_type() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 3 id: 88 unit: def num_attributes() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: def attributes() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: def set_header_line() file: ml-tools-python/awspyml.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: def __str__() file: k-fold-cross-validation/fold.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1