<jupyter_start><jupyter_text>Overfitting & Regularization in Logistic Regression  Question 1 *Screenshot taken from [Coursera](https://www.coursera.org/learn/ml-classification/exam/jp0Yp/overfitting-regularization-in-logistic-regression)*  Question 2 *Screenshot taken from [Coursera](https://www.coursera.org/learn/ml-classification/exam/jp0Yp/overfitting-regularization-in-logistic-regression)*<jupyter_code>num_correct = 23100
num_error = 1900
error = num_error / float(num_correct + num_error)
print error<jupyter_output>0.076
{'fraction_non_alphanumeric': 0.11132075471698114, 'fraction_numerical': 0.03207547169811321, 'mean_word_length': 7.296875, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '378922', 'license': 'MIT', 'n_tokens_mistral': 206, 'n_tokens_neox': 180, 'n_words': 26, 'path': 'machine_learning/4_clustering_and_retrieval/lecture/week2/.ipynb_checkpoints/quiz-Overfitting & Regularization in Logistic Regression-checkpoint.ipynb', 'repo_name': 'bomin0624/coursera-university-of-washington', 'size': '530'}