This approach provides you with the number of rows and columns in the DataFrame, as well as information about the data type in each column and the number of null values. import pandas as pd # Creating a sample DataFrame df = pd.DataFrame({'Name': ['Alice', 'Bob', 'Charlie'], 'Age...
As you can see, the rules in the 98%+ confidence region appear to be rules that don't really tell us anything. i.e. Birmingham -> West Midlands Police. Let's remove those from the analysis useful_rules_df=rules_df_pd[rules_df_pd['confidence']<0.98]\ .sort_values(by="confidence"...
Total Dominance -The last measure of dominance summarizes the additional contributions of each predictor to all subset models by averaging all the conditional values. In the example on table 3, this consists of averaging the four averaged entries in each column. In below table, we have illustrated...