<jupyter_start><jupyter_text>Call the API from another application<jupyter_code>!curl -X POST -H "Content-Type: application/json" -d '{"Survived": 1, "Sex": 0, "Age": 72, "SibSb": 2, "Parch": 0, "Fare": 28.35}' http://127.0.0.1:5000/class<jupyter_output>I predict that person [1, 0, 72, 2, 0, 28.35] was in class [2] of the Titanic
{'fraction_non_alphanumeric': 0.1903323262839879, 'fraction_numerical': 0.09365558912386707, 'mean_word_length': 5.148148148148148, 'pattern_counts': {'":': 6, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '363944', 'license': 'MIT', 'n_tokens_mistral': 165, 'n_tokens_neox': 136, 'n_words': 41, 'path': 'Chapter12/Activity12.01/validation.ipynb', 'repo_name': 'jeroenzwiers/The-Artificial-Intelligence-Infrastructure-Workshop', 'size': '331'}