<jupyter_start><jupyter_text>**1- diabetic 0- Not**<jupyter_code>print("\nLast five\n----------------------")
diabetes_dataset.tail()
diabetes_dataset.info()
diabetes_dataset.describe()
temp = diabetes_dataset['Outcome'].value_counts().plot.pie(autopct = "%1.1f%%", radius = 2.5, startangle = 90)
temp.set_ylabel('')
plt.show()
def count_plot(feature):
    plt.rcParams['figure.figsize'] = (20,10) # columns, rows
    sns.countplot(x = feature, data = diabetes_dataset, palette = random.choice(['Set1', 'dark', 'prism', 'Set2']))
    plt.title(feature.upper(), fontsize = 20)
    plt.show()
count_plot('Age')
features = diabetes_dataset.columns.tolist()
features.remove('Outcome')
features
def violin_plot(feature):
    sns.violinplot(y = feature, data = diabetes_dataset, color = random.choice(['r', 'b', 'g']))
    plt.title(feature.upper(), fontsize = 15)
plt.rcParams['figure.figsize'] = (20,15)
sub_plot_seed = 241
for feature in features:
    plt.subplot(sub_plot_seed)
    violin_plot(feature)
    sub_plot_seed += 1
    
plt.show()
def comparison_plot(feature):
    sns.barplot(y = feature, x = 'Outcome', data = diabetes_dataset)
    plt.title(feature + " v/s Outcome", fontsize = 15)
plt.rcParams['figure.figsize'] = (20,20)
sub_plot_seed = 241
for feature in features:
    plt.subplot(sub_plot_seed)
    comparison_plot(feature)
    sub_plot_seed += 1
    
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17542613636363635, 'fraction_numerical': 0.02556818181818182, 'mean_word_length': 4.704453441295547, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '215285', 'license': 'MIT', 'n_tokens_mistral': 532, 'n_tokens_neox': 494, 'n_words': 93, 'path': '.ipynb_checkpoints/Decision Tree for diabetes prediction-checkpoint.ipynb', 'repo_name': 'yash-a-18/Decision-Tree-of-diabetes-prediction', 'size': '1408'}