{'fraction_non_alphanumeric': 0.016181229773462782, 'fraction_numerical': 0.007119741100323625, 'mean_word_length': 4.833962264150943, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Implementation of Cascade Learning using Apache Spark

With the exponential growth of data, many technologies have also been developed to cope with the need to process such big dataset and generate meaningful information out of those dataset. To deal with such problems several frameworks were developed and Apache Hadoop and Apache Spark are one of the best in that category, which proved to be very useful in dealing with such large datasets. In this paper we are dealing with two approaches, both demonstrating cascade learning which is one of the best ways to improve accuracy of a machine learning model such as ours. The dataset considered here is from cosmology redshift data. In the first approach we are using Elephas that helps us in developing an end to end deep learning pipeline in the Apache Spark environment. Once the model gives out the result, we are implementing Cascading over it. And for the second approach we transformed the Redshift attribute into eight different classes ranging from 0 to 7. Later we created a framework using Apache Spark and imposed Cascade Learning over it and ran our model based on modified dataset. The goal in both the approaches is to improve the accuracy with the help of cascading. Among five classifiers we experimented including Decision Tree, Random Forest, Naive Bayes, Logistic Regression and Multilayer Perceptron, the best result came from the Decision Tree where training accuracy improved by 0.98%, test accuracy improved by 1.24% and test precision improved by 0.31% after cascading.