<jupyter_start><jupyter_text>Spider data from _Suzuki et al. (2006)_<jupyter_code>data = """Grains	Spiders
0.245	absent
0.247	absent
0.285	present
0.299	present
0.327	present
0.347	present
0.356	absent
0.36	present
0.363	absent
0.364	present
0.398	absent
0.4	present
0.409	absent
0.421	present
0.432	absent
0.473	present
0.509	present
0.529	present
0.561	absent
0.569	absent
0.594	present
0.638	present
0.656	present
0.816	present
0.853	present
0.938	present
1.036	present
1.045	present
"""

df = pd.read_table(io.StringIO(data))
df.Spiders
df.Spiders = df.Spiders == 'present'
df.head()
df.Spiders
df.Spiders = df.Spiders*1
df.Spiders
df.Grains
df.Spiders
df.plot.scatter(x='Grains', y='Spiders', c='DarkRed')
plt.ylabel('Spiders present?')
sns.despine()

'''df = pd.DataFrame([[5.1, 3.5, 0], [4.9, 3.0, 0], [7.0, 3.2, 1],[6.4, 3.2, 1], [5.9, 3.0, 2]],
columns=['length', 'width', 'species'])
ax1 = df.plot.scatter(x='length', y='width', c='DarkBlue')'''



import sklearn.linear_model<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1702755905511811, 'fraction_numerical': 0.1377952755905512, 'mean_word_length': 4.65, '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': '179927', 'license': 'Apache-2.0', 'n_tokens_mistral': 533, 'n_tokens_neox': 473, 'n_words': 108, 'path': '.ipynb_checkpoints/simple_logistic_regression-checkpoint.ipynb', 'repo_name': 'C24IO/Pytorch-DeepLearn', 'size': '1016'}