master-thesis/EvolutionaryAlgorithm/EvolutionaryAlgorithm.ipynb

7225 lines
430 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Evolutionary Algorithm"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"the Evolutionary Algorithm that is supposed to create new recipes based on the Recipe Matrices that are created during the *Recipe Analysis* step.\n",
"\n",
"The Population of the Evolutional Algorithm consists of a set of recipe trees. Each Recipe Tree consists of several Nodes where each node is of one of the following Types:\n",
"\n",
"* **Ingredient Node:**\n",
" these are the leaf nodes. Containing an ingredient. The score is determined by the actions, that are applied if you follow up the path. At the Moment it measures how many duplicate actions are applied.\n",
"* **Action Node:**\n",
" An Action that is applied on it's child and this child's subtree. Score indicates the average likelihood that this action is applied on the ingredients inside the subtree\n",
"* **Mix Node:**\n",
" Mixing ingredients together. This is also the only Node that can have more than one child. The score is the average of all pairwise likelihoods that two ingredients are mixed togethter"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"sys.path.append(\"../\")\n",
"sys.path.append(\"../RecipeAnalysis/\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
" <script type=\"text/javascript\">\n",
" window.PlotlyConfig = {MathJaxConfig: 'local'};\n",
" if (window.MathJax) {MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}\n",
" if (typeof require !== 'undefined') {\n",
" require.undef(\"plotly\");\n",
" requirejs.config({\n",
" paths: {\n",
" 'plotly': ['https://cdn.plot.ly/plotly-latest.min']\n",
" }\n",
" });\n",
" require(['plotly'], function(Plotly) {\n",
" window._Plotly = Plotly;\n",
" });\n",
" }\n",
" </script>\n",
" "
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/html": [
" <script type=\"text/javascript\">\n",
" window.PlotlyConfig = {MathJaxConfig: 'local'};\n",
" if (window.MathJax) {MathJax.Hub.Config({SVG: {font: \"STIX-Web\"}});}\n",
" if (typeof require !== 'undefined') {\n",
" require.undef(\"plotly\");\n",
" requirejs.config({\n",
" paths: {\n",
" 'plotly': ['https://cdn.plot.ly/plotly-latest.min']\n",
" }\n",
" });\n",
" require(['plotly'], function(Plotly) {\n",
" window._Plotly = Plotly;\n",
" });\n",
" }\n",
" </script>\n",
" "
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"/home/jonas/.local/lib/python3.7/site-packages/ipykernel_launcher.py:39: TqdmExperimentalWarning:\n",
"\n",
"Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)\n",
"\n"
]
}
],
"source": [
"import settings\n",
"\n",
"import pycrfsuite\n",
"\n",
"import json\n",
"\n",
"import db.db_settings as db_settings\n",
"from db.database_connection import DatabaseConnection\n",
"\n",
"from Tagging.conllu_generator import ConlluGenerator\n",
"from Tagging.crf_data_generator import *\n",
"\n",
"from RecipeAnalysis.Recipe import Ingredient\n",
"\n",
"import ea_tools\n",
"\n",
"from difflib import SequenceMatcher\n",
"\n",
"import numpy as np\n",
"\n",
"import ActionGroups as AG\n",
"\n",
"import plotly.graph_objs as go\n",
"from plotly.offline import download_plotlyjs, init_notebook_mode, plot, iplot\n",
"from plotly.subplots import make_subplots\n",
"init_notebook_mode(connected=True)\n",
"\n",
"from graphviz import Digraph\n",
"\n",
"import itertools\n",
"\n",
"import random\n",
"\n",
"import plotly.io as pio\n",
"pio.renderers.default = \"jupyterlab\"\n",
"\n",
"from IPython.display import Markdown, HTML, display\n",
"\n",
"from tqdm.autonotebook import tqdm\n",
"\n",
"from copy import deepcopy"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [],
"source": [
"def gaussian(x, mu, sig):\n",
" return 1./(np.sqrt(2.*np.pi)*sig)*np.exp(-np.power((x - mu)/sig, 2.)/2)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## load adjacency matrices"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [],
"source": [
"import dill\n",
"m_act = dill.load(open(\"../RecipeAnalysis/m_act.dill\", \"rb\"))\n",
"m_mix = dill.load(open(\"../RecipeAnalysis/m_mix.dill\", \"rb\"))\n",
"m_base_act = dill.load(open(\"../RecipeAnalysis/m_base_act.dill\", \"rb\"))\n",
"m_base_mix = dill.load(open(\"../RecipeAnalysis/m_base_mix.dill\", \"rb\"))\n",
"\n",
"\n",
"m_grouped_mix = dill.load(open(\"../RecipeAnalysis/m_grouped_mix_raw.dill\", \"rb\"))\n",
"m_grouped_act = dill.load(open(\"../RecipeAnalysis/m_grouped_act_raw.dill\", \"rb\"))\n",
"m_grouped_base_act = dill.load(open(\"../RecipeAnalysis/m_grouped_base_act_raw.dill\", \"rb\"))\n",
"\n",
"\n",
"#m_act.apply_threshold(3)\n",
"#m_mix.apply_threshold(3)\n",
"#m_base_act.apply_threshold(5)\n",
"#m_base_mix.apply_threshold(5)\n",
"\n",
"\n",
"#c_act = m_act.get_csr()\n",
"#c_mix = m_mix.get_csr()\n",
"#c_base_act = m_base_act.get_csr()\n",
"#c_base_mix = m_base_mix.get_csr()\n",
"\n",
"m_act.compile()\n",
"m_mix.compile()\n",
"m_base_act.compile()\n",
"m_base_mix.compile()\n",
"\n",
"m_grouped_mix.compile()\n",
"m_grouped_act.compile()\n",
"m_grouped_base_act.compile()\n",
"\n",
"c_act = m_act._csr\n",
"c_mix = m_mix._csr\n",
"c_base_act = m_base_act._csr\n",
"c_base_mix = m_base_mix._csr"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [],
"source": [
"c_grouped_mix = m_grouped_mix._csr\n",
"c_grouped_act = m_grouped_act._csr\n",
"c_grouped_base_act = m_grouped_base_act._csr"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [],
"source": [
"actions = m_act.get_labels()[0]"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
"base_ingredients = m_base_mix.get_labels()"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [],
"source": [
"sym_label_buffer = {}\n",
"fw_label_buffer = {}\n",
"bw_label_buffer = {}"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### helper functions for adjacency matrices"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [],
"source": [
"def get_sym_adjacent(key, m, c):\n",
" index = m._label_index[key]\n",
" i1 = c[index,:].nonzero()[1]\n",
" i2 = c[:,index].nonzero()[0]\n",
" \n",
" i = np.concatenate((i1,i2))\n",
" \n",
" if m in sym_label_buffer:\n",
" names = sym_label_buffer[m][i]\n",
" else:\n",
" names = np.array(m.get_labels())\n",
" sym_label_buffer[m] = names\n",
" names = names[i]\n",
" \n",
" counts = np.concatenate((c[index, i1].toarray().flatten(), c[i2, index].toarray().flatten()))\n",
" \n",
" s = np.argsort(-counts)\n",
" \n",
" return names[s], counts[s]"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [
"def get_forward_adjacent(key, m, c):\n",
" index = m._x_label_index[key]\n",
" i = c[index,:].nonzero()[1]\n",
" \n",
" if m in fw_label_buffer:\n",
" names = fw_label_buffer[m][i]\n",
" else:\n",
" names = np.array(m._y_labels)\n",
" fw_label_buffer[m] = names\n",
" names = names[i]\n",
" \n",
" \n",
" counts = c[index, i].toarray().flatten()\n",
" \n",
" s = np.argsort(-counts)\n",
" \n",
" return names[s], counts[s]"
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"def get_backward_adjacent(key, m, c):\n",
" index = m._y_label_index[key]\n",
" i = c[:,index].nonzero()[0]\n",
" \n",
" if m in bw_label_buffer:\n",
" names = bw_label_buffer[m][i]\n",
" else:\n",
" names = np.array(m._x_labels)\n",
" bw_label_buffer[m] = names\n",
" names = names[i]\n",
" \n",
" \n",
" counts = c[i, index].toarray().flatten()\n",
" \n",
" s = np.argsort(-counts)\n",
" \n",
" return names[s], counts[s]"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {},
"outputs": [],
"source": [
"def sym_sum(key, m, c):\n",
" return np.sum(get_sym_adjacent(key,m,c)[1])\n",
"\n",
"def fw_sum(key, m, c):\n",
" return np.sum(get_forward_adjacent(key,m,c)[1])\n",
"\n",
"def bw_sum(key, m, c):\n",
" return np.sum(get_backward_adjacent(key,m,c)[1])"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {},
"outputs": [],
"source": [
"def to_grouped_ingredient(ing:Ingredient):\n",
" groups = set()\n",
" for act in ing._action_set:\n",
" groups.add(AG.groups[act])\n",
" grouped_ingredient = Ingredient(ing._base_ingredient)\n",
" for g in groups:\n",
" grouped_ingredient.apply_action(g)\n",
" return grouped_ingredient"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### different score functions"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"##### normalizations"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [],
"source": [
"def fw_normalization_factor(key, m, c, quotient_func):\n",
" ia = m._x_label_index[key]\n",
" \n",
" occurances = c[ia,:].nonzero()[1]\n",
" \n",
" return 1. / quotient_func(c[ia,occurances].toarray())\n",
"\n",
"def bw_normalization_factor(key, m, c, quotient_func):\n",
" ib = m._y_label_index[key]\n",
" \n",
" occurances = c[:,ib].nonzero()[0]\n",
" \n",
" return 1. / quotient_func(c[occurances,ib].toarray())\n",
"\n",
"def sym_normalization_factor(key, m, c, quotient_func):\n",
" ii = m._label_index[key]\n",
" \n",
" fw_occurances = c[ii,:].nonzero()[1]\n",
" bw_occurances = c[:,ii].nonzero()[0]\n",
" \n",
" return 1. / quotient_func(np.concatenate(\n",
" [c[ii,fw_occurances].toarray().flatten(),\n",
" c[bw_occurances,ii].toarray().flatten()]\n",
" ))"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
"def sym_p_a_given_b(key_a, key_b, m, c, quot_func = np.max):\n",
" ia = m._label_index[key_a]\n",
" ib = m._label_index[key_b]\n",
" \n",
" v = c[ia,ib] + c[ib,ia]\n",
" \n",
" return v * sym_normalization_factor(key_b, m, c, quot_func)\n",
"\n",
"def fw_p_a_given_b(key_a, key_b, m, c, quot_func = np.max):\n",
" ia = m._x_label_index[key_a]\n",
" ib = m._y_label_index[key_b]\n",
" \n",
" v = c[ia,ib]\n",
" \n",
" return v * bw_normalization_factor(key_b, m, c, quot_func)\n",
"\n",
"def bw_p_a_given_b(key_a, key_b, m, c, quot_func = np.max):\n",
" ia = m._y_label_index[key_a]\n",
" ib = m._x_label_index[key_b]\n",
" \n",
" v = c[ib,ia]\n",
" \n",
" return v * fw_normalization_factor(key_b, m, c, quot_func)\n"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {},
"outputs": [],
"source": [
"def sym_score(key_a, key_b, m, c):\n",
"\n",
" ia = m._label_index[key_a]\n",
" ib = m._label_index[key_b]\n",
" \n",
" v = c[ia,ib] + c[ib,ia]\n",
" \n",
" if v == 0:\n",
" return 0\n",
" \n",
" return max((v/sym_sum(key_a, m, c)), (v/sym_sum(key_b, m, c)))\n",
"\n",
"def asym_score(key_a, key_b, m, c):\n",
" ia = m._x_label_index[key_a]\n",
" ib = m._y_label_index[key_b]\n",
" \n",
" v = c[ia,ib]\n",
" \n",
" if v == 0:\n",
" return 0\n",
" \n",
" return max(v/fw_sum(key_a, m, c), v/bw_sum(key_b, m, c))"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
"def p_ingredient_unprepared(base_ing):\n",
" ing = Ingredient(base_ing)\n",
" base_sum = sym_sum(base_ing, m_base_mix, c_base_mix)\n",
" specialized_sum = sym_sum(ing.to_json(), m_mix, c_mix)\n",
" return specialized_sum / base_sum"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**new probability for preprocess ingredients:**"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [],
"source": [
"PREPARE_RATIO_THRESHOLD = 0.35\n",
"HEAT_RATIO_THRESHOLD = 0.65\n",
"\n",
"PREPARE_SCORE_EPS = 0.1\n",
"HEAT_SCORE_EPS = 0.1\n",
"\n",
"def prepare_ratio(ing:str):\n",
" try:\n",
" keys, values = m_grouped_act.get_backward_adjacent(Ingredient(ing).to_json())\n",
" except KeyError:\n",
" return 0\n",
" action_dict = dict(zip(keys,values))\n",
" if 'prepare' not in action_dict:\n",
" return 0\n",
" if 'heat' not in action_dict:\n",
" return 1\n",
" return action_dict['prepare'] / action_dict['heat']\n",
"\n",
"def random_prepare(ing:str):\n",
" \"\"\"\n",
" returns randomly a boolean value if ing should be prepared, w.r.t. the prepare_ration function\n",
" \"\"\"\n",
" \n",
" return prepare_ratio(ing) > np.random.normal(PREPARE_RATIO_THRESHOLD,0.1)\n",
"\n",
"def heat_ratio(ingredient:str):\n",
" try:\n",
" action_set, action_weights = m_grouped_base_act.get_backward_adjacent(ingredient)\n",
" except KeyError:\n",
" return 0\n",
" d = dict(zip(action_set, action_weights))\n",
" \n",
" if 'prepare' not in d:\n",
" return 1\n",
" if 'heat' not in d:\n",
" return 0\n",
" \n",
" ratio = 1 - d['prepare'] / d['heat']\n",
" \n",
" return ratio\n",
"\n",
"def random_heated(ingredient:str):\n",
" ratio = heat_ratio(ingredient)\n",
" \n",
" return ratio > np.random.normal(HEAT_RATIO_THRESHOLD,0.15)\n",
"\n",
"def prepare_score(ingredient:Ingredient):\n",
" ing_str = ingredient._base_ingredient\n",
" \n",
" g_ing = to_grouped_ingredient(ingredient)\n",
" \n",
" ratio = prepare_ratio(ing_str)\n",
" \n",
" if ratio > PREPARE_RATIO_THRESHOLD + PREPARE_SCORE_EPS:\n",
" if 'prepare' not in g_ing._action_set:\n",
" return 0\n",
" \n",
" if ratio < PREPARE_RATIO_THRESHOLD - PREPARE_SCORE_EPS:\n",
" if 'prepare' in g_ing._action_set:\n",
" return 0\n",
" \n",
" return 1\n",
"\n",
"def heat_score(ingredient:Ingredient):\n",
" ing_str = ingredient._base_ingredient\n",
" \n",
" g_ing = to_grouped_ingredient(ingredient)\n",
" \n",
" ratio = heat_ratio(ing_str)\n",
" \n",
" if ratio > HEAT_RATIO_THRESHOLD + HEAT_SCORE_EPS:\n",
" if 'heat' not in g_ing._action_set:\n",
" return 0\n",
" \n",
" if ratio < HEAT_RATIO_THRESHOLD - HEAT_SCORE_EPS:\n",
" if 'heat' in g_ing._action_set:\n",
" return 0\n",
" \n",
" return 1\n"
]
},
{
"cell_type": "code",
"execution_count": 19,
"metadata": {},
"outputs": [],
"source": [
"def relative_action_rank(ingredient:str, action:str):\n",
" action_set, action_weights = m_base_act.get_backward_adjacent(ingredient)\n",
" if action not in action_set or len(action_set) <= 1:\n",
" return 0\n",
" return 1 - action_set.tolist().index(action) / (len(action_set) - 1)"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": [
"def filter_set_by_group(act_set, act_w, group):\n",
" new_act_set = []\n",
" new_act_w = []\n",
" for i in range(len(act_set)):\n",
" if act_set[i] in AG.inverse_groups[group]:\n",
" new_act_set.append(act_set[i])\n",
" new_act_w.append(act_w[i])\n",
" return np.array(new_act_set), np.array(new_act_w)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## better normalized scores:"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
"def normalized_score(key, matrix):\n",
" sum_key = matrix.get_sum(key)\n",
" keys, values = matrix.get_adjacent(key)\n",
" normalized_values = np.array([(values[i] / matrix.get_sum(keys[i])) * (values[i] / sum_key) for i in range(len(keys))])\n",
" sort = np.argsort(-normalized_values)\n",
" return keys[sort], normalized_values[sort]\n",
"\n",
"def forward_normalized_score(key, matrix):\n",
" sum_key = matrix.get_fw_sum(key)\n",
" keys, values = matrix.get_forward_adjacent(key)\n",
" normalized_values = np.array([(values[i] / matrix.get_bw_sum(keys[i])) * (values[i] / sum_key) for i in range(len(keys))])\n",
" sort = np.argsort(-normalized_values)\n",
" return keys[sort], normalized_values[sort]\n",
"\n",
"def backward_normalized_score(key, matrix):\n",
" sum_key = matrix.get_bw_sum(key)\n",
" keys, values = matrix.get_backward_adjacent(key)\n",
" normalized_values = np.array([(values[i] / matrix.get_fw_sum(keys[i])) * (values[i] / sum_key) for i in range(len(keys))])\n",
" sort = np.argsort(-normalized_values)\n",
" return keys[sort], normalized_values[sort]"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Helper class for instructions"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {},
"outputs": [],
"source": [
"class RecipeInstructionState(object):\n",
" def __init__(self):\n",
" self.current_step = 1\n",
" self.id_to_state = {}\n",
" self.instructions_by_step = {}\n",
" self.step_by_nodeid = {}\n",
" self.text_by_nodeid = {}\n",
" self.ingredients = set()\n",
" \n",
" def _add_instruction(self, node_id):\n",
" s = self.text_by_nodeid[node_id]\n",
" self.instructions_by_step[self.current_step] = s\n",
" self.step_by_nodeid[node_id] = self.current_step\n",
" self.current_step += 1\n",
" return self.current_step - 1\n",
" \n",
" def add_text(self, node_id, text, is_instruction=False, is_ingredient=False):\n",
" self.text_by_nodeid[node_id] = text\n",
" if is_instruction:\n",
" self._add_instruction(node_id)\n",
" if is_ingredient:\n",
" self.ingredients.add(text)\n",
" \n",
" def exists_any_instruction(self, node_ids:list):\n",
" \"\"\"check if any instruction exists for list of id's\n",
" \"\"\"\n",
" \n",
" for node_id in node_ids:\n",
" if node_id in self.step_by_nodeid:\n",
" return True\n",
" return False\n",
" \n",
" def to_markdown(self):\n",
" \n",
" md_text = \"**Ingredients**:\\n\"\n",
" \n",
" for ing in self.ingredients:\n",
" md_text += f\" * {ing}\\n\"\n",
" \n",
" md_text += \"\\n\\n**Instructions**:\\n\\n\"\n",
" md_text += \"| Step | Instruction |\\n\"\n",
" md_text += \"| ----:|:----------- |\\n\"\n",
" \n",
" for step in range(1, self.current_step):\n",
" md_text += f\"| {step} | {self.instructions_by_step[step]} |\\n\"\n",
" \n",
" return Markdown(md_text)\n",
" \n",
" \n",
" \n",
" \n",
" "
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Recipe Tree\n",
"### Tree Node Base Class"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {},
"outputs": [],
"source": [
"class RecipeTreeNode(object):\n",
" \n",
" id = 0\n",
" \n",
" def __init__(self, name, constant=False, single_child=False):\n",
" self._constant = constant\n",
" self._name = name\n",
" self._parent = None\n",
" \n",
" self._id = str(RecipeTreeNode.id)\n",
" RecipeTreeNode.id += 1\n",
" \n",
" self._single_child = single_child\n",
" \n",
" if self._single_child:\n",
" self._child = None\n",
" \n",
" def child():\n",
" return self._child\n",
" \n",
" def remove_child(c):\n",
" assert c == self._child\n",
" self._child._parent = None\n",
" self._child = None\n",
" \n",
" def childs():\n",
" c = self.child()\n",
" if c is None:\n",
" return set()\n",
" return set([c])\n",
" \n",
" def add_child(n):\n",
" self._child = n\n",
" n._parent = self\n",
" \n",
" self.child = child\n",
" self.childs = childs\n",
" self.add_child = add_child\n",
" self.remove_child = remove_child\n",
" else:\n",
" self._childs = set()\n",
" \n",
" def childs():\n",
" return self._childs\n",
" \n",
" def add_child(n):\n",
" self._childs.add(n)\n",
" n._parent = self\n",
" \n",
" def remove_child(c):\n",
" assert c in self._childs\n",
" c._parent = None\n",
" self._childs.remove(c)\n",
" \n",
" self.childs = childs\n",
" self.add_child = add_child\n",
" self.remove_child = remove_child\n",
" \n",
" def parent(self):\n",
" return self._parent\n",
" \n",
" def root(self):\n",
" if self._parent is None:\n",
" return self\n",
" return self._parent.root()\n",
" \n",
" def name(self):\n",
" return self._name\n",
" \n",
" def traverse(self):\n",
" l = []\n",
" \n",
" for c in self.childs():\n",
" l += c.traverse()\n",
" \n",
" return [self] + l\n",
" \n",
" def traverse_ingredients(self):\n",
" ingredient_set = []\n",
" for c in self.childs():\n",
" ingredient_set += c.traverse_ingredients()\n",
" \n",
" return ingredient_set\n",
" \n",
" def remove(self):\n",
" p = self.parent()\n",
" childs = self.childs().copy()\n",
" \n",
" assert p is None or not (len(childs) > 1 and p._single_child)\n",
" \n",
" for c in childs:\n",
" self.remove_child(c)\n",
" \n",
" if p is not None:\n",
" p.remove_child(self)\n",
" \n",
" if self._single_child and self._child is not None and p._name == self._child._name:\n",
" # two adjacent nodes with same name would remain after deletion.\n",
" # merge them! (by adding the child's childs to our parent instead of our childs)\n",
" childs = self._child.childs()\n",
" self._child.remove()\n",
" \n",
" \n",
" for c in childs:\n",
" p.add_child(c)\n",
" \n",
" def insert_before(self, n):\n",
" p = self._parent\n",
" if p is not None:\n",
" p.remove_child(self)\n",
" p.add_child(n)\n",
" n.add_child(self)\n",
" \n",
" def mutate(self):\n",
" n_node = self.n_node_mutate_options()\n",
" n_edge = self.n_edge_mutate_options()\n",
" \n",
" choice = random.choice(range(n_node + n_edge))\n",
" if choice < n_node:\n",
" self.mutate_node()\n",
" else:\n",
" self.mutate_edges()\n",
" \n",
" def mutate_edges(self):\n",
" ings = self.traverse_ingredients()\n",
" ing = random.choice(ings)\n",
" \n",
" a, w = get_backward_adjacent(ing._base_ingredient, m_base_act, c_base_act)\n",
" \n",
" if len(a) > 0:\n",
" \n",
" action = ea_tools.wheel_of_fortune_selection(a,w)\n",
" self.insert_before(ActionNode(action))\n",
" \n",
" else:\n",
" print(\"Warning: cannot find matching action node for mutation\")\n",
" \n",
" def mutate_node(self):\n",
" raise NotImplementedError\n",
" \n",
" def n_node_mutate_options(self):\n",
" \n",
" return 0 if self._constant else 1\n",
" \n",
" def n_edge_mutate_options(self):\n",
" n = 1 if self._parent is not None else 0\n",
" return n\n",
" \n",
" def n_mutate_options(self):\n",
" return self.n_edge_mutate_options() + self.n_node_mutate_options()\n",
" \n",
" def dot_node(self, dot):\n",
" raise NotImplementedError()\n",
" \n",
" def dot(self, d=None):\n",
" if d is None:\n",
" d = Digraph()\n",
" self.dot_node(d)\n",
" \n",
" else:\n",
" self.dot_node(d)\n",
" if self._parent is not None:\n",
" d.edge(self._parent._id, self._id)\n",
" \n",
" \n",
" for c in self.childs():\n",
" c.dot(d)\n",
" \n",
" return d\n",
" \n",
" def simplify(self):\n",
" # simplify nodes (mainly used to delete doubled Mix Nodes)\n",
" for c in self.childs().copy():\n",
" c.simplify()\n",
" \n",
" def serialize(self):\n",
" r = {}\n",
" r['type'] = str(self.__class__.__name__)\n",
" r['id'] = self._id\n",
" r['parent'] = self._parent._id if self._parent is not None else None\n",
" r['name'] = self._name\n",
" r['childs'] = [c._id for c in self.childs()]\n",
" r['constant'] = self._constant\n",
" r['single_child'] = self._single_child\n",
" \n",
" return r\n",
" \n",
" def serialize_subtree(self):\n",
" return [n.serialize() for n in self.traverse()]\n",
" \n",
" def node_score(self):\n",
" raise NotImplementedError()\n",
" \n",
" def to_instruction(self, state:RecipeInstructionState):\n",
" # create an instruction out of a recipe Tree\n",
" raise NotImplementedError()\n",
" \n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Mix Node"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"For the Node Score: just make a simple lookup whether this combination is seen or not. So the node Score is defined as:\n"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {},
"outputs": [],
"source": [
"class MixNode(RecipeTreeNode):\n",
" def __init__(self, constant=False):\n",
" super().__init__(\"mix\", constant, single_child=False)\n",
" \n",
" def dot_node(self, dot):\n",
" dot.node(self._id, label=f\"< <B>{self._name}</B><BR/>node score: {self.node_score():.4f}>\", shape=\"diamond\", style=\"filled\", color=\"#d5e8d4\")\n",
" \n",
" def split(self, set_above, set_below, node_between):\n",
" assert len(set_above.difference(self.childs())) == 0\n",
" assert len(set_below.difference(self.childs())) == 0\n",
" \n",
" n_above = MixNode()\n",
" n_below = MixNode()\n",
" \n",
" p = self.parent()\n",
" \n",
" for c in self.childs().copy():\n",
" self.remove_child(c)\n",
" self.remove()\n",
" \n",
" for c in set_below:\n",
" n_below.add_child(c)\n",
" \n",
" for c in set_above:\n",
" n_above.add_child(c)\n",
" \n",
" n_above.add_child(node_between)\n",
" node_between.add_child(n_below)\n",
" \n",
" if p is not None:\n",
" p.add_child(n_above)\n",
" \n",
" # test whether the mix nodes are useless\n",
" if len(n_above.childs()) == 1:\n",
" n_above.remove()\n",
" \n",
" if len(n_below.childs()) == 1:\n",
" n_below.remove()\n",
" \n",
" def n_node_mutate_options(self):\n",
" return 0 if self._constant or len(self.childs()) <= 2 else len(self.childs())\n",
" \n",
" def mutate_node(self):\n",
" \n",
" childs = self.childs()\n",
" \n",
" if len(childs) <= 2:\n",
" print(\"Warning: cannot modify mix node\")\n",
" return\n",
" \n",
" childs = random.sample(childs, len(childs))\n",
" \n",
" n = random.choice(range(1, len(childs)-1))\n",
" \n",
" ings = self.traverse_ingredients()\n",
" ing = random.choice(ings)\n",
" \n",
" base_ing = ing._base_ingredient\n",
" act = None\n",
" try:\n",
" a, w = m_base_act.get_backward_adjacent(base_ing)\n",
" act = ea_tools.wheel_of_fortune_selection(a,w)\n",
" except ValueError:\n",
" print(\"Warning: cannot mutate given node\")\n",
" \n",
" if act is not None:\n",
" between_node = ActionNode(act)\n",
"\n",
" self.split(set(childs[:n]), set(childs[n:]), between_node)\n",
" \n",
" \n",
" def node_score(self):\n",
" child_ingredients = [c.traverse_ingredients() for c in self.childs()]\n",
" \n",
" tmp_set = set()\n",
" cumulative_sets = []\n",
" \n",
" pairwise_tuples = []\n",
" \n",
" for c in child_ingredients:\n",
" if len(tmp_set) > 0:\n",
" cumulative_sets.append(tmp_set)\n",
" pairwise_tuples += [x for x in itertools.product(tmp_set, c)]\n",
" tmp_set = tmp_set.union(set(c))\n",
" \n",
" s_base = 0\n",
" s = 0\n",
" \n",
" for ing_a, ing_b in pairwise_tuples:\n",
" try:\n",
" #s_base += sym_score(ing_a._base_ingredient, ing_b._base_ingredient, m_base_mix, c_base_mix)\n",
" \n",
" #s += sym_score(ing_a.to_json(), ing_b.to_json(), m_mix, c_mix)\n",
" \n",
" # old method:\n",
" #p1 = sym_p_a_given_b(ing_a.to_json(), ing_b.to_json(), m_mix, c_mix)\n",
" #p2 = sym_p_a_given_b(ing_b.to_json(), ing_a.to_json(), m_mix, c_mix)\n",
" #s += 0.5 * p1 + 0.5 * p2\n",
" \n",
" #grouped_ing_a = to_grouped_ingredient(ing_a)\n",
" #grouped_ing_b = to_grouped_ingredient(ing_b)\n",
" \n",
" #ia = m_grouped_mix._label_index[grouped_ing_a.to_json()]\n",
" #ib = m_grouped_mix._label_index[grouped_ing_b.to_json()]\n",
" \n",
" #if c_grouped_mix[ia,ib] > 0 or c_grouped_mix[ib,ia] > 0:\n",
" # s += 1\n",
" \n",
" ia = m_mix._label_index[ing_a.to_json()]\n",
" ib = m_mix._label_index[ing_b.to_json()]\n",
" \n",
" if c_mix[ia,ib] > 0 or c_mix[ib,ia] > 0:\n",
" s += 1\n",
" \n",
" \n",
" \n",
" except KeyError as e:\n",
" pass\n",
" \n",
" #s_base /= len(pairwise_tuples)\n",
" s /= len(pairwise_tuples)\n",
" \n",
" #return 0.5 * (s_base + s)\n",
" return s\n",
" \n",
" def simplify(self):\n",
" for c in self.childs().copy():\n",
" c.simplify()\n",
" \n",
" # if our parent is also a Mix Node, we can just delete ourselve\n",
" p = self.parent()\n",
" \n",
" if p is not None:\n",
" if type(p) == MixNode:\n",
" # just delete ourselve\n",
" self.remove()\n",
" \n",
" def to_instruction(self, state:RecipeInstructionState = None):\n",
" \"\"\"\n",
" returns a RecipeInstructionState\n",
" \"\"\"\n",
" \n",
" def english_enum(items, use_and=True):\n",
" if len(items) > 1 and use_and:\n",
" return \", \".join(items[:-1]) + \" and \" + items[-1]\n",
" return \", \".join(items)\n",
" \n",
" if state is None:\n",
" state = RecipeInstructionState()\n",
" \n",
" for c in self.childs():\n",
" c.to_instruction(state)\n",
" \n",
" \n",
" text = \"\"\n",
" \n",
" # children with instructions\n",
" instruction_childs = []\n",
" \n",
" # children without instructions\n",
" base_childs = []\n",
" \n",
" # childre without instructions that are ingredients\n",
" ingredient_childs = []\n",
" \n",
" for c in self.childs():\n",
" assert type(c) != MixNode\n",
" if type(c) == IngredientNode:\n",
" ingredient_childs.append(c)\n",
" elif c._id not in state.step_by_nodeid:\n",
" # action node with no step so far, so a base child\n",
" base_childs.append(c)\n",
" else:\n",
" instruction_childs.append(c)\n",
" \n",
" if len(base_childs) > 0:\n",
" use_and= len(ingredient_childs)==0 and len(instruction_childs)==0\n",
" text = english_enum([state.text_by_nodeid[c._id] for c in base_childs], use_and=use_and)\n",
" \n",
" \n",
" if len(ingredient_childs) > 0:\n",
" if len(base_childs) > 0:\n",
" text += \" and mix it with \" + english_enum([state.text_by_nodeid[c._id] for c in ingredient_childs])\n",
" \n",
" else:\n",
" text = \"Mix \" + english_enum([state.text_by_nodeid[c._id] for c in ingredient_childs])\n",
" \n",
" if len(instruction_childs) > 0:\n",
" if len(base_childs) == 0 and len(ingredient_childs) == 0:\n",
" text = \"Mix together the results of \"\n",
" else:\n",
" text += \" and mix it together with the results of \"\n",
" \n",
" text += english_enum([f\"step {state.step_by_nodeid[c._id]}\" for c in instruction_childs])\n",
" \n",
" text += \".\"\n",
" \n",
" if type(self.parent()) == ActionNode:\n",
" state.add_text(self._id, text, is_instruction=False)\n",
" else:\n",
" state.add_text(self._id, text, is_instruction=True)\n",
" \n",
" \n",
" return state\n",
" \n",
" \n",
" \n",
" \n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Ingredient Node Class"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [],
"source": [
"n_wanted_actions = 2\n",
"gaussian_normalize_factor = 1 / gaussian(n_wanted_actions, n_wanted_actions, 1)\n",
"\n",
"class IngredientNode(RecipeTreeNode):\n",
" def __init__(self, name, constant=False):\n",
" super().__init__(name, constant, single_child=True)\n",
" \n",
" def get_actions(self):\n",
" a_list = []\n",
" n = self.parent()\n",
" while n is not None:\n",
" if type(n) == ActionNode:\n",
" a_list.append(n.name())\n",
" n = n.parent()\n",
" return a_list\n",
" \n",
" def mutate_node(self):\n",
" if self._constant:\n",
" return\n",
" mixes, weights = m_base_mix.get_adjacent(self._name)\n",
" self._name = ea_tools.wheel_of_fortune_selection(mixes, weights)\n",
" \n",
" #self._name = random.choice(base_ingredients)\n",
" #TODO: change w.r.t. mixing probabilities \n",
" \n",
" def traverse_ingredients(self):\n",
" return [Ingredient(self._name)]\n",
" \n",
" def duplicate_actions_score(self, actions):\n",
" \n",
" if len(actions) == 0:\n",
" return 1\n",
" \n",
" seen_actions = set()\n",
" n_duplicates = 0\n",
" for act in actions:\n",
" if act in seen_actions:\n",
" n_duplicates += 1\n",
" else:\n",
" seen_actions.add(act)\n",
" \n",
" duplicate_actions_score = len(seen_actions) / len(actions)\n",
" \n",
" return duplicate_actions_score\n",
" \n",
" def duplicate_groups_score(self, actions):\n",
" if len(actions) == 0:\n",
" return 1\n",
" groups = [AG.groups[a] for a in actions]\n",
" groups_set = set(groups)\n",
" \n",
" return len(groups_set) / len(groups)\n",
" \n",
" def node_score(self):\n",
" actions = self.get_actions()\n",
" \n",
" ing = Ingredient(self._name)\n",
" for a in actions:\n",
" ing.apply_action(a)\n",
" \n",
" heat = heat_score(ing)\n",
" prepare = prepare_score(ing)\n",
" \n",
" score = (heat + prepare) / 2\n",
" score *= self.duplicate_actions_score(actions)\n",
" \n",
" return score\n",
" \n",
" \"\"\"\n",
" actions = self.get_actions()\n",
" \n",
" if len(actions) == 0:\n",
" if p_ingredient_unprepared(self._name) < 0.2:\n",
" return 0\n",
" return 1\n",
" \n",
" seen_actions = set()\n",
" n_duplicates = 0\n",
" for act in actions:\n",
" if act in seen_actions:\n",
" n_duplicates += 1\n",
" else:\n",
" seen_actions.add(act)\n",
" \n",
" duplicate_actions_score = len(seen_actions) / len(actions)\n",
" \n",
" return duplicate_actions_score\n",
" \"\"\"\n",
" \n",
" \n",
" def dot_node(self, dot):\n",
" dot.node(self._id, label=f\"< <B>{self._name}</B><BR/>node score:{self.node_score():.4f}>\", shape=\"box\", style=\"filled\", color=\"#ffe6cc\")\n",
" \n",
" def to_instruction(self, state:RecipeInstructionState = None):\n",
" state.add_text(self._id, self._name, is_instruction=False, is_ingredient=True)\n",
" return state"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Action Node Class"
]
},
{
"cell_type": "code",
"execution_count": 26,
"metadata": {},
"outputs": [],
"source": [
"class ActionNode(RecipeTreeNode):\n",
" def __init__(self, name, constant=False):\n",
" super().__init__(name, constant, single_child=True)\n",
" \n",
" def n_node_mutate_options(self):\n",
" # beacause we can change or remove ourselve!\n",
" return 0 if self._constant else 2 \n",
" def mutate_node(self):\n",
" if random.choice(range(2)) == 0:\n",
" # change action\n",
" ings = self.traverse_ingredients()\n",
" ing = np.random.choice(ings)\n",
" base_ing = ing._base_ingredient\n",
" try:\n",
" a, w = m_base_act.get_backward_adjacent(base_ing)\n",
" self._name = ea_tools.wheel_of_fortune_selection(a,w)\n",
" except ValueError:\n",
" print(\"Warning: cannot mutate given node\")\n",
" else:\n",
" # delete\n",
" self.remove()\n",
" \n",
" def traverse_ingredients(self):\n",
" ingredient_set = super().traverse_ingredients()\n",
" for ing in ingredient_set:\n",
" ing.apply_action(self._name)\n",
" \n",
" return ingredient_set\n",
" \n",
" def node_score(self):\n",
" ings = self.child().traverse_ingredients()\n",
" \n",
" s = 0\n",
" \n",
" for ing in ings:\n",
" try:\n",
" \n",
" i_act = m_act._x_label_index[self.name()]\n",
" i_ing = m_act._y_label_index[ing.to_json()]\n",
" \n",
" if c_act[i_act,i_ing] > 0:\n",
" s += 1\n",
" \n",
" except KeyError as e:\n",
" #print(f\"WARNING: no entry found for: {str(e)}\")\n",
" pass\n",
" \n",
" ''' # old method:\n",
" for ing in ings:\n",
" try:\n",
" #score = asym_score(self._name, ing.to_json(), m_act, c_act)\n",
" #base_score = asym_score(self._name, ing._base_ingredient, m_base_act, c_base_act)\n",
" \n",
" score = fw_p_a_given_b(self._name, ing._base_ingredient, m_base_act, c_base_act)\n",
" \n",
" s += score\n",
" except KeyError as e:\n",
" pass\n",
" '''\n",
" \n",
" \n",
" return s / len(ings)\n",
" \n",
" def dot_node(self, dot):\n",
" dot.node(self._id, label=f\"< <B>{self._name}</B><BR/>node score: {self.node_score():.4f}>\", shape=\"ellipse\", style=\"filled\", color=\"#dae8fc\")\n",
" \n",
" def to_instruction(self, state:RecipeInstructionState = None):\n",
" \n",
" if state is None:\n",
" state = RecipeInstructionState()\n",
" \n",
" for c in self.childs():\n",
" c.to_instruction(state)\n",
" \n",
" c = self._child\n",
" \n",
" if type(c) == MixNode:\n",
" text = state.text_by_nodeid[c._id] + f\" Then {self._name} it.\"\n",
" state.add_text(self._id, text, True)\n",
" elif type(c) == IngredientNode:\n",
" text = f\"{self._name} {state.text_by_nodeid[c._id]}\"\n",
" state.add_text(self._id, text, False)\n",
" \n",
" elif type(c) == ActionNode:\n",
" if c._id in state.step_by_nodeid:\n",
" text = f\"{self._name} the result of step {state.step_by_nodeid[c._id]}\"\n",
" else:\n",
" prev_words = state.text_by_nodeid[c._id].split()\n",
" text = f\"{prev_words[0]} and {self._name} {' '.join(prev_words[1:])}\"\n",
" state.add_text(self._id, text, True)\n",
" \n",
" return state\n",
" \n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Tree Class"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {},
"outputs": [],
"source": [
"class Tree(object):\n",
" @staticmethod\n",
" def build_initial_tree(ingredients: list, main_ingredients: list, max_n = 20, wheel_turns = 2):\n",
" \n",
" assert set(main_ingredients).issubset(set(ingredients))\n",
"\n",
" def does_action_match(ingredient:str, action:str, t = 0.6):\n",
" return relative_action_rank(ingredient, action) > t\n",
"\n",
"\n",
" # choose randomly an action for each ingredient by the \"wheel of fortune\" method\n",
" actions_for_ing = {}\n",
" for ing in ingredients:\n",
" actions_for_ing[ing] = set()\n",
" action_set, action_weights = m_base_act.get_backward_adjacent(ing)\n",
" if random_heated(ing):\n",
" #print(action_set)\n",
" action_set, action_weights = filter_set_by_group(action_set, action_weights, \"heat\")\n",
" #print(action_set)\n",
" for i in range(wheel_turns):\n",
" if ing in main_ingredients:\n",
" # if main ingredient: choose by action probability\n",
" w = np.array(list(action_weights), dtype=float)\n",
" w *= (1.0 / np.sum(w))\n",
" action = np.random.choice(list(action_set), size=1, replace=False, p=w)[0]\n",
" else:\n",
" # else: choose rank based\n",
" action = ea_tools.wheel_of_fortune_selection(action_set[:max_n], action_weights[:max_n])\n",
" actions_for_ing[ing].add(action)\n",
" #print(f\"action {action} for ing {ing}\")\n",
" #print(ing, action)\n",
"\n",
" # create ingredient nodes:\n",
" ingredient_nodes = {}\n",
"\n",
" # create ingredient nodes:\n",
" for ing in ingredients:\n",
" new_node = IngredientNode(ing, constant=False)\n",
"\n",
" # check if we should do a preparation step\n",
" if random_prepare(ing):\n",
" # choose a preparation cooking action\n",
" action_set, action_weights = m_act.get_backward_adjacent(Ingredient(ing).to_json())\n",
" action_set, action_weights = filter_set_by_group(action_set, action_weights, \"prepare\")\n",
" if len(action_set) > 0:\n",
" action = ea_tools.wheel_of_fortune_selection(action_set[:max_n], action_weights[:max_n])\n",
" act_node = ActionNode(action)\n",
" act_node.add_child(new_node)\n",
" new_node = act_node\n",
"\n",
"\n",
" ingredient_nodes[ing] = new_node\n",
"\n",
" # starting now with the actions found for the main ingredients and try to match all ingredients together\n",
" # with that:\n",
"\n",
" unprocessed_ings = set(filter(lambda x: len(actions_for_ing[x]) > 0, ingredients))\n",
" unprocessed_main_ings = set(filter(lambda x: len(actions_for_ing[x]) > 0, main_ingredients))\n",
"\n",
" while len(unprocessed_main_ings) > 0:\n",
" main_ing = unprocessed_main_ings.pop()\n",
"\n",
" # random action for that ing:\n",
" act = actions_for_ing[main_ing].pop()\n",
"\n",
" act_node = ActionNode(act)\n",
" mix_node = MixNode()\n",
" mix_node.add_child(ingredient_nodes[main_ing])\n",
" act_node.add_child(mix_node)\n",
" ingredient_nodes[main_ing] = act_node\n",
"\n",
" unprocessed_ings.remove(main_ing)\n",
"\n",
" for ing in unprocessed_ings.copy():\n",
" if does_action_match(ing, act):\n",
" mix_node.add_child(ingredient_nodes[ing])\n",
" ingredient_nodes[ing] = act_node\n",
" unprocessed_ings.remove(ing)\n",
" if ing in unprocessed_main_ings:\n",
" unprocessed_main_ings.remove(ing)\n",
"\n",
" if len(mix_node.childs()) == 1:\n",
" mix_node.remove()\n",
"\n",
" # now make the same with all remaining ingredients:\n",
" while len(unprocessed_ings) > 0:\n",
" current_ing = unprocessed_ings.pop() \n",
"\n",
" # random action for that ing:\n",
" act = actions_for_ing[current_ing].pop()\n",
"\n",
" act_node = ActionNode(act)\n",
" mix_node = MixNode()\n",
" mix_node.add_child(ingredient_nodes[current_ing])\n",
" act_node.add_child(mix_node)\n",
"\n",
" ingredient_nodes[current_ing] = act_node\n",
"\n",
"\n",
" for ing in unprocessed_ings.copy():\n",
" if does_action_match(ing, act):\n",
" mix_node.add_child(ingredient_nodes[ing])\n",
" ingredient_nodes[ing] = act_node\n",
" unprocessed_ings.remove(ing)\n",
"\n",
" if len(mix_node.childs()) == 1:\n",
" mix_node.remove()\n",
"\n",
"\n",
" root_layer = set([n.root() for n in ingredient_nodes.values()])\n",
"\n",
" root_layer_without_parents = []\n",
" for node in root_layer:\n",
" if node.parent() is None:\n",
" root_layer_without_parents.append(node)\n",
"\n",
" if len(root_layer_without_parents) == 1:\n",
" root_node = root_layer_without_parents[0]\n",
"\n",
" else:\n",
" root_node = MixNode()\n",
" for r in root_layer_without_parents:\n",
" root_node.add_child(r)\n",
" \n",
" return root_node\n",
"\n",
"\n",
" \n",
" @staticmethod\n",
" def find_ingredients(constant_ingredients, main_ingredients, min_additional:int, max_additional:int, top_ings:int=3, ing_range=50):\n",
" '''\n",
" create an initial set of ingredients, based on given constant ingredients.\n",
" min_additional and max_additional gives the range of ingredients that are added to our set\n",
" '''\n",
" \n",
" seen_items = set(constant_ingredients)\n",
"\n",
" items = []\n",
" scores = []\n",
"\n",
" assert set(main_ingredients).issubset(set(constant_ingredients))\n",
"\n",
" # additional ingredients are choosen w.r.t all given ingredients\n",
" n_additional_ings = np.random.randint(min_additional, max_additional + 1)\n",
"\n",
" # extra ings are ingredients choosen specially for the main ingredient\n",
" n_extra_ings = int((len(main_ingredients) / len(constant_ingredients)) * n_additional_ings)\n",
"\n",
" if n_extra_ings > n_additional_ings:\n",
" n_extra_ings = n_additional_ings\n",
"\n",
"\n",
" # choose extra ingredients\n",
" extra_candidates = []\n",
" extra_weights = []\n",
"\n",
" for ing in main_ingredients:\n",
" candidates, weights = normalized_score(ing, m_base_mix)\n",
" extra_candidates.append(candidates[:ing_range])\n",
" extra_weights.append(weights[:ing_range])\n",
"\n",
" extra_ingredients = ea_tools.combined_wheel_of_fortune_selection(extra_candidates,\n",
" extra_weights,\n",
" n_extra_ings)\n",
"\n",
" for ing in constant_ingredients:\n",
" # find best matching ingredients\n",
" best_items = []\n",
" best_scores = []\n",
"\n",
" candidates, weights = m_base_mix.get_adjacent(ing)\n",
" i = 0\n",
" while i < len(candidates) and len(best_items) < top_ings:\n",
" if candidates[i] not in seen_items:\n",
" best_items.append(candidates[i])\n",
" best_scores.append(weights[i])\n",
" i += 1\n",
"\n",
" items.append(best_items)\n",
" scores.append(best_scores)\n",
"\n",
" #TODO: error handling if too few options are availabale!\n",
"\n",
" additional_ingredients = ea_tools.combined_wheel_of_fortune_selection(items,\n",
" scores,\n",
" n_additional_ings - n_extra_ings)\n",
" \n",
" return list(constant_ingredients) + list(additional_ingredients) + list(extra_ingredients)\n",
"\n",
" @staticmethod\n",
" def from_ingredients(ingredients: list, main_ingredients: list, min_additional=0, max_additional=10):\n",
" root = None\n",
" \n",
" constant_ingredients = ingredients\n",
" \n",
" if max_additional > 0:\n",
" ingredients = Tree.find_ingredients(ingredients, main_ingredients, min_additional=min_additional, max_additional=max_additional)\n",
" \n",
" \n",
" root = Tree.build_initial_tree(ingredients, main_ingredients)\n",
" \n",
" # mark initial ingredient nodes as constant:\n",
" nodes = root.traverse()\n",
" for node in nodes:\n",
" if type(node) == IngredientNode:\n",
" if node.name() in constant_ingredients:\n",
" node._constant = True\n",
" \n",
" return Tree(root, main_ingredients)\n",
" \n",
" @staticmethod\n",
" def from_serialization(s, main_ingredients = None):\n",
" def empty_node(raw_n):\n",
" if raw_n['type'] == \"MixNode\":\n",
" node = MixNode(raw_n['constant'])\n",
" elif raw_n['type'] == \"IngredientNode\":\n",
" node = IngredientNode(raw_n['name'], raw_n['constant'])\n",
" elif raw_n['type'] == \"ActionNode\":\n",
" node = ActionNode(raw_n['name'], raw_n['constant'])\n",
" else:\n",
" print(\"unknown node detected\")\n",
" return\n",
" \n",
" return node\n",
" \n",
" nodes = {}\n",
" for n in s:\n",
" nodes[n['id']] = empty_node(n)\n",
" \n",
" for n in s:\n",
" childs = n['childs']\n",
" id = n['id']\n",
" for c in childs:\n",
" nodes[id].add_child(nodes[c])\n",
" \n",
" return Tree(nodes[s[0]['id']], main_ingredients)\n",
" \n",
" \n",
" def __init__(self, root, main_ingredients=None):\n",
" # create a dummy entry node\n",
" self._root = RecipeTreeNode(\"root\", single_child=True)\n",
" self._root.add_child(root)\n",
" self._touched = True\n",
" self._main_ingredients = main_ingredients\n",
" \n",
" def root(self):\n",
" return self._root.child()\n",
" \n",
" def mutate(self):\n",
" self._touched = True\n",
" nodes = self.root().traverse()\n",
" weights = [n.n_mutate_options() for n in nodes]\n",
" \n",
" n = random.choices(nodes, weights)[0]\n",
" \n",
" n.mutate()\n",
" \n",
" # check for simplification after modification\n",
" self.root().simplify()\n",
" \n",
" def dot(self):\n",
" return self.root().dot()\n",
" \n",
" def serialize(self):\n",
" return [n.serialize() for n in self.root().traverse()]\n",
" \n",
" def structure_score(self):\n",
" n_duplicates = 0\n",
" \n",
" \n",
" def collect_scores(self):\n",
" self._mix_scores = []\n",
" self._mix_weights = []\n",
" self._act_scores = []\n",
" self._ing_scores = []\n",
" \n",
" nodes = self.root().traverse()\n",
" self._n_mix_nodes = 0\n",
" self._n_act_nodes = 0\n",
" self._n_ing_nodes = 0\n",
" \n",
" s = 0\n",
" for n in nodes:\n",
" if type(n) == MixNode:\n",
" self._mix_scores.append(n.node_score())\n",
" self._mix_weights.append(len(n.childs()))\n",
" self._n_mix_nodes += 1\n",
" if type(n) == ActionNode:\n",
" self._act_scores.append(n.node_score())\n",
" self._n_act_nodes += 1\n",
" if type(n) == IngredientNode:\n",
" self._ing_scores.append(n.node_score())\n",
" self._n_ing_nodes += 1\n",
" \n",
" seen_ingredients = set()\n",
" self._n_duplicates = 0\n",
" \n",
" for n in nodes:\n",
" if type(n) == IngredientNode:\n",
" if n.name() in seen_ingredients:\n",
" self._n_duplicates += 1\n",
" else:\n",
" seen_ingredients.add(n.name())\n",
" \n",
" self._mix_scores = np.array(self._mix_scores)\n",
" self._mix_weights = np.array(self._mix_weights)\n",
" self._act_scores = np.array(self._act_scores)\n",
" self._ing_scores = np.array(self._ing_scores)\n",
" \n",
" \n",
" def mix_scores(self):\n",
" return self._mix_scores, self._mix_weights\n",
" \n",
" def action_scores(self):\n",
" return self._act_scores\n",
" \n",
" def ing_scores(self):\n",
" return self._ing_scores\n",
" \n",
" def main_ingredient_score(self):\n",
" if self._main_ingredients is None:\n",
" return 1\n",
" \n",
" ings = self.root().traverse_ingredients()\n",
" \n",
" actions_for_ing = {}\n",
" score_for_ing = {}\n",
" \n",
" for ing in ings:\n",
" if ing._base_ingredient in self._main_ingredients:\n",
" actions_for_ing[ing._base_ingredient] = ing._action_set\n",
" score_for_ing[ing._base_ingredient] = 0\n",
" \n",
" for ing in self._main_ingredients:\n",
" for act in actions_for_ing[ing]:\n",
" s = fw_p_a_given_b(act, ing, m_base_act, c_base_act)\n",
" if s > 0.5:\n",
" score_for_ing[ing] = 1\n",
" \n",
" return sum([score_for_ing[ing] for ing in self._main_ingredients]) / len(self._main_ingredients)\n",
" \n",
" \n",
" def score(self):\n",
" if not self._touched:\n",
" return self._score\n",
" \n",
" self.collect_scores()\n",
" s_mix, s_mix_weights = self.mix_scores()\n",
" s_act = self.action_scores()\n",
" s_ing = self.ing_scores()\n",
" \n",
" #n = len(s_mix) + len(s_act) + len(s_ing)\n",
" \n",
" avg_mix = np.average(s_mix) if len(s_mix) > 0 else 1\n",
" avg_act = np.average(s_act) if len(s_act) > 0 else 1\n",
" avg_ing = np.average(s_ing) if len(s_ing) > 0 else 1\n",
" \n",
" sum_mix = np.sum(s_mix) if len(s_mix) > 0 else 0\n",
" sum_act = np.sum(s_act) if len(s_act) > 0 else 0\n",
" sum_ing = np.sum(s_ing) if len(s_ing) > 0 else 0\n",
" \n",
" self._touched = False\n",
" contains_main_ingred = True\n",
" \n",
" base_main_ings = [i._base_ingredient for i in self.root().traverse_ingredients()]\n",
" for ing in self._main_ingredients:\n",
" if ing not in base_main_ings:\n",
" contains_main_ingred = False\n",
" self._score = 0\n",
" break\n",
" \n",
" if contains_main_ingred:\n",
" # boost creativity\n",
" if len(s_act) < 3:\n",
" self._score = 0\n",
" elif len(s_ing) < 3:\n",
" self._score = 0\n",
" else:\n",
" weighted_mix_score = np.array([s_mix[i] * s_mix_weights[i] for i in range(len(s_mix))])\n",
" #print(weighted_mix_score)\n",
" n = len(s_act) + len(s_ing) + np.sum(s_mix_weights)\n",
" self._score = (np.sum(weighted_mix_score) + sum_act + sum_ing) / n\n",
" #print(self._score)\n",
" self._score *= (len(s_ing) - self._n_duplicates) / len(s_ing)\n",
" #self._score = 0.95 * self._score + 0.05 * self.main_ingredient_score()\n",
"\n",
" return self._score\n",
" \n",
" def copy(self):\n",
" return Tree.from_serialization(self.serialize(), self._main_ingredients)\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Population"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {},
"outputs": [],
"source": [
"class Population(object):\n",
" def __init__(self, start_ingredients, main_ingredients, n_population = 50, min_additional=0, max_additional=15, mutations=3):\n",
" self.population = []\n",
" for i in tqdm(range(n_population), desc=\"build initial population\"):\n",
" self.population.append(Tree.from_ingredients(start_ingredients, main_ingredients, min_additional=min_additional, max_additional=max_additional))\n",
" self._n = n_population\n",
" self._n_mutations = mutations\n",
" \n",
" def mutate(self):\n",
" for tree in self.population.copy():\n",
" t_clone = tree.copy()\n",
" for i in range(self._n_mutations):\n",
" t_clone.mutate()\n",
" #t_clone.mutate()\n",
" #t_clone.mutate()\n",
" self.population.append(t_clone)\n",
" \n",
" def pairwise_competition(self):\n",
" new_population = []\n",
" indices = list(range(len(self.population)))\n",
" random.shuffle(indices)\n",
" \n",
" for i in range(len(self.population) // 2):\n",
" i_a = indices[2*i]\n",
" i_b = indices[2*i+1]\n",
" \n",
" \n",
" if self.population[i_a].score() > self.population[i_b].score():\n",
" new_population.append(self.population[i_a])\n",
" else:\n",
" new_population.append(self.population[i_b])\n",
" \n",
" self.population = new_population\n",
" \n",
" def crossover(self):\n",
" # shuffle indices\n",
" indices = list(range(len(self.population) // 2))\n",
" indices = [i + len(self.population) // 2 for i in indices]\n",
" random.shuffle(indices)\n",
" \n",
" # perform crossover for random pairs\n",
" for i in range(len(self.population) // 4):\n",
" i_a = indices[2*i]\n",
" i_b = indices[2*i+1]\n",
" \n",
" self.pairwise_crossover(self.population[i_a], self.population[i_b])\n",
" \n",
" \n",
" def pairwise_crossover(self, tree_a, tree_b):\n",
" # for crossover: find a random subtree in both trees, and switch them\n",
" \n",
" # first, select one random mix node from both\n",
" a_nodes = tree_a.root().traverse()\n",
" b_nodes = tree_b.root().traverse()\n",
" \n",
" a_mix_nodes = []\n",
" b_mix_nodes = []\n",
" \n",
" for n in a_nodes:\n",
" if type(n) == MixNode:\n",
" a_mix_nodes.append(n)\n",
" \n",
" for n in b_nodes:\n",
" if type(n) == MixNode:\n",
" b_mix_nodes.append(n)\n",
" \n",
" a_mix_node = np.random.choice(a_mix_nodes)\n",
" b_mix_node = np.random.choice(b_mix_nodes)\n",
" \n",
" # now select one random child, we will switch the subtrees there\n",
" a_child = np.random.choice(list(a_mix_node.childs()))\n",
" b_child = np.random.choice(list(b_mix_node.childs()))\n",
" \n",
" # ...and perform the switch\n",
" \n",
" # manually remove references\n",
" a_mix_node.remove_child(a_child)\n",
" b_mix_node.remove_child(b_child)\n",
" \n",
" # and add child to other subtree\n",
" a_mix_node.add_child(b_child)\n",
" b_mix_node.add_child(a_child)\n",
" \n",
" \n",
" \n",
" def hold_best(self, n=10):\n",
" scores = np.array([tree.score() for tree in self.population])\n",
" \n",
" sorted_indices = np.argsort(-scores)\n",
" \n",
" self.population = np.array(self.population)[sorted_indices[:n]].tolist()\n",
" \n",
" def run(self, n=50):\n",
" avg_scores = []\n",
" for i in tqdm(range(n), desc=\"run evolutionary cycles\"):\n",
" self.mutate()\n",
"\n",
" self.crossover()\n",
" \n",
" self.pairwise_competition()\n",
" #self.collect_scores()\n",
" #self.hold_best(self._n)\n",
" scores = [t.score() for t in self.population]\n",
" avg_scores.append(scores)\n",
" return avg_scores\n",
" \n",
" \n",
" def plot_population(self, n_best=10):\n",
" scores = [tree.score() for tree in self.population]\n",
" \n",
" ii = np.argsort(-np.array(scores))[:n_best]\n",
"\n",
" for i in ii:\n",
" self.population[i].root().simplify()\n",
" display(self.population[i].root().dot())\n",
" display(Markdown(f\"**Recipe Score**: {scores[i]}\"))\n",
" display(self.population[i].root().to_instruction().to_markdown())"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run Evolutionary Algorithm"
]
},
{
"cell_type": "code",
"execution_count": 30,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "4f9dbb855e334f998233846a21f3d734",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HBox(children=(FloatProgress(value=0.0, description='build initial population', max=50.0, style=ProgressStyle(…"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n"
]
}
],
"source": [
"p = Population([\"noodle\"],['noodle'], min_additional=4, max_additional=13, n_population = 50, mutations=1)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#p_ingredient_unprepared(list(p.population[0].root().childs())[0]._name) < 0.2"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "813338543c5841969ba632102f1ff291",
"version_major": 2,
"version_minor": 0
},
"text/plain": [
"HBox(children=(FloatProgress(value=0.0, description='run evolutionary cycles', max=10.0, style=ProgressStyle(d…"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\n"
]
}
],
"source": [
"avg = p.run(10)"
]
},
{
"cell_type": "code",
"execution_count": 32,
"metadata": {},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1036pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1035.85 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1031.8528,-429.8234 1031.8528,4 -4,4\"/>\n",
"<!-- 9443 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>9443</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"389,-425.8234 269,-389.8234 389,-353.8234 509,-389.8234 389,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"375.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"379.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"337\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 9444 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>9444</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"295\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"277\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"281\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"243\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9443&#45;&gt;9444 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>9443&#45;&gt;9444</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M362.0634,-361.8964C350.7417,-350.1586 337.508,-336.4383 325.8017,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"328.2025,-321.7491 318.741,-316.9814 323.1642,-326.6088 328.2025,-321.7491\"/>\n",
"</g>\n",
"<!-- 9446 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>9446</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"485\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"469\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"473\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"433\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9443&#45;&gt;9446 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>9443&#45;&gt;9446</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M416.5097,-361.8964C428.0723,-350.1586 441.5876,-336.4383 453.5429,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"456.2296,-326.5617 460.7538,-316.9814 451.2427,-321.6493 456.2296,-326.5617\"/>\n",
"</g>\n",
"<!-- 9445 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>9445</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"349,-212.9117 233,-212.9117 233,-176.9117 349,-176.9117 349,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"250\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"254\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream cheese</text>\n",
"<text text-anchor=\"start\" x=\"241\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9444&#45;&gt;9445 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>9444&#45;&gt;9445</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M293.949,-266.7622C293.4011,-253.4123 292.7295,-237.0481 292.1656,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"295.6482,-222.8122 291.7409,-212.9642 288.6541,-223.0993 295.6482,-222.8122\"/>\n",
"</g>\n",
"<!-- 9447 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>9447</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"487,-230.9117 367,-194.9117 487,-158.9117 607,-194.9117 487,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"473.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"477.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"435\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.6667</text>\n",
"</g>\n",
"<!-- 9446&#45;&gt;9447 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>9446&#45;&gt;9447</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M485.5255,-266.7622C485.6869,-258.8985 485.8697,-249.989 486.0503,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"489.554,-241.0411 486.26,-230.9713 482.5554,-240.8974 489.554,-241.0411\"/>\n",
"</g>\n",
"<!-- 9457 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>9457</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"17.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"21.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9457 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>9447&#45;&gt;9457</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M427.3162,-176.6609C405.6296,-170.4532 380.8411,-163.8451 358,-158.9117 255.5775,-136.7897 226.311,-149.6667 125,-122.9117 120.4283,-121.7044 115.7376,-120.2946 111.0639,-118.769\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"112.1327,-115.4355 101.538,-115.5029 109.8622,-122.0571 112.1327,-115.4355\"/>\n",
"</g>\n",
"<!-- 9448 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>9448</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"250,-115.4558 134,-115.4558 134,-79.4558 250,-79.4558 250,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"175.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"179.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"142\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9448 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>9447&#45;&gt;9448</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M426.6851,-176.8944C380.5447,-162.8631 315.4618,-142.5347 259,-122.9117 255.3362,-121.6383 251.5712,-120.2977 247.7841,-118.925\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"248.9631,-115.6294 238.3695,-115.4668 246.5495,-122.2002 248.9631,-115.6294\"/>\n",
"</g>\n",
"<!-- 9219 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>9219</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"384,-115.4558 268,-115.4558 268,-79.4558 384,-79.4558 384,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"301\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"305\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">olive oil</text>\n",
"<text text-anchor=\"start\" x=\"276\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9219 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>9447&#45;&gt;9219</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M447.2022,-170.8215C421.9904,-155.5603 389.5502,-135.9238 364.5767,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"366.1082,-117.6428 355.741,-115.4585 362.4834,-123.6311 366.1082,-117.6428\"/>\n",
"</g>\n",
"<!-- 9453 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>9453</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"487\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"472.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"476.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"435\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9453 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>9447&#45;&gt;9453</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M487,-158.8996C487,-150.5122 487,-141.5843 487,-133.2082\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"490.5001,-132.9756 487,-122.9757 483.5001,-132.9757 490.5001,-132.9756\"/>\n",
"</g>\n",
"<!-- 9452 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>9452</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"706,-115.4558 590,-115.4558 590,-79.4558 706,-79.4558 706,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"626.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"630.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"598\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9452 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>9447&#45;&gt;9452</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M526.7978,-170.8215C552.0096,-155.5603 584.4498,-135.9238 609.4233,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"611.5166,-123.6311 618.259,-115.4585 607.8918,-117.6428 611.5166,-123.6311\"/>\n",
"</g>\n",
"<!-- 9451 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>9451</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"840,-115.4558 724,-115.4558 724,-79.4558 840,-79.4558 840,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"763\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"767\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">water</text>\n",
"<text text-anchor=\"start\" x=\"732\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9451 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>9447&#45;&gt;9451</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M547.3149,-176.8944C593.4553,-162.8631 658.5382,-142.5347 715,-122.9117 718.6638,-121.6383 722.4288,-120.2977 726.2159,-118.925\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"727.4505,-122.2002 735.6305,-115.4668 725.0369,-115.6294 727.4505,-122.2002\"/>\n",
"</g>\n",
"<!-- 9449 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>9449</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"943\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"927\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"931\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"891\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9447&#45;&gt;9449 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>9447&#45;&gt;9449</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M562.5471,-181.4369C636.0036,-167.97 750.5876,-145.9956 849,-122.9117 856.2105,-121.2204 863.7056,-119.3625 871.1769,-117.4447\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"872.1634,-120.8046 880.9589,-114.8979 870.3996,-114.0304 872.1634,-120.8046\"/>\n",
"</g>\n",
"<!-- 9454 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>9454</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"545,-36 429,-36 429,0 545,0 545,-36\"/>\n",
"<text text-anchor=\"start\" x=\"466.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"470.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">carrot</text>\n",
"<text text-anchor=\"start\" x=\"437\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9453&#45;&gt;9454 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>9453&#45;&gt;9454</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M487,-71.8782C487,-63.7122 487,-54.6289 487,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"490.5001,-46.2287 487,-36.2288 483.5001,-46.2288 490.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 9450 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>9450</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1001,-36 885,-36 885,0 1001,0 1001,-36\"/>\n",
"<text text-anchor=\"start\" x=\"924.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"928.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">onion</text>\n",
"<text text-anchor=\"start\" x=\"893\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9449&#45;&gt;9450 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>9449&#45;&gt;9450</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M943,-71.8782C943,-63.7122 943,-54.6289 943,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"946.5001,-46.2287 943,-36.2288 939.5001,-46.2288 946.5001,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9a8496d0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7936507936507935"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * onion\n",
" * olive oil\n",
" * cream cheese\n",
" * carrot\n",
" * noodle\n",
" * flour\n",
" * tomato sauce\n",
" * water\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice carrot, chop onion and mix it with tomato sauce, flour, olive oil, noodle and water. Then cook it. |\n",
"| 2 | mash cream cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"902pt\" height=\"413pt\"\n",
" viewBox=\"0.00 0.00 901.85 412.74\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 408.7351)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-408.7351 897.8528,-408.7351 897.8528,4 -4,4\"/>\n",
"<!-- 7767 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>7767</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"446.8528\" cy=\"-379.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"429.3528\" y=\"-383.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"433.3528\" y=\"-383.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">place</text>\n",
"<text text-anchor=\"start\" x=\"394.8528\" y=\"-369.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.3333</text>\n",
"</g>\n",
"<!-- 7753 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>7753</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"446.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"430.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"434.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"394.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7767&#45;&gt;7753 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>7767&#45;&gt;7753</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M446.8528,-353.6729C446.8528,-345.699 446.8528,-336.7545 446.8528,-328.2147\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"450.3529,-328.0911 446.8528,-318.0911 443.3529,-328.0912 450.3529,-328.0911\"/>\n",
"</g>\n",
"<!-- 7754 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>7754</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"446.8528,-230.9117 326.8528,-194.9117 446.8528,-158.9117 566.8528,-194.9117 446.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"433.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"437.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"394.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5333</text>\n",
"</g>\n",
"<!-- 7753&#45;&gt;7754 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>7753&#45;&gt;7754</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M446.8528,-266.7622C446.8528,-258.8985 446.8528,-249.989 446.8528,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"450.3529,-240.9713 446.8528,-230.9713 443.3529,-240.9714 450.3529,-240.9713\"/>\n",
"</g>\n",
"<!-- 7757 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>7757</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"68.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"72.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7754&#45;&gt;7757 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>7754&#45;&gt;7757</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M383.218,-177.8542C328.9107,-163.2878 248.7419,-141.763 178.8528,-122.9117 172.007,-121.0652 164.8815,-119.1405 157.7516,-117.2128\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"158.6193,-113.8218 148.0523,-114.5893 156.7916,-120.579 158.6193,-113.8218\"/>\n",
"</g>\n",
"<!-- 7764 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>7764</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"303.8528,-115.4558 187.8528,-115.4558 187.8528,-79.4558 303.8528,-79.4558 303.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"205.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"209.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"195.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7754&#45;&gt;7764 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>7754&#45;&gt;7764</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M400.7394,-172.5533C368.2486,-156.8001 324.9054,-135.7849 292.3333,-119.9921\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"293.5483,-116.6916 283.0232,-115.4781 290.4943,-122.9903 293.5483,-116.6916\"/>\n",
"</g>\n",
"<!-- 7765 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>7765</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"437.8528,-115.4558 321.8528,-115.4558 321.8528,-79.4558 437.8528,-79.4558 437.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"358.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"362.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"329.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7754&#45;&gt;7765 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>7754&#45;&gt;7765</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M426.2039,-164.8765C417.2067,-151.7895 406.7518,-136.5822 398.0509,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"400.8964,-121.887 392.347,-115.6294 395.1281,-125.8527 400.8964,-121.887\"/>\n",
"</g>\n",
"<!-- 8175 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>8175</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"571.8528,-115.4558 455.8528,-115.4558 455.8528,-79.4558 571.8528,-79.4558 571.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"475.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"479.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"463.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7754&#45;&gt;8175 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>7754&#45;&gt;8175</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M467.5017,-164.8765C476.4989,-151.7895 486.9538,-136.5822 495.6547,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"498.5775,-125.8527 501.3587,-115.6294 492.8092,-121.887 498.5775,-125.8527\"/>\n",
"</g>\n",
"<!-- 7755 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>7755</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"674.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"658.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"662.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"622.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7754&#45;&gt;7755 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>7754&#45;&gt;7755</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M496.6066,-173.645C531.9987,-158.5171 579.6569,-138.1462 616.789,-122.2745\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"618.1691,-125.491 625.9887,-118.3422 615.4178,-119.0544 618.1691,-125.491\"/>\n",
"</g>\n",
"<!-- 7759 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>7759</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"893.8528,-115.4558 777.8528,-115.4558 777.8528,-79.4558 893.8528,-79.4558 893.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"810.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"814.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">olive oil</text>\n",
"<text text-anchor=\"start\" x=\"785.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7754&#45;&gt;7759 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>7754&#45;&gt;7759</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M521.8112,-181.309C587.5757,-168.6284 685.4564,-147.938 768.8528,-122.9117 772.9422,-121.6845 777.1391,-120.329 781.341,-118.9015\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"782.8345,-122.0865 791.1069,-115.467 780.5121,-115.483 782.8345,-122.0865\"/>\n",
"</g>\n",
"<!-- 7758 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>7758</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"61.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"65.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7757&#45;&gt;7758 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>7757&#45;&gt;7758</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 7756 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>7756</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"732.8528,-36 616.8528,-36 616.8528,0 732.8528,0 732.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"639.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"643.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">garlic clove</text>\n",
"<text text-anchor=\"start\" x=\"624.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7755&#45;&gt;7756 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>7755&#45;&gt;7756</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M674.8528,-71.8782C674.8528,-63.7122 674.8528,-54.6289 674.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"678.3529,-46.2287 674.8528,-36.2288 671.3529,-46.2288 678.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9aa4bad0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7833333333333333"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * olive oil\n",
" * vegetable oil\n",
" * parsley\n",
" * noodle\n",
" * garlic clove\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | chop parsley, chop garlic clove and mix it with tomato sauce, noodle, vegetable oil and olive oil. Then cook it. |\n",
"| 2 | place the result of step 1 |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"822pt\" height=\"608pt\"\n",
" viewBox=\"0.00 0.00 821.85 607.65\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 603.6468)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-603.6468 817.8528,-603.6468 817.8528,4 -4,4\"/>\n",
"<!-- 8736 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>8736</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"406.8528\" cy=\"-574.1909\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"389.3528\" y=\"-577.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"393.3528\" y=\"-577.9909\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">place</text>\n",
"<text text-anchor=\"start\" x=\"354.8528\" y=\"-563.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.3333</text>\n",
"</g>\n",
"<!-- 8737 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>8737</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"406.8528\" cy=\"-487.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"390.8528\" y=\"-491.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"394.8528\" y=\"-491.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"354.8528\" y=\"-477.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.8333</text>\n",
"</g>\n",
"<!-- 8736&#45;&gt;8737 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>8736&#45;&gt;8737</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M406.8528,-548.5846C406.8528,-540.6107 406.8528,-531.6662 406.8528,-523.1264\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"410.3529,-523.0028 406.8528,-513.0028 403.3529,-523.0029 410.3529,-523.0028\"/>\n",
"</g>\n",
"<!-- 8749 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>8749</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"406.8528,-425.8234 286.8528,-389.8234 406.8528,-353.8234 526.8528,-389.8234 406.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"393.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"397.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"354.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.2143</text>\n",
"</g>\n",
"<!-- 8737&#45;&gt;8749 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>8737&#45;&gt;8749</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M406.8528,-461.6738C406.8528,-453.8102 406.8528,-444.9007 406.8528,-436.0982\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"410.3529,-435.883 406.8528,-425.883 403.3529,-435.883 410.3529,-435.883\"/>\n",
"</g>\n",
"<!-- 8739 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>8739</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"68.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"72.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 8749&#45;&gt;8739 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>8749&#45;&gt;8739</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M347.0417,-371.7211C292.4544,-355.1998 211.7682,-330.7795 154.3399,-313.3984\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"155.2013,-310.0023 144.6161,-310.4554 153.1734,-316.7022 155.2013,-310.0023\"/>\n",
"</g>\n",
"<!-- 8746 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>8746</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"303.8528,-310.3675 187.8528,-310.3675 187.8528,-274.3675 303.8528,-274.3675 303.8528,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"224.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">olive oil</text>\n",
"<text text-anchor=\"start\" x=\"195.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 8749&#45;&gt;8746 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>8749&#45;&gt;8746</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M367.0551,-365.7332C341.8432,-350.472 309.403,-330.8355 284.4295,-315.7186\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"285.9611,-312.5544 275.5938,-310.3702 282.3362,-318.5428 285.9611,-312.5544\"/>\n",
"</g>\n",
"<!-- 8748 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>8748</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"406.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"390.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"394.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"354.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 8749&#45;&gt;8748 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>8749&#45;&gt;8748</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M406.8528,-353.8113C406.8528,-345.4239 406.8528,-336.496 406.8528,-328.1199\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"410.3529,-327.8873 406.8528,-317.8874 403.3529,-327.8874 410.3529,-327.8873\"/>\n",
"</g>\n",
"<!-- 8744 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>8744</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"594.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"578.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"582.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"542.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 8749&#45;&gt;8744 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>8749&#45;&gt;8744</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M450.9305,-366.9743C478.547,-352.6584 514.2623,-334.1442 543.2049,-319.1409\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"545.0778,-322.1124 552.345,-314.4028 541.8562,-315.8978 545.0778,-322.1124\"/>\n",
"</g>\n",
"<!-- 8742 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>8742</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"813.8528,-310.3675 697.8528,-310.3675 697.8528,-274.3675 813.8528,-274.3675 813.8528,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"734.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"738.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"705.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 8749&#45;&gt;8742 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>8749&#45;&gt;8742</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M475.8463,-374.51C533.3201,-361.2056 617.0743,-340.5421 688.8528,-317.8234 692.7899,-316.5772 696.8322,-315.2264 700.8863,-313.8189\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"702.0792,-317.1095 710.3232,-310.4546 699.7285,-310.5159 702.0792,-317.1095\"/>\n",
"</g>\n",
"<!-- 8740 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>8740</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-212.9117 26.8528,-212.9117 26.8528,-176.9117 142.8528,-176.9117 142.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"61.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"65.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 8739&#45;&gt;8740 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>8739&#45;&gt;8740</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-266.7622C84.8528,-253.4123 84.8528,-237.0481 84.8528,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-222.9641 84.8528,-212.9642 81.3529,-222.9642 88.3529,-222.9641\"/>\n",
"</g>\n",
"<!-- 8750 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>8750</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"402.8528,-230.9117 282.8528,-194.9117 402.8528,-158.9117 522.8528,-194.9117 402.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"389.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"393.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"350.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 8748&#45;&gt;8750 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>8748&#45;&gt;8750</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M405.8019,-266.7622C405.4722,-258.7311 405.0978,-249.6091 404.7291,-240.6244\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"408.225,-240.4521 404.3178,-230.6041 401.2309,-240.7393 408.225,-240.4521\"/>\n",
"</g>\n",
"<!-- 9375 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>9375</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"321.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"307.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"311.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"269.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 8750&#45;&gt;9375 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>8750&#45;&gt;9375</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M378.7695,-165.9356C369.3727,-154.6298 358.5567,-141.6164 348.8939,-129.9906\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"351.5038,-127.655 342.4202,-122.2016 346.1204,-132.1293 351.5038,-127.655\"/>\n",
"</g>\n",
"<!-- 8743 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>8743</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"540.8528,-115.4558 424.8528,-115.4558 424.8528,-79.4558 540.8528,-79.4558 540.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"444.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"448.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"432.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 8750&#45;&gt;8743 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>8750&#45;&gt;8743</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M426.6389,-165.9356C437.7,-152.4609 450.7524,-136.5605 461.4944,-123.4746\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"464.2061,-125.6875 467.8458,-115.7374 458.7956,-121.246 464.2061,-125.6875\"/>\n",
"</g>\n",
"<!-- 9376 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>9376</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"379.8528,-36 263.8528,-36 263.8528,0 379.8528,0 379.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"285.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"289.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">green onion</text>\n",
"<text text-anchor=\"start\" x=\"271.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9375&#45;&gt;9376 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>9375&#45;&gt;9376</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M321.8528,-71.8782C321.8528,-63.7122 321.8528,-54.6289 321.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"325.3529,-46.2287 321.8528,-36.2288 318.3529,-46.2288 325.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 8745 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>8745</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"656.8528,-212.9117 540.8528,-212.9117 540.8528,-176.9117 656.8528,-176.9117 656.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"563.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"567.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">garlic clove</text>\n",
"<text text-anchor=\"start\" x=\"548.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 8744&#45;&gt;8745 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>8744&#45;&gt;8745</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M595.9038,-266.7622C596.4517,-253.4123 597.1234,-237.0481 597.6872,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"601.1987,-223.0993 598.1119,-212.9642 594.2046,-222.8122 601.1987,-223.0993\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa8aba49d0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7493734335839598"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * olive oil\n",
" * vegetable oil\n",
" * parsley\n",
" * noodle\n",
" * garlic clove\n",
" * green onion\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice green onion and mix it with vegetable oil. Then bake it. |\n",
"| 2 | chop parsley, chop garlic clove and mix it with olive oil and noodle and mix it together with the results of step 1. Then cook it. |\n",
"| 3 | place the result of step 2 |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1010pt\" height=\"500pt\"\n",
" viewBox=\"0.00 0.00 1009.71 499.65\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 495.6468)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-495.6468 1005.7056,-495.6468 1005.7056,4 -4,4\"/>\n",
"<!-- 9604 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>9604</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"486.8528\" cy=\"-466.1909\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"470.8528\" y=\"-469.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"474.8528\" y=\"-469.9909\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"434.8528\" y=\"-455.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.8333</text>\n",
"</g>\n",
"<!-- 9605 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>9605</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"486.8528,-404.7351 366.8528,-368.7351 486.8528,-332.7351 606.8528,-368.7351 486.8528,-404.7351\"/>\n",
"<text text-anchor=\"start\" x=\"473.3528\" y=\"-372.5351\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"477.3528\" y=\"-372.5351\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"434.8528\" y=\"-358.5351\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.4000</text>\n",
"</g>\n",
"<!-- 9604&#45;&gt;9605 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>9604&#45;&gt;9605</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M486.8528,-440.5855C486.8528,-432.7219 486.8528,-423.8124 486.8528,-415.0098\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"490.3529,-414.7947 486.8528,-404.7947 483.3529,-414.7947 490.3529,-414.7947\"/>\n",
"</g>\n",
"<!-- 9611 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>9611</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"68.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"72.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9605&#45;&gt;9611 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>9605&#45;&gt;9611</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M417.8775,-353.3334C355.3467,-339.1992 260.7193,-317.3822 178.8528,-296.7351 171.8649,-294.9727 164.598,-293.0915 157.3388,-291.1798\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"158.0346,-287.7434 147.4715,-288.5625 156.2398,-294.5094 158.0346,-287.7434\"/>\n",
"</g>\n",
"<!-- 9610 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>9610</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"303.8528,-289.2792 187.8528,-289.2792 187.8528,-253.2792 303.8528,-253.2792 303.8528,-289.2792\"/>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"224.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">olive oil</text>\n",
"<text text-anchor=\"start\" x=\"195.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9605&#45;&gt;9610 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>9605&#45;&gt;9610</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M435.7429,-348.0672C395.8332,-331.9284 340.5185,-309.5602 299.8819,-293.1276\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"300.9899,-289.8003 290.4071,-289.2961 298.3657,-296.2898 300.9899,-289.8003\"/>\n",
"</g>\n",
"<!-- 9863 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>9863</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"406.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"392.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"396.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"354.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9605&#45;&gt;9863 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>9605&#45;&gt;9863</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M463.0668,-339.759C453.786,-328.4532 443.1035,-315.4398 433.5601,-303.814\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"436.2164,-301.5336 427.1663,-296.025 430.8059,-305.9751 436.2164,-301.5336\"/>\n",
"</g>\n",
"<!-- 9616 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>9616</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"625.8528,-289.2792 509.8528,-289.2792 509.8528,-253.2792 625.8528,-253.2792 625.8528,-289.2792\"/>\n",
"<text text-anchor=\"start\" x=\"546.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"550.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"517.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9605&#45;&gt;9616 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>9605&#45;&gt;9616</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M510.9362,-339.759C522.1356,-326.2843 535.3511,-310.3839 546.2274,-297.298\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"548.9579,-299.4884 552.6582,-289.5608 543.5746,-295.0141 548.9579,-299.4884\"/>\n",
"</g>\n",
"<!-- 9608 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>9608</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"728.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"712.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"716.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"676.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9605&#45;&gt;9608 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>9605&#45;&gt;9608</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M538.1748,-348.0672C576.3234,-332.7043 628.4893,-311.6966 668.6153,-295.5375\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"670.0517,-298.7322 678.0203,-291.75 667.4367,-292.239 670.0517,-298.7322\"/>\n",
"</g>\n",
"<!-- 9606 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>9606</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"916.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"900.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"904.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"864.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9605&#45;&gt;9606 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>9605&#45;&gt;9606</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M559.2036,-354.3938C627.4213,-340.5973 732.4055,-318.6562 822.8528,-296.7351 829.9132,-295.0239 837.2518,-293.17 844.5761,-291.2695\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"845.7435,-294.5817 854.5276,-288.658 843.9666,-287.8109 845.7435,-294.5817\"/>\n",
"</g>\n",
"<!-- 9612 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>9612</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-184.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"73.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"77.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 9611&#45;&gt;9612 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>9611&#45;&gt;9612</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-245.6729C84.8528,-237.699 84.8528,-228.7545 84.8528,-220.2147\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-220.0911 84.8528,-210.0911 81.3529,-220.0912 88.3529,-220.0911\"/>\n",
"</g>\n",
"<!-- 9613 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>9613</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"70.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"74.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">heat</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9612&#45;&gt;9613 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>9612&#45;&gt;9613</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-158.7612C84.8528,-150.7873 84.8528,-141.8428 84.8528,-133.303\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-133.1794 84.8528,-123.1795 81.3529,-133.1795 88.3529,-133.1794\"/>\n",
"</g>\n",
"<!-- 9614 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>9614</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"66.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"70.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">onion</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.7500</text>\n",
"</g>\n",
"<!-- 9613&#45;&gt;9614 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>9613&#45;&gt;9614</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 9864 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>9864</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"464.8528,-202.3675 348.8528,-202.3675 348.8528,-166.3675 464.8528,-166.3675 464.8528,-202.3675\"/>\n",
"<text text-anchor=\"start\" x=\"372.8528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"376.8528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"356.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9863&#45;&gt;9864 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>9863&#45;&gt;9864</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M406.8528,-245.6729C406.8528,-235.308 406.8528,-223.3034 406.8528,-212.6791\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"410.3529,-212.6268 406.8528,-202.6268 403.3529,-212.6268 410.3529,-212.6268\"/>\n",
"</g>\n",
"<!-- 9609 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>9609</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"786.8528,-202.3675 670.8528,-202.3675 670.8528,-166.3675 786.8528,-166.3675 786.8528,-202.3675\"/>\n",
"<text text-anchor=\"start\" x=\"705.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"709.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"678.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9608&#45;&gt;9609 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>9608&#45;&gt;9609</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M728.8528,-245.6729C728.8528,-235.308 728.8528,-223.3034 728.8528,-212.6791\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"732.3529,-212.6268 728.8528,-202.6268 725.3529,-212.6268 732.3529,-212.6268\"/>\n",
"</g>\n",
"<!-- 9607 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>9607</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"974.8528,-202.3675 858.8528,-202.3675 858.8528,-166.3675 974.8528,-166.3675 974.8528,-202.3675\"/>\n",
"<text text-anchor=\"start\" x=\"881.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"885.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">garlic clove</text>\n",
"<text text-anchor=\"start\" x=\"866.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9606&#45;&gt;9607 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>9606&#45;&gt;9607</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M916.8528,-245.6729C916.8528,-235.308 916.8528,-223.3034 916.8528,-212.6791\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"920.3529,-212.6268 916.8528,-202.6268 913.3529,-212.6268 920.3529,-212.6268\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9ab6ec50>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7359649122807018"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * onion\n",
" * olive oil\n",
" * parsley\n",
" * noodle\n",
" * garlic clove\n",
" * mushroom\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | heat and cut onion |\n",
"| 2 | cook the result of step 1 |\n",
"| 3 | slice mushroom, chop parsley, chop garlic clove and mix it with olive oil and noodle and mix it together with the results of step 2. Then cook it. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1635pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1634.71 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1630.7056,-429.8234 1630.7056,4 -4,4\"/>\n",
"<!-- 6758 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>6758</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"881.8528,-425.8234 761.8528,-389.8234 881.8528,-353.8234 1001.8528,-389.8234 881.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"868.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"872.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"829.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 6759 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>6759</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"787.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"771.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"775.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"735.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6758&#45;&gt;6759 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>6758&#45;&gt;6759</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M854.9162,-361.8964C843.5946,-350.1586 830.3608,-336.4383 818.6545,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"821.0553,-321.7491 811.5939,-316.9814 816.017,-326.6088 821.0553,-321.7491\"/>\n",
"</g>\n",
"<!-- 7358 -->\n",
"<g id=\"node18\" class=\"node\">\n",
"<title>7358</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"978.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"964.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"968.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">beat</text>\n",
"<text text-anchor=\"start\" x=\"926.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6758&#45;&gt;7358 -->\n",
"<g id=\"edge17\" class=\"edge\">\n",
"<title>6758&#45;&gt;7358</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M909.6491,-361.8964C921.3321,-350.1586 934.9882,-336.4383 947.0681,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"949.7803,-326.5381 954.3541,-316.9814 944.8189,-321.6 949.7803,-326.5381\"/>\n",
"</g>\n",
"<!-- 6760 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>6760</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"781.8528,-230.9117 661.8528,-194.9117 781.8528,-158.9117 901.8528,-194.9117 781.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"768.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"772.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"729.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5273</text>\n",
"</g>\n",
"<!-- 6759&#45;&gt;6760 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>6759&#45;&gt;6760</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M786.2764,-266.7622C785.7819,-258.7311 785.2203,-249.6091 784.6672,-240.6244\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"788.1582,-240.3701 784.0503,-230.6041 781.1715,-240.8003 788.1582,-240.3701\"/>\n",
"</g>\n",
"<!-- 6761 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>6761</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"66.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"70.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6761 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>6760&#45;&gt;6761</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M685.6251,-187.771C566.0436,-177.9017 356.0979,-157.3032 178.8528,-122.9117 171.2671,-121.4398 163.394,-119.6821 155.5778,-117.7876\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"156.284,-114.3565 145.7336,-115.326 154.5858,-121.1474 156.284,-114.3565\"/>\n",
"</g>\n",
"<!-- 6769 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>6769</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"303.8528,-115.4558 187.8528,-115.4558 187.8528,-79.4558 303.8528,-79.4558 303.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"211.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"215.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">red pepper</text>\n",
"<text text-anchor=\"start\" x=\"195.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6769 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>6760&#45;&gt;6769</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M689.4568,-186.5366C594.0106,-176.5385 441.2998,-156.7667 312.8528,-122.9117 308.2805,-121.7066 303.5894,-120.2983 298.9154,-118.7738\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"299.9838,-115.4402 289.3892,-115.5091 297.7144,-122.0621 299.9838,-115.4402\"/>\n",
"</g>\n",
"<!-- 6767 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>6767</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"437.8528,-115.4558 321.8528,-115.4558 321.8528,-79.4558 437.8528,-79.4558 437.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"359.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"363.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cheese</text>\n",
"<text text-anchor=\"start\" x=\"329.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6767 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>6760&#45;&gt;6767</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M705.1895,-181.8537C636.7483,-169.39 534.1361,-148.7111 446.8528,-122.9117 442.7584,-121.7014 438.5578,-120.3583 434.3532,-118.9397\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"435.178,-115.5201 424.5831,-115.5194 432.865,-122.127 435.178,-115.5201\"/>\n",
"</g>\n",
"<!-- 6765 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>6765</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"571.8528,-115.4558 455.8528,-115.4558 455.8528,-79.4558 571.8528,-79.4558 571.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"488.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"492.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">oregano</text>\n",
"<text text-anchor=\"start\" x=\"463.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6765 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>6760&#45;&gt;6765</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M726.2945,-175.3316C685.8807,-161.0105 629.8852,-141.0063 580.8528,-122.9117 577.4419,-121.6529 573.9368,-120.3499 570.4035,-119.0291\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"571.6219,-115.7481 561.0298,-115.5096 569.1613,-122.3014 571.6219,-115.7481\"/>\n",
"</g>\n",
"<!-- 6766 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>6766</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"705.8528,-115.4558 589.8528,-115.4558 589.8528,-79.4558 705.8528,-79.4558 705.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"609.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"613.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"597.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6766 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>6760&#45;&gt;6766</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M746.6459,-169.3063C726.2909,-154.5025 700.8393,-135.992 680.8676,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"682.8206,-118.5596 672.6746,-115.5083 678.7033,-124.2207 682.8206,-118.5596\"/>\n",
"</g>\n",
"<!-- 6774 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>6774</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"839.8528,-115.4558 723.8528,-115.4558 723.8528,-79.4558 839.8528,-79.4558 839.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"763.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"767.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">sauce</text>\n",
"<text text-anchor=\"start\" x=\"731.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6774 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>6760&#45;&gt;6774</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M781.8528,-158.8996C781.8528,-147.9536 781.8528,-136.0871 781.8528,-125.7278\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"785.3529,-125.5795 781.8528,-115.5795 778.3529,-125.5795 785.3529,-125.5795\"/>\n",
"</g>\n",
"<!-- 6775 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>6775</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"973.8528,-115.4558 857.8528,-115.4558 857.8528,-79.4558 973.8528,-79.4558 973.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"894.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"898.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"865.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6775 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>6760&#45;&gt;6775</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M817.0597,-169.3063C837.4147,-154.5025 862.8663,-135.992 882.838,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"885.0023,-124.2207 891.031,-115.5083 880.885,-118.5596 885.0023,-124.2207\"/>\n",
"</g>\n",
"<!-- 6773 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>6773</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1117.3528,-115.4558 992.3528,-115.4558 992.3528,-79.4558 1117.3528,-79.4558 1117.3528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1000.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1004.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"1004.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6773 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>6760&#45;&gt;6773</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M836.77,-175.3073C882.5099,-158.979 947.5543,-135.7594 994.6939,-118.9315\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"995.9284,-122.2071 1004.1696,-115.5488 993.575,-115.6146 995.9284,-122.2071\"/>\n",
"</g>\n",
"<!-- 6763 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>6763</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1219.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1208.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1212.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"1167.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6763 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>6760&#45;&gt;6763</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M841.5695,-176.8106C863.2593,-170.6176 888.0413,-163.9804 910.8528,-158.9117 1005.8599,-137.8012 1031.7936,-143.786 1126.8528,-122.9117 1133.9345,-121.3566 1141.282,-119.5991 1148.6027,-117.7521\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1149.7324,-121.0753 1158.5413,-115.1886 1147.9841,-114.2971 1149.7324,-121.0753\"/>\n",
"</g>\n",
"<!-- 6772 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>6772</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1438.8528,-115.4558 1322.8528,-115.4558 1322.8528,-79.4558 1438.8528,-79.4558 1438.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1368.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1372.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">salt</text>\n",
"<text text-anchor=\"start\" x=\"1330.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6772 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>6760&#45;&gt;6772</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M840.0844,-176.2217C862.0566,-169.8172 887.4076,-163.193 910.8528,-158.9117 1087.7519,-126.6082 1138.6051,-163.2232 1313.8528,-122.9117 1318.8038,-121.7728 1323.8798,-120.3497 1328.915,-118.7621\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1330.1411,-122.0424 1338.5039,-115.5375 1327.9099,-115.4075 1330.1411,-122.0424\"/>\n",
"</g>\n",
"<!-- 6770 -->\n",
"<g id=\"node16\" class=\"node\">\n",
"<title>6770</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1541.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1525.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1529.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"1489.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6760&#45;&gt;6770 -->\n",
"<g id=\"edge15\" class=\"edge\">\n",
"<title>6760&#45;&gt;6770</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M839.3929,-176.1297C861.5064,-169.6339 887.1325,-162.9723 910.8528,-158.9117 1146.6255,-118.5507 1211.9268,-162.3667 1447.8528,-122.9117 1455.7959,-121.5833 1464.0375,-119.868 1472.1914,-117.9557\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1473.1869,-121.3154 1482.068,-115.5382 1471.5226,-114.5161 1473.1869,-121.3154\"/>\n",
"</g>\n",
"<!-- 6762 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>6762</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"64.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"68.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">butter</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6761&#45;&gt;6762 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>6761&#45;&gt;6762</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 6764 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>6764</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1277.8528,-36 1161.8528,-36 1161.8528,0 1277.8528,0 1277.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1194.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1198.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"1169.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6763&#45;&gt;6764 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>6763&#45;&gt;6764</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1219.8528,-71.8782C1219.8528,-63.7122 1219.8528,-54.6289 1219.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1223.3529,-46.2287 1219.8528,-36.2288 1216.3529,-46.2288 1223.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 6771 -->\n",
"<g id=\"node17\" class=\"node\">\n",
"<title>6771</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1599.8528,-36 1483.8528,-36 1483.8528,0 1599.8528,0 1599.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1518.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1522.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"1491.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6770&#45;&gt;6771 -->\n",
"<g id=\"edge16\" class=\"edge\">\n",
"<title>6770&#45;&gt;6771</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1541.8528,-71.8782C1541.8528,-63.7122 1541.8528,-54.6289 1541.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1545.3529,-46.2287 1541.8528,-36.2288 1538.3529,-46.2288 1545.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 7359 -->\n",
"<g id=\"node19\" class=\"node\">\n",
"<title>7359</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1043.3528,-212.9117 920.3528,-212.9117 920.3528,-176.9117 1043.3528,-176.9117 1043.3528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"928.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"932.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tablespoon butter</text>\n",
"<text text-anchor=\"start\" x=\"931.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.0000</text>\n",
"</g>\n",
"<!-- 7358&#45;&gt;7359 -->\n",
"<g id=\"edge18\" class=\"edge\">\n",
"<title>7358&#45;&gt;7359</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M979.641,-266.7622C980.052,-253.4123 980.5557,-237.0481 980.9786,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"984.4877,-223.0671 981.2971,-212.9642 977.491,-222.8517 984.4877,-223.0671\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa8bda8590>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7266666666666667"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * oregano\n",
" * red pepper\n",
" * vegetable oil\n",
" * tablespoon butter\n",
" * mozzarella cheese\n",
" * parsley\n",
" * sauce\n",
" * salt\n",
" * butter\n",
" * noodle\n",
" * broccoli\n",
" * cheese\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | mash butter, cut broccoli, chop parsley and mix it with red pepper, cheese, oregano, vegetable oil, sauce, noodle, mozzarella cheese and salt. Then bake it. |\n",
"| 2 | beat tablespoon butter and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1090pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1090.00 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1086,-429.8234 1086,4 -4,4\"/>\n",
"<!-- 6983 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>6983</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"416,-425.8234 296,-389.8234 416,-353.8234 536,-389.8234 416,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"402.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"406.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"364\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 6997 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>6997</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"322\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"304\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"308\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"270\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6983&#45;&gt;6997 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>6983&#45;&gt;6997</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M389.0634,-361.8964C377.7417,-350.1586 364.508,-336.4383 352.8017,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"355.2025,-321.7491 345.741,-316.9814 350.1642,-326.6088 355.2025,-321.7491\"/>\n",
"</g>\n",
"<!-- 6984 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>6984</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"512\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"496\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"500\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"460\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.8571</text>\n",
"</g>\n",
"<!-- 6983&#45;&gt;6984 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>6983&#45;&gt;6984</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M443.5097,-361.8964C455.0723,-350.1586 468.5876,-336.4383 480.5429,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"483.2296,-326.5617 487.7538,-316.9814 478.2427,-321.6493 483.2296,-326.5617\"/>\n",
"</g>\n",
"<!-- 6998 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>6998</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"376,-212.9117 260,-212.9117 260,-176.9117 376,-176.9117 376,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"277\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"281\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream cheese</text>\n",
"<text text-anchor=\"start\" x=\"268\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6997&#45;&gt;6998 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>6997&#45;&gt;6998</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M320.949,-266.7622C320.4011,-253.4123 319.7295,-237.0481 319.1656,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"322.6482,-222.8122 318.7409,-212.9642 315.6541,-223.0993 322.6482,-222.8122\"/>\n",
"</g>\n",
"<!-- 6985 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>6985</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"514,-230.9117 394,-194.9117 514,-158.9117 634,-194.9117 514,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"500.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"504.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"462\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.4286</text>\n",
"</g>\n",
"<!-- 6984&#45;&gt;6985 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>6984&#45;&gt;6985</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M512.5255,-266.7622C512.6869,-258.8985 512.8697,-249.989 513.0503,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"516.554,-241.0411 513.26,-230.9713 509.5554,-240.8974 516.554,-241.0411\"/>\n",
"</g>\n",
"<!-- 7508 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>7508</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"41.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"45.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;7508 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>6985&#45;&gt;7508</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M454.6817,-176.555C432.9226,-170.3005 407.993,-163.6892 385,-158.9117 270.7815,-135.1792 238.0216,-151.8117 125,-122.9117 120.3474,-121.722 115.5749,-120.3125 110.8243,-118.7764\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"111.744,-115.3922 101.1495,-115.4757 109.4837,-122.0172 111.744,-115.3922\"/>\n",
"</g>\n",
"<!-- 6990 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>6990</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"219\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"203\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"207\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"167\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;6990 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>6985&#45;&gt;6990</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M456.7712,-176.0057C407.817,-159.8332 337.3071,-136.5396 285.7839,-119.5185\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"286.6627,-116.1228 276.0695,-116.3092 284.4668,-122.7695 286.6627,-116.1228\"/>\n",
"</g>\n",
"<!-- 6988 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>6988</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"438,-115.4558 322,-115.4558 322,-79.4558 438,-79.4558 438,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"361\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"365\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">water</text>\n",
"<text text-anchor=\"start\" x=\"330\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;6988 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>6985&#45;&gt;6988</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M478.7931,-169.3063C458.4381,-154.5025 432.9865,-135.992 413.0148,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"414.9678,-118.5596 404.8218,-115.5083 410.8505,-124.2207 414.9678,-118.5596\"/>\n",
"</g>\n",
"<!-- 6989 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>6989</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"572,-115.4558 456,-115.4558 456,-79.4558 572,-79.4558 572,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"492.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"496.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"464\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;6989 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>6985&#45;&gt;6989</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M514,-158.8996C514,-147.9536 514,-136.0871 514,-125.7278\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"517.5001,-125.5795 514,-115.5795 510.5001,-125.5795 517.5001,-125.5795\"/>\n",
"</g>\n",
"<!-- 6986 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>6986</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"675\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"660.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"664.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"623\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;6986 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>6985&#45;&gt;6986</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M553.7978,-170.8215C576.4219,-157.1267 604.8668,-139.9086 628.5136,-125.5948\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"630.577,-128.4371 637.3194,-120.2645 626.9521,-122.4487 630.577,-128.4371\"/>\n",
"</g>\n",
"<!-- 6993 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>6993</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"863\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"844\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"848\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">brush</text>\n",
"<text text-anchor=\"start\" x=\"811\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;6993 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>6985&#45;&gt;6993</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M576.3942,-177.4885C636.6,-160.6765 727.6812,-135.2427 790.9466,-117.5762\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"792.1624,-120.8707 800.8525,-114.8101 790.2796,-114.1287 792.1624,-120.8707\"/>\n",
"</g>\n",
"<!-- 6992 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>6992</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1082,-115.4558 966,-115.4558 966,-79.4558 1082,-79.4558 1082,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"983.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"987.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"974\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6985&#45;&gt;6992 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>6985&#45;&gt;6992</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M603.7926,-185.7094C694.0905,-175.202 836.7758,-155.1652 957,-122.9117 961.3773,-121.7374 965.8652,-120.3819 970.3437,-118.9207\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"971.7609,-122.1349 980.0862,-115.5819 969.4916,-115.5129 971.7609,-122.1349\"/>\n",
"</g>\n",
"<!-- 6991 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>6991</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"277,-36 161,-36 161,0 277,0 277,-36\"/>\n",
"<text text-anchor=\"start\" x=\"200.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"204.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">onion</text>\n",
"<text text-anchor=\"start\" x=\"169\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6990&#45;&gt;6991 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>6990&#45;&gt;6991</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M219,-71.8782C219,-63.7122 219,-54.6289 219,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"222.5001,-46.2287 219,-36.2288 215.5001,-46.2288 222.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 6987 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>6987</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"733,-36 617,-36 617,0 733,0 733,-36\"/>\n",
"<text text-anchor=\"start\" x=\"654.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"658.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">carrot</text>\n",
"<text text-anchor=\"start\" x=\"625\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6986&#45;&gt;6987 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>6986&#45;&gt;6987</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M675,-71.8782C675,-63.7122 675,-54.6289 675,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"678.5001,-46.2287 675,-36.2288 671.5001,-46.2288 678.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 6994 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>6994</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"921,-36 805,-36 805,0 921,0 921,-36\"/>\n",
"<text text-anchor=\"start\" x=\"838.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"842.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chicken</text>\n",
"<text text-anchor=\"start\" x=\"813\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6993&#45;&gt;6994 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>6993&#45;&gt;6994</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M863,-71.8782C863,-63.7122 863,-54.6289 863,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"866.5001,-46.2287 863,-36.2288 859.5001,-46.2288 866.5001,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa8bda8590>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7207792207792209"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * onion\n",
" * cream cheese\n",
" * carrot\n",
" * noodle\n",
" * flour\n",
" * chicken\n",
" * tomato sauce\n",
" * water\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | chop onion, slice carrot, brush chicken and mix it with flour, water, noodle and tomato sauce. Then cook it. |\n",
"| 2 | mash cream cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"598pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 597.71 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 593.7056,-429.8234 593.7056,4 -4,4\"/>\n",
"<!-- 2821 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>2821</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"178.8528,-425.8234 58.8528,-389.8234 178.8528,-353.8234 298.8528,-389.8234 178.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"165.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"169.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"126.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 3160 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>3160</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"73.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"77.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 2821&#45;&gt;3160 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>2821&#45;&gt;3160</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M151.9162,-361.8964C140.5946,-350.1586 127.3608,-336.4383 115.6545,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"118.0553,-321.7491 108.5939,-316.9814 113.017,-326.6088 118.0553,-321.7491\"/>\n",
"</g>\n",
"<!-- 2809 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>2809</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"274.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"258.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"262.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"222.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 2821&#45;&gt;2809 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>2821&#45;&gt;2809</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M206.3626,-361.8964C217.9251,-350.1586 231.4404,-336.4383 243.3958,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"246.0824,-326.5617 250.6066,-316.9814 241.0955,-321.6493 246.0824,-326.5617\"/>\n",
"</g>\n",
"<!-- 3161 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>3161</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"138.8528,-212.9117 22.8528,-212.9117 22.8528,-176.9117 138.8528,-176.9117 138.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"55.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"59.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"30.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 3160&#45;&gt;3161 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>3160&#45;&gt;3161</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M83.8019,-266.7622C83.2539,-253.4123 82.5823,-237.0481 82.0184,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"85.501,-222.8122 81.5938,-212.9642 78.5069,-223.0993 85.501,-222.8122\"/>\n",
"</g>\n",
"<!-- 2810 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>2810</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"276.8528,-230.9117 156.8528,-194.9117 276.8528,-158.9117 396.8528,-194.9117 276.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"263.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"267.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"224.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 2809&#45;&gt;2810 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>2809&#45;&gt;2810</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M275.3783,-266.7622C275.5397,-258.8985 275.7225,-249.989 275.9032,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"279.4068,-241.0411 276.1128,-230.9713 272.4083,-240.8974 279.4068,-241.0411\"/>\n",
"</g>\n",
"<!-- 2813 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>2813</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"133.8528,-115.4558 17.8528,-115.4558 17.8528,-79.4558 133.8528,-79.4558 133.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"54.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"58.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"25.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 2810&#45;&gt;2813 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>2810&#45;&gt;2813</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M230.7394,-172.5533C198.2486,-156.8001 154.9054,-135.7849 122.3333,-119.9921\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"123.5483,-116.6916 113.0232,-115.4781 120.4943,-122.9903 123.5483,-116.6916\"/>\n",
"</g>\n",
"<!-- 2812 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>2812</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"267.8528,-115.4558 151.8528,-115.4558 151.8528,-79.4558 267.8528,-79.4558 267.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"193.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"197.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"159.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 2810&#45;&gt;2812 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>2810&#45;&gt;2812</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M256.2039,-164.8765C247.2067,-151.7895 236.7518,-136.5822 228.0509,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"230.8964,-121.887 222.347,-115.6294 225.1281,-125.8527 230.8964,-121.887\"/>\n",
"</g>\n",
"<!-- 2811 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>2811</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"401.8528,-115.4558 285.8528,-115.4558 285.8528,-79.4558 401.8528,-79.4558 401.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"303.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"307.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"293.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 2810&#45;&gt;2811 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>2810&#45;&gt;2811</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M297.5017,-164.8765C306.4989,-151.7895 316.9538,-136.5822 325.6547,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"328.5775,-125.8527 331.3587,-115.6294 322.8092,-121.887 328.5775,-125.8527\"/>\n",
"</g>\n",
"<!-- 2814 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>2814</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"504.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"490.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"494.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"452.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 2810&#45;&gt;2814 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>2810&#45;&gt;2814</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M326.6066,-173.645C361.9987,-158.5171 409.6569,-138.1462 446.789,-122.2745\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"448.1691,-125.491 455.9887,-118.3422 445.4178,-119.0544 448.1691,-125.491\"/>\n",
"</g>\n",
"<!-- 2815 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>2815</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"562.8528,-36 446.8528,-36 446.8528,0 562.8528,0 562.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"470.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"474.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"454.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 2814&#45;&gt;2815 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>2814&#45;&gt;2815</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M504.8528,-71.8782C504.8528,-63.7122 504.8528,-54.6289 504.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"508.3529,-46.2287 504.8528,-36.2288 501.3529,-46.2288 508.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9ab71910>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7142857142857143"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * noodle\n",
" * flour\n",
" * broccoli\n",
" * mushroom\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice mushroom and mix it with noodle, flour and tomato sauce. Then bake it. |\n",
"| 2 | cut broccoli and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1690pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1689.85 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1685.8528,-429.8234 1685.8528,4 -4,4\"/>\n",
"<!-- 453 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>453</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"942.8528,-425.8234 822.8528,-389.8234 942.8528,-353.8234 1062.8528,-389.8234 942.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"929.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"933.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"890.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 451 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>451</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"862.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"846.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"850.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"810.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 453&#45;&gt;451 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>453&#45;&gt;451</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M919.0668,-360.8473C909.786,-349.5415 899.1035,-336.5281 889.5601,-324.9023\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"892.2164,-322.622 883.1663,-317.1133 886.8059,-327.0634 892.2164,-322.622\"/>\n",
"</g>\n",
"<!-- 448 -->\n",
"<g id=\"node19\" class=\"node\">\n",
"<title>448</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1081.8528,-310.3675 965.8528,-310.3675 965.8528,-274.3675 1081.8528,-274.3675 1081.8528,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"1001.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1005.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">pepper</text>\n",
"<text text-anchor=\"start\" x=\"973.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.5000</text>\n",
"</g>\n",
"<!-- 453&#45;&gt;448 -->\n",
"<g id=\"edge18\" class=\"edge\">\n",
"<title>453&#45;&gt;448</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M966.9362,-360.8473C978.1356,-347.3726 991.3511,-331.4722 1002.2274,-318.3863\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1004.9579,-320.5768 1008.6582,-310.6491 999.5746,-316.1024 1004.9579,-320.5768\"/>\n",
"</g>\n",
"<!-- 452 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>452</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"862.8528,-230.9117 742.8528,-194.9117 862.8528,-158.9117 982.8528,-194.9117 862.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"849.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"853.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"810.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.4364</text>\n",
"</g>\n",
"<!-- 451&#45;&gt;452 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>451&#45;&gt;452</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M862.8528,-266.7622C862.8528,-258.8985 862.8528,-249.989 862.8528,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"866.3529,-240.9713 862.8528,-230.9713 859.3529,-240.9714 866.3529,-240.9713\"/>\n",
"</g>\n",
"<!-- 437 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>437</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"66.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"70.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;437 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>452&#45;&gt;437</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M761.2952,-189.2992C627.0757,-180.7263 383.6736,-161.1719 178.8528,-122.9117 171.1986,-121.4819 163.2562,-119.7427 155.3769,-117.8517\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"156.0056,-114.4015 145.4567,-115.387 154.3178,-121.195 156.0056,-114.4015\"/>\n",
"</g>\n",
"<!-- 445 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>445</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"272.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"261.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"265.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;445 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>452&#45;&gt;445</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M774.4896,-185.3383C674.8554,-173.7914 508.2913,-152.2177 366.8528,-122.9117 359.3446,-121.356 351.5465,-119.5526 343.7969,-117.6381\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"344.5856,-114.2273 334.0322,-115.1639 342.8662,-121.0129 344.5856,-114.2273\"/>\n",
"</g>\n",
"<!-- 443 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>443</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"491.8528,-115.4558 375.8528,-115.4558 375.8528,-79.4558 491.8528,-79.4558 491.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"408.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"412.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">oregano</text>\n",
"<text text-anchor=\"start\" x=\"383.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;443 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>452&#45;&gt;443</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M782.4917,-182.8797C708.521,-170.8764 596.16,-150.2881 500.8528,-122.9117 496.566,-121.6803 492.1662,-120.2948 487.769,-118.8223\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"488.7868,-115.4706 478.192,-115.4861 486.484,-122.081 488.7868,-115.4706\"/>\n",
"</g>\n",
"<!-- 442 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>442</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"625.8528,-115.4558 509.8528,-115.4558 509.8528,-79.4558 625.8528,-79.4558 625.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"529.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"533.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"517.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;442 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>452&#45;&gt;442</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M802.5379,-176.8944C756.3975,-162.8631 691.3146,-142.5347 634.8528,-122.9117 631.189,-121.6383 627.424,-120.2977 623.6369,-118.925\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"624.8159,-115.6294 614.2223,-115.4668 622.4023,-122.2002 624.8159,-115.6294\"/>\n",
"</g>\n",
"<!-- 441 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>441</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"759.8528,-115.4558 643.8528,-115.4558 643.8528,-79.4558 759.8528,-79.4558 759.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"681.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"685.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cheese</text>\n",
"<text text-anchor=\"start\" x=\"651.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;441 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>452&#45;&gt;441</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M823.0551,-170.8215C797.8432,-155.5603 765.403,-135.9238 740.4295,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"741.9611,-117.6428 731.5938,-115.4585 738.3362,-123.6311 741.9611,-117.6428\"/>\n",
"</g>\n",
"<!-- 439 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>439</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"862.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"848.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"852.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"810.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;439 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>452&#45;&gt;439</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M862.8528,-158.8996C862.8528,-150.5122 862.8528,-141.5843 862.8528,-133.2082\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"866.3529,-132.9756 862.8528,-122.9757 859.3529,-132.9757 866.3529,-132.9756\"/>\n",
"</g>\n",
"<!-- 450 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>450</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1050.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1034.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1038.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"998.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;450 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>452&#45;&gt;450</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M906.9305,-172.0626C934.547,-157.7467 970.2623,-139.2325 999.2049,-124.2292\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1001.0778,-127.2007 1008.345,-119.4911 997.8562,-120.9861 1001.0778,-127.2007\"/>\n",
"</g>\n",
"<!-- 446 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>446</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1269.8528,-115.4558 1153.8528,-115.4558 1153.8528,-79.4558 1269.8528,-79.4558 1269.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1199.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1203.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">salt</text>\n",
"<text text-anchor=\"start\" x=\"1161.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;446 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>452&#45;&gt;446</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M931.8463,-179.5983C989.3201,-166.2939 1073.0743,-145.6304 1144.8528,-122.9117 1148.7899,-121.6656 1152.8322,-120.3147 1156.8863,-118.9072\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1158.0792,-122.1978 1166.3232,-115.543 1155.7285,-115.6043 1158.0792,-122.1978\"/>\n",
"</g>\n",
"<!-- 440 -->\n",
"<g id=\"node16\" class=\"node\">\n",
"<title>440</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1413.3528,-115.4558 1288.3528,-115.4558 1288.3528,-79.4558 1413.3528,-79.4558 1413.3528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1296.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1300.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"1300.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;440 -->\n",
"<g id=\"edge15\" class=\"edge\">\n",
"<title>452&#45;&gt;440</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M948.2034,-184.4251C1032.9312,-173.0155 1166.0987,-152.3771 1278.8528,-122.9117 1283.6992,-121.6452 1288.6833,-120.1981 1293.6589,-118.6513\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1294.7393,-121.9805 1303.1785,-115.575 1292.5867,-115.3196 1294.7393,-121.9805\"/>\n",
"</g>\n",
"<!-- 447 -->\n",
"<g id=\"node17\" class=\"node\">\n",
"<title>447</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1547.8528,-115.4558 1431.8528,-115.4558 1431.8528,-79.4558 1547.8528,-79.4558 1547.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1471.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1475.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">sauce</text>\n",
"<text text-anchor=\"start\" x=\"1439.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;447 -->\n",
"<g id=\"edge16\" class=\"edge\">\n",
"<title>452&#45;&gt;447</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M963.5591,-189.1161C1076.6923,-180.9621 1265.1325,-162.426 1422.8528,-122.9117 1427.5111,-121.7446 1432.2877,-120.3509 1437.0409,-118.8254\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1438.3756,-122.0685 1446.7194,-115.5393 1436.1251,-115.4401 1438.3756,-122.0685\"/>\n",
"</g>\n",
"<!-- 435 -->\n",
"<g id=\"node18\" class=\"node\">\n",
"<title>435</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1681.8528,-115.4558 1565.8528,-115.4558 1565.8528,-79.4558 1681.8528,-79.4558 1681.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1602.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1606.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"1573.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 452&#45;&gt;435 -->\n",
"<g id=\"edge17\" class=\"edge\">\n",
"<title>452&#45;&gt;435</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M974.0133,-192.2389C1112.3134,-186.8988 1354.8823,-170.8914 1556.8528,-122.9117 1561.597,-121.7847 1566.4587,-120.4062 1571.2907,-118.8797\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1572.7592,-122.0784 1581.1204,-115.5715 1570.5264,-115.4441 1572.7592,-122.0784\"/>\n",
"</g>\n",
"<!-- 436 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>436</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"64.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"68.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">butter</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 437&#45;&gt;436 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>437&#45;&gt;436</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 444 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>444</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"330.8528,-36 214.8528,-36 214.8528,0 330.8528,0 330.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"247.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"251.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"222.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 445&#45;&gt;444 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>445&#45;&gt;444</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M272.8528,-71.8782C272.8528,-63.7122 272.8528,-54.6289 272.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"276.3529,-46.2287 272.8528,-36.2288 269.3529,-46.2288 276.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 438 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>438</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"920.8528,-36 804.8528,-36 804.8528,0 920.8528,0 920.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"828.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"832.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">red pepper</text>\n",
"<text text-anchor=\"start\" x=\"812.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 439&#45;&gt;438 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>439&#45;&gt;438</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M862.8528,-71.8782C862.8528,-63.7122 862.8528,-54.6289 862.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"866.3529,-46.2287 862.8528,-36.2288 859.3529,-46.2288 866.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 449 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>449</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1108.8528,-36 992.8528,-36 992.8528,0 1108.8528,0 1108.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1027.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1031.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"1000.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 450&#45;&gt;449 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>450&#45;&gt;449</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1050.8528,-71.8782C1050.8528,-63.7122 1050.8528,-54.6289 1050.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1054.3529,-46.2287 1050.8528,-36.2288 1047.3529,-46.2288 1054.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9a85ae50>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7100000000000001"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * red pepper\n",
" * vegetable oil\n",
" * pepper\n",
" * cheese\n",
" * mozzarella cheese\n",
" * parsley\n",
" * sauce\n",
" * salt\n",
" * butter\n",
" * noodle\n",
" * broccoli\n",
" * oregano\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | mash butter, cut broccoli, slice red pepper, chop parsley and mix it with oregano, vegetable oil, cheese, salt, mozzarella cheese, sauce and noodle. Then bake it. |\n",
"| 2 | Mix pepper and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"2172pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 2171.85 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 2167.8528,-429.8234 2167.8528,4 -4,4\"/>\n",
"<!-- 10228 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>10228</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"808.8528,-425.8234 688.8528,-389.8234 808.8528,-353.8234 928.8528,-389.8234 808.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"795.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"799.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"756.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.2045</text>\n",
"</g>\n",
"<!-- 10180 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>10180</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"714.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"698.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"702.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"662.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10228&#45;&gt;10180 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>10228&#45;&gt;10180</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M781.9162,-361.8964C770.5946,-350.1586 757.3608,-336.4383 745.6545,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"748.0553,-321.7491 738.5939,-316.9814 743.017,-326.6088 748.0553,-321.7491\"/>\n",
"</g>\n",
"<!-- 10229 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>10229</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1069.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1053.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1057.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"1017.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10228&#45;&gt;10229 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>10228&#45;&gt;10229</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M862.6157,-369.7486C904.6016,-354.0714 963.0235,-332.257 1007.1388,-315.7846\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1008.4626,-319.0264 1016.6065,-312.2494 1006.014,-312.4686 1008.4626,-319.0264\"/>\n",
"</g>\n",
"<!-- 10181 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>10181</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"379.8528,-230.9117 259.8528,-194.9117 379.8528,-158.9117 499.8528,-194.9117 379.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"366.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"370.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"327.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 10180&#45;&gt;10181 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>10180&#45;&gt;10181</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M653.7982,-274.6059C596.5919,-257.9639 511.1013,-233.0936 450.8688,-215.5712\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"451.6331,-212.1485 441.0534,-212.7157 449.6777,-218.8698 451.6331,-212.1485\"/>\n",
"</g>\n",
"<!-- 10185 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>10185</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"70.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"74.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10181&#45;&gt;10185 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>10181&#45;&gt;10185</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M322.6241,-176.0057C273.6698,-159.8332 203.1599,-136.5396 151.6367,-119.5185\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"152.5155,-116.1228 141.9223,-116.3092 150.3197,-122.7695 152.5155,-116.1228\"/>\n",
"</g>\n",
"<!-- 10183 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>10183</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"303.8528,-115.4558 187.8528,-115.4558 187.8528,-79.4558 303.8528,-79.4558 303.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"229.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"233.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"195.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10181&#45;&gt;10183 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>10181&#45;&gt;10183</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M344.6459,-169.3063C324.2909,-154.5025 298.8393,-135.992 278.8676,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"280.8206,-118.5596 270.6746,-115.5083 276.7033,-124.2207 280.8206,-118.5596\"/>\n",
"</g>\n",
"<!-- 10184 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>10184</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"437.8528,-115.4558 321.8528,-115.4558 321.8528,-79.4558 437.8528,-79.4558 437.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"359.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"363.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream</text>\n",
"<text text-anchor=\"start\" x=\"329.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10181&#45;&gt;10184 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>10181&#45;&gt;10184</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M379.8528,-158.8996C379.8528,-147.9536 379.8528,-136.0871 379.8528,-125.7278\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"383.3529,-125.5795 379.8528,-115.5795 376.3529,-125.5795 383.3529,-125.5795\"/>\n",
"</g>\n",
"<!-- 10182 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>10182</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"571.8528,-115.4558 455.8528,-115.4558 455.8528,-79.4558 571.8528,-79.4558 571.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"492.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"496.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"463.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10181&#45;&gt;10182 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>10181&#45;&gt;10182</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M415.0597,-169.3063C435.4147,-154.5025 460.8663,-135.992 480.838,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"483.0023,-124.2207 489.031,-115.5083 478.885,-118.5596 483.0023,-124.2207\"/>\n",
"</g>\n",
"<!-- 10186 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>10186</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"50.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"54.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10185&#45;&gt;10186 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>10185&#45;&gt;10186</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 10230 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>10230</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"1304.8528,-230.9117 1184.8528,-194.9117 1304.8528,-158.9117 1424.8528,-194.9117 1304.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"1291.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1295.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"1252.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5091</text>\n",
"</g>\n",
"<!-- 10229&#45;&gt;10230 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>10229&#45;&gt;10230</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1119.6903,-271.6997C1156.2065,-256.5562 1205.9486,-235.9278 1244.6816,-219.865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1246.3806,-222.9495 1254.277,-215.8857 1243.6991,-216.4835 1246.3806,-222.9495\"/>\n",
"</g>\n",
"<!-- 10233 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>10233</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"705.8528,-115.4558 589.8528,-115.4558 589.8528,-79.4558 705.8528,-79.4558 705.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"613.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"617.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">red pepper</text>\n",
"<text text-anchor=\"start\" x=\"597.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10233 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>10230&#45;&gt;10233</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1201.4323,-189.8628C1082.551,-182.3238 882.2737,-164.2842 714.8528,-122.9117 710.1908,-121.7596 705.4116,-120.3764 700.6567,-118.8578\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"701.57,-115.4719 690.9757,-115.5815 699.3259,-122.1025 701.57,-115.4719\"/>\n",
"</g>\n",
"<!-- 10234 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>10234</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"839.8528,-115.4558 723.8528,-115.4558 723.8528,-79.4558 839.8528,-79.4558 839.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"761.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"765.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cheese</text>\n",
"<text text-anchor=\"start\" x=\"731.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10234 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>10230&#45;&gt;10234</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1213.7245,-186.1265C1120.8459,-175.8719 973.171,-155.9627 848.8528,-122.9117 844.2831,-121.6968 839.5938,-120.2817 834.9211,-118.7526\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"835.9912,-115.4195 825.3965,-115.4814 833.7174,-122.0399 835.9912,-115.4195\"/>\n",
"</g>\n",
"<!-- 10238 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>10238</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"973.8528,-115.4558 857.8528,-115.4558 857.8528,-79.4558 973.8528,-79.4558 973.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"894.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"898.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"865.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10238 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>10230&#45;&gt;10238</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1229.8944,-181.309C1164.13,-168.6284 1066.2492,-147.938 982.8528,-122.9117 978.7634,-121.6845 974.5666,-120.329 970.3646,-118.9015\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"971.1936,-115.483 960.5987,-115.467 968.8711,-122.0865 971.1936,-115.483\"/>\n",
"</g>\n",
"<!-- 10240 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>10240</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1076.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1065.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1069.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"1024.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10240 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>10230&#45;&gt;10240</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1255.099,-173.645C1219.707,-158.5171 1172.0487,-138.1462 1134.9167,-122.2745\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1136.2879,-119.0544 1125.717,-118.3422 1133.5365,-125.491 1136.2879,-119.0544\"/>\n",
"</g>\n",
"<!-- 10242 -->\n",
"<g id=\"node16\" class=\"node\">\n",
"<title>10242</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1295.8528,-115.4558 1179.8528,-115.4558 1179.8528,-79.4558 1295.8528,-79.4558 1295.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1225.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1229.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">salt</text>\n",
"<text text-anchor=\"start\" x=\"1187.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10242 -->\n",
"<g id=\"edge15\" class=\"edge\">\n",
"<title>10230&#45;&gt;10242</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1284.2039,-164.8765C1275.2067,-151.7895 1264.7518,-136.5822 1256.0509,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1258.8964,-121.887 1250.347,-115.6294 1253.1281,-125.8527 1258.8964,-121.887\"/>\n",
"</g>\n",
"<!-- 10236 -->\n",
"<g id=\"node17\" class=\"node\">\n",
"<title>10236</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1429.8528,-115.4558 1313.8528,-115.4558 1313.8528,-79.4558 1429.8528,-79.4558 1429.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1333.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1337.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"1321.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10236 -->\n",
"<g id=\"edge16\" class=\"edge\">\n",
"<title>10230&#45;&gt;10236</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1325.5017,-164.8765C1334.4989,-151.7895 1344.9538,-136.5822 1353.6547,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1356.5775,-125.8527 1359.3587,-115.6294 1350.8092,-121.887 1356.5775,-125.8527\"/>\n",
"</g>\n",
"<!-- 10231 -->\n",
"<g id=\"node18\" class=\"node\">\n",
"<title>10231</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1532.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1514.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1518.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"1480.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10231 -->\n",
"<g id=\"edge17\" class=\"edge\">\n",
"<title>10230&#45;&gt;10231</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1354.6066,-173.645C1389.9987,-158.5171 1437.6569,-138.1462 1474.789,-122.2745\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1476.1691,-125.491 1483.9887,-118.3422 1473.4178,-119.0544 1476.1691,-125.491\"/>\n",
"</g>\n",
"<!-- 10237 -->\n",
"<g id=\"node20\" class=\"node\">\n",
"<title>10237</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1751.8528,-115.4558 1635.8528,-115.4558 1635.8528,-79.4558 1751.8528,-79.4558 1751.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1675.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1679.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">sauce</text>\n",
"<text text-anchor=\"start\" x=\"1643.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10237 -->\n",
"<g id=\"edge19\" class=\"edge\">\n",
"<title>10230&#45;&gt;10237</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1379.8112,-181.309C1445.5757,-168.6284 1543.4564,-147.938 1626.8528,-122.9117 1630.9422,-121.6845 1635.1391,-120.329 1639.341,-118.9015\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1640.8345,-122.0865 1649.1069,-115.467 1638.5121,-115.483 1640.8345,-122.0865\"/>\n",
"</g>\n",
"<!-- 10244 -->\n",
"<g id=\"node21\" class=\"node\">\n",
"<title>10244</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1885.8528,-115.4558 1769.8528,-115.4558 1769.8528,-79.4558 1885.8528,-79.4558 1885.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1804.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1808.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"1777.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10244 -->\n",
"<g id=\"edge20\" class=\"edge\">\n",
"<title>10230&#45;&gt;10244</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1395.9811,-186.1265C1488.8598,-175.8719 1636.5346,-155.9627 1760.8528,-122.9117 1765.4225,-121.6968 1770.1118,-120.2817 1774.7846,-118.7526\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1775.9883,-122.0399 1784.3091,-115.4814 1773.7144,-115.4195 1775.9883,-122.0399\"/>\n",
"</g>\n",
"<!-- 10239 -->\n",
"<g id=\"node22\" class=\"node\">\n",
"<title>10239</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"2029.3528,-115.4558 1904.3528,-115.4558 1904.3528,-79.4558 2029.3528,-79.4558 2029.3528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1912.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1916.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"1916.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10239 -->\n",
"<g id=\"edge21\" class=\"edge\">\n",
"<title>10230&#45;&gt;10239</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1406.2454,-189.2857C1524.7319,-181.1647 1726.0832,-162.5411 1894.8528,-122.9117 1900.0964,-121.6804 1905.4889,-120.1989 1910.851,-118.5775\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1911.9617,-121.8971 1920.4313,-115.5319 1909.8409,-115.2261 1911.9617,-121.8971\"/>\n",
"</g>\n",
"<!-- 10235 -->\n",
"<g id=\"node23\" class=\"node\">\n",
"<title>10235</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"2163.8528,-115.4558 2047.8528,-115.4558 2047.8528,-79.4558 2163.8528,-79.4558 2163.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"2080.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"2084.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">oregano</text>\n",
"<text text-anchor=\"start\" x=\"2055.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10230&#45;&gt;10235 -->\n",
"<g id=\"edge22\" class=\"edge\">\n",
"<title>10230&#45;&gt;10235</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1403.4586,-188.4931C1574.8405,-176.7944 1920.6618,-150.6397 2038.8528,-122.9117 2043.7989,-121.7513 2048.8714,-120.3136 2053.9044,-118.7165\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"2055.1357,-121.995 2063.4905,-115.4798 2052.8963,-115.3628 2055.1357,-121.995\"/>\n",
"</g>\n",
"<!-- 10241 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>10241</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1134.8528,-36 1018.8528,-36 1018.8528,0 1134.8528,0 1134.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1051.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1055.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"1026.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10240&#45;&gt;10241 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>10240&#45;&gt;10241</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1076.8528,-71.8782C1076.8528,-63.7122 1076.8528,-54.6289 1076.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1080.3529,-46.2287 1076.8528,-36.2288 1073.3529,-46.2288 1080.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 10232 -->\n",
"<g id=\"node19\" class=\"node\">\n",
"<title>10232</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1590.8528,-36 1474.8528,-36 1474.8528,0 1590.8528,0 1590.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1512.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1516.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">butter</text>\n",
"<text text-anchor=\"start\" x=\"1482.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10231&#45;&gt;10232 -->\n",
"<g id=\"edge18\" class=\"edge\">\n",
"<title>10231&#45;&gt;10232</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1532.8528,-71.8782C1532.8528,-63.7122 1532.8528,-54.6289 1532.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1536.3529,-46.2287 1532.8528,-36.2288 1529.3529,-46.2288 1536.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa8aaa3290>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7065356265356265"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * oregano\n",
" * red pepper\n",
" * vegetable oil\n",
" * cheese\n",
" * mozzarella cheese\n",
" * parsley\n",
" * sauce\n",
" * salt\n",
" * noodle\n",
" * flour\n",
" * butter\n",
" * broccoli\n",
" * mushroom\n",
" * cream\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice mushroom and mix it with flour, cream and noodle. Then bake it. |\n",
"| 2 | cut broccoli, mash butter and mix it with red pepper, cheese, noodle, salt, vegetable oil, sauce, parsley, mozzarella cheese and oregano. Then bake it. |\n",
"| 3 | Mix together the results of step 1 and step 2. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"788pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 787.71 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 783.7056,-429.8234 783.7056,4 -4,4\"/>\n",
"<!-- 9944 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>9944</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"272.8528,-425.8234 152.8528,-389.8234 272.8528,-353.8234 392.8528,-389.8234 272.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"259.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"263.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 9945 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>9945</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"68.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"72.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9944&#45;&gt;9945 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>9944&#45;&gt;9945</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M228.7752,-366.9743C201.1586,-352.6584 165.4433,-334.1442 136.5007,-319.1409\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"137.8495,-315.8978 127.3606,-314.4028 134.6279,-322.1124 137.8495,-315.8978\"/>\n",
"</g>\n",
"<!-- 9947 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>9947</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"272.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"261.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"265.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9944&#45;&gt;9947 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>9944&#45;&gt;9947</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M272.8528,-353.8113C272.8528,-345.4239 272.8528,-336.496 272.8528,-328.1199\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"276.3529,-327.8873 272.8528,-317.8874 269.3529,-327.8874 276.3529,-327.8873\"/>\n",
"</g>\n",
"<!-- 9660 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>9660</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"464.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"448.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"452.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"412.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9944&#45;&gt;9660 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>9944&#45;&gt;9660</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M317.8683,-366.9743C346.1945,-352.5964 382.8636,-333.9838 412.4895,-318.9462\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"414.1077,-322.05 421.4406,-314.4028 410.9394,-315.808 414.1077,-322.05\"/>\n",
"</g>\n",
"<!-- 9946 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>9946</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-212.9117 26.8528,-212.9117 26.8528,-176.9117 142.8528,-176.9117 142.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"35.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"39.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom soup</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9945&#45;&gt;9946 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>9945&#45;&gt;9946</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-266.7622C84.8528,-253.4123 84.8528,-237.0481 84.8528,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-222.9641 84.8528,-212.9642 81.3529,-222.9642 88.3529,-222.9641\"/>\n",
"</g>\n",
"<!-- 9948 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>9948</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"328.8528,-212.9117 212.8528,-212.9117 212.8528,-176.9117 328.8528,-176.9117 328.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"229.8528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"233.8528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream cheese</text>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9947&#45;&gt;9948 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>9947&#45;&gt;9948</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M272.3273,-266.7622C272.0534,-253.4123 271.7175,-237.0481 271.4356,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"274.9278,-222.8902 271.2233,-212.9642 267.9293,-223.0339 274.9278,-222.8902\"/>\n",
"</g>\n",
"<!-- 9661 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>9661</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"466.8528,-230.9117 346.8528,-194.9117 466.8528,-158.9117 586.8528,-194.9117 466.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"453.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"457.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"414.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 9660&#45;&gt;9661 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>9660&#45;&gt;9661</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M465.3783,-266.7622C465.5397,-258.8985 465.7225,-249.989 465.9032,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"469.4068,-241.0411 466.1128,-230.9713 462.4083,-240.8974 469.4068,-241.0411\"/>\n",
"</g>\n",
"<!-- 9665 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>9665</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"323.8528,-115.4558 207.8528,-115.4558 207.8528,-79.4558 323.8528,-79.4558 323.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"249.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"253.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"215.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9661&#45;&gt;9665 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>9661&#45;&gt;9665</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M420.7394,-172.5533C388.2486,-156.8001 344.9054,-135.7849 312.3333,-119.9921\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"313.5483,-116.6916 303.0232,-115.4781 310.4943,-122.9903 313.5483,-116.6916\"/>\n",
"</g>\n",
"<!-- 9666 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>9666</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"457.8528,-115.4558 341.8528,-115.4558 341.8528,-79.4558 457.8528,-79.4558 457.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"378.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"382.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"349.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9661&#45;&gt;9666 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>9661&#45;&gt;9666</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M446.2039,-164.8765C437.2067,-151.7895 426.7518,-136.5822 418.0509,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"420.8964,-121.887 412.347,-115.6294 415.1281,-125.8527 420.8964,-121.887\"/>\n",
"</g>\n",
"<!-- 9662 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>9662</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"591.8528,-115.4558 475.8528,-115.4558 475.8528,-79.4558 591.8528,-79.4558 591.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"508.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"512.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">oregano</text>\n",
"<text text-anchor=\"start\" x=\"483.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9661&#45;&gt;9662 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>9661&#45;&gt;9662</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M487.5017,-164.8765C496.4989,-151.7895 506.9538,-136.5822 515.6547,-123.9262\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"518.5775,-125.8527 521.3587,-115.6294 512.8092,-121.887 518.5775,-125.8527\"/>\n",
"</g>\n",
"<!-- 9663 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>9663</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"694.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"680.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"684.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"642.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 9661&#45;&gt;9663 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>9661&#45;&gt;9663</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M516.6066,-173.645C551.9987,-158.5171 599.6569,-138.1462 636.789,-122.2745\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"638.1691,-125.491 645.9887,-118.3422 635.4178,-119.0544 638.1691,-125.491\"/>\n",
"</g>\n",
"<!-- 9664 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>9664</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"752.8528,-36 636.8528,-36 636.8528,0 752.8528,0 752.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"660.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"664.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"644.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 9663&#45;&gt;9664 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>9663&#45;&gt;9664</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M694.8528,-71.8782C694.8528,-63.7122 694.8528,-54.6289 694.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"698.3529,-46.2287 694.8528,-36.2288 691.3529,-46.2288 698.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa8aba49d0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.7058823529411765"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * cream cheese\n",
" * mushroom soup\n",
" * mushroom\n",
" * noodle\n",
" * flour\n",
" * oregano\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice mushroom and mix it with flour, noodle and oregano. Then bake it. |\n",
"| 2 | cook mushroom soup, cut cream cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"794pt\" height=\"347pt\"\n",
" viewBox=\"0.00 0.00 794.00 346.91\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 342.9117)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-342.9117 790,-342.9117 790,4 -4,4\"/>\n",
"<!-- 415 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>415</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"393,-338.9117 273,-302.9117 393,-266.9117 513,-302.9117 393,-338.9117\"/>\n",
"<text text-anchor=\"start\" x=\"379.5\" y=\"-306.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"383.5\" y=\"-306.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"341\" y=\"-292.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 408 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>408</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"201\" cy=\"-205.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"186.5\" y=\"-209.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"190.5\" y=\"-209.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"149\" y=\"-195.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 415&#45;&gt;408 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>415&#45;&gt;408</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M347.9845,-280.0626C319.6583,-265.6847 282.9893,-247.0722 253.3633,-232.0346\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"254.9135,-228.8963 244.4122,-227.4911 251.7451,-235.1383 254.9135,-228.8963\"/>\n",
"</g>\n",
"<!-- 413 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>413</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"393\" cy=\"-205.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"377\" y=\"-209.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"381\" y=\"-209.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"341\" y=\"-195.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 415&#45;&gt;413 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>415&#45;&gt;413</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M393,-266.8996C393,-258.5122 393,-249.5843 393,-241.2082\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"396.5001,-240.9756 393,-230.9757 389.5001,-240.9757 396.5001,-240.9756\"/>\n",
"</g>\n",
"<!-- 410 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>410</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"585\" cy=\"-205.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"566\" y=\"-209.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"570\" y=\"-209.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">brush</text>\n",
"<text text-anchor=\"start\" x=\"533\" y=\"-195.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 415&#45;&gt;410 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>415&#45;&gt;410</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M438.0155,-280.0626C466.3417,-265.6847 503.0107,-247.0722 532.6367,-232.0346\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"534.2549,-235.1383 541.5878,-227.4911 531.0865,-228.8963 534.2549,-235.1383\"/>\n",
"</g>\n",
"<!-- 407 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>407</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"255,-126 139,-126 139,-90 255,-90 255,-126\"/>\n",
"<text text-anchor=\"start\" x=\"161.5\" y=\"-111.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"165.5\" y=\"-111.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">clove garlic</text>\n",
"<text text-anchor=\"start\" x=\"147\" y=\"-97.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.5000</text>\n",
"</g>\n",
"<!-- 408&#45;&gt;407 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>408&#45;&gt;407</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M199.949,-179.8505C199.4011,-166.5006 198.7295,-150.1364 198.1656,-136.3988\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"201.6482,-135.9005 197.7409,-126.0525 194.6541,-136.1876 201.6482,-135.9005\"/>\n",
"</g>\n",
"<!-- 414 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>414</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"393,-144 273,-108 393,-72 513,-108 393,-144\"/>\n",
"<text text-anchor=\"start\" x=\"379.5\" y=\"-111.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"383.5\" y=\"-111.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"341\" y=\"-97.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5333</text>\n",
"</g>\n",
"<!-- 413&#45;&gt;414 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>413&#45;&gt;414</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M393,-179.8505C393,-171.9868 393,-163.0773 393,-154.2748\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"396.5001,-154.0596 393,-144.0596 389.5001,-154.0597 396.5001,-154.0596\"/>\n",
"</g>\n",
"<!-- 403 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>403</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-36 0,-36 0,0 116,0 116,-36\"/>\n",
"<text text-anchor=\"start\" x=\"36.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"40.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 414&#45;&gt;403 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>414&#45;&gt;403</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M331.0585,-90.4606C309.8204,-84.5143 285.892,-77.8891 264,-72 205.3837,-56.2319 188.3447,-52.6179 126.058,-36.2648\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"126.6577,-32.8035 116.0961,-33.6423 124.8756,-39.5729 126.6577,-32.8035\"/>\n",
"</g>\n",
"<!-- 411 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>411</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"250,-36 134,-36 134,0 250,0 250,-36\"/>\n",
"<text text-anchor=\"start\" x=\"151.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"155.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"142\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 414&#45;&gt;411 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>414&#45;&gt;411</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M344.8555,-86.4428C313.7007,-72.4929 273.233,-54.373 241.7628,-40.2818\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"242.8625,-36.9395 232.3053,-36.0472 240.0018,-43.3283 242.8625,-36.9395\"/>\n",
"</g>\n",
"<!-- 412 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>412</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"384,-36 268,-36 268,0 384,0 384,-36\"/>\n",
"<text text-anchor=\"start\" x=\"303.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"307.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">pepper</text>\n",
"<text text-anchor=\"start\" x=\"276\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 414&#45;&gt;412 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>414&#45;&gt;412</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M371.0617,-78.5306C362.8707,-67.5278 353.6287,-55.1131 345.656,-44.4036\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"348.3576,-42.1713 339.5786,-36.2399 342.7426,-46.3513 348.3576,-42.1713\"/>\n",
"</g>\n",
"<!-- 406 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>406</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"518,-36 402,-36 402,0 518,0 518,-36\"/>\n",
"<text text-anchor=\"start\" x=\"435.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"439.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">sausage</text>\n",
"<text text-anchor=\"start\" x=\"410\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 414&#45;&gt;406 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>414&#45;&gt;406</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M414.9383,-78.5306C423.1293,-67.5278 432.3713,-55.1131 440.344,-44.4036\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"443.2574,-46.3513 446.4214,-36.2399 437.6424,-42.1713 443.2574,-46.3513\"/>\n",
"</g>\n",
"<!-- 404 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>404</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"652,-36 536,-36 536,0 652,0 652,-36\"/>\n",
"<text text-anchor=\"start\" x=\"544.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"548.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom soup</text>\n",
"<text text-anchor=\"start\" x=\"544\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 414&#45;&gt;404 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>414&#45;&gt;404</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M441.1445,-86.4428C472.2993,-72.4929 512.767,-54.373 544.2372,-40.2818\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"545.9982,-43.3283 553.6947,-36.0472 543.1375,-36.9395 545.9982,-43.3283\"/>\n",
"</g>\n",
"<!-- 405 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>405</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"786,-36 670,-36 670,0 786,0 786,-36\"/>\n",
"<text text-anchor=\"start\" x=\"715.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"719.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">salt</text>\n",
"<text text-anchor=\"start\" x=\"678\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 414&#45;&gt;405 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>414&#45;&gt;405</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M454.9415,-90.4606C476.1796,-84.5143 500.108,-77.8891 522,-72 580.6163,-56.2319 597.6553,-52.6179 659.942,-36.2648\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"661.1244,-39.5729 669.9039,-33.6423 659.3423,-32.8035 661.1244,-39.5729\"/>\n",
"</g>\n",
"<!-- 409 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>409</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"647,-126 531,-126 531,-90 647,-90 647,-126\"/>\n",
"<text text-anchor=\"start\" x=\"577\" y=\"-111.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"581\" y=\"-111.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">egg</text>\n",
"<text text-anchor=\"start\" x=\"539\" y=\"-97.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 410&#45;&gt;409 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>410&#45;&gt;409</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M586.051,-179.8505C586.5989,-166.5006 587.2705,-150.1364 587.8344,-136.3988\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"591.3459,-136.1876 588.2591,-126.0525 584.3518,-135.9005 591.3459,-136.1876\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faaf4d0c690>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6849999999999999"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * mushroom soup\n",
" * pepper\n",
" * clove garlic\n",
" * salt\n",
" * egg\n",
" * noodle\n",
" * sausage\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | Mix noodle, tomato sauce, pepper, sausage, mushroom soup and salt. Then cook it. |\n",
"| 2 | slice clove garlic, brush egg and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"908pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 908.00 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 904,-429.8234 904,4 -4,4\"/>\n",
"<!-- 7410 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>7410</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"587,-425.8234 467,-389.8234 587,-353.8234 707,-389.8234 587,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"573.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"577.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"535\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 7413 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>7413</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"303\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"287\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"291\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"251\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7410&#45;&gt;7413 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>7410&#45;&gt;7413</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M530.8907,-370.5692C484.2135,-354.5517 417.7028,-331.7283 368.5754,-314.87\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"369.5873,-311.517 358.9927,-311.5817 367.3153,-318.138 369.5873,-311.517\"/>\n",
"</g>\n",
"<!-- 7420 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>7420</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"493\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"479\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"483\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">peel</text>\n",
"<text text-anchor=\"start\" x=\"441\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7410&#45;&gt;7420 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>7410&#45;&gt;7420</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M560.0634,-361.8964C548.7417,-350.1586 535.508,-336.4383 523.8017,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"526.2025,-321.7491 516.741,-316.9814 521.1642,-326.6088 526.2025,-321.7491\"/>\n",
"</g>\n",
"<!-- 7411 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>7411</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"681\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"664\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"668\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">wash</text>\n",
"<text text-anchor=\"start\" x=\"629\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7410&#45;&gt;7411 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>7410&#45;&gt;7411</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M613.9366,-361.8964C625.2583,-350.1586 638.492,-336.4383 650.1983,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"652.8358,-326.6088 657.259,-316.9814 647.7975,-321.7491 652.8358,-326.6088\"/>\n",
"</g>\n",
"<!-- 7422 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>7422</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"900,-310.3675 784,-310.3675 784,-274.3675 900,-274.3675 900,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"821.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"825.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cheese</text>\n",
"<text text-anchor=\"start\" x=\"792\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7410&#45;&gt;7422 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>7410&#45;&gt;7422</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M639.8362,-369.6305C682.2864,-353.4068 741.7859,-330.6673 785.2429,-314.0589\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"786.7218,-317.2407 794.8133,-310.4013 784.2227,-310.702 786.7218,-317.2407\"/>\n",
"</g>\n",
"<!-- 7414 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>7414</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"299,-230.9117 179,-194.9117 299,-158.9117 419,-194.9117 299,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"285.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"289.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"247\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 7413&#45;&gt;7414 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>7413&#45;&gt;7414</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M301.949,-266.7622C301.6194,-258.7311 301.245,-249.6091 300.8762,-240.6244\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"304.3722,-240.4521 300.465,-230.6041 297.3781,-240.7393 304.3722,-240.4521\"/>\n",
"</g>\n",
"<!-- 7625 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>7625</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"32.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"36.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">oregano</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7414&#45;&gt;7625 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>7414&#45;&gt;7625</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M247.8901,-174.2438C207.9804,-158.1051 152.6657,-135.7368 112.0291,-119.3042\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"113.1371,-115.977 102.5543,-115.4728 110.5128,-122.4665 113.1371,-115.977\"/>\n",
"</g>\n",
"<!-- 7418 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>7418</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"219\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"204.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"208.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"167\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 7414&#45;&gt;7418 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>7414&#45;&gt;7418</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M275.214,-165.9356C265.9332,-154.6298 255.2507,-141.6164 245.7073,-129.9906\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"248.3636,-127.7103 239.3134,-122.2016 242.9531,-132.1517 248.3636,-127.7103\"/>\n",
"</g>\n",
"<!-- 7416 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>7416</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"438,-115.4558 322,-115.4558 322,-79.4558 438,-79.4558 438,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"363.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"367.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"330\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7414&#45;&gt;7416 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>7414&#45;&gt;7416</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M323.0834,-165.9356C334.2828,-152.4609 347.4983,-136.5605 358.3746,-123.4746\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"361.1051,-125.6651 364.8054,-115.7374 355.7218,-121.1907 361.1051,-125.6651\"/>\n",
"</g>\n",
"<!-- 7417 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>7417</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"572,-115.4558 456,-115.4558 456,-79.4558 572,-79.4558 572,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"492.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"496.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"464\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7414&#45;&gt;7417 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>7414&#45;&gt;7417</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M346.9826,-173.162C382.0876,-157.2495 429.5575,-135.7322 464.9172,-119.7042\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"466.4261,-122.8632 474.0891,-115.5468 463.5361,-116.4876 466.4261,-122.8632\"/>\n",
"</g>\n",
"<!-- 7419 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>7419</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"277,-36 161,-36 161,0 277,0 277,-36\"/>\n",
"<text text-anchor=\"start\" x=\"185\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"189\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"169\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7418&#45;&gt;7419 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>7418&#45;&gt;7419</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M219,-71.8782C219,-63.7122 219,-54.6289 219,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"222.5001,-46.2287 219,-36.2288 215.5001,-46.2288 222.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 7421 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>7421</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"553,-212.9117 437,-212.9117 437,-176.9117 553,-176.9117 553,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"483\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"487\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">egg</text>\n",
"<text text-anchor=\"start\" x=\"445\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7420&#45;&gt;7421 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>7420&#45;&gt;7421</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M493.5255,-266.7622C493.7994,-253.4123 494.1353,-237.0481 494.4172,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"497.9235,-223.0339 494.6295,-212.9642 490.925,-222.8902 497.9235,-223.0339\"/>\n",
"</g>\n",
"<!-- 7412 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>7412</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"739,-212.9117 623,-212.9117 623,-176.9117 739,-176.9117 739,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"656.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"660.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">spinach</text>\n",
"<text text-anchor=\"start\" x=\"631\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 7411&#45;&gt;7412 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>7411&#45;&gt;7412</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M681,-266.7622C681,-253.4123 681,-237.0481 681,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"684.5001,-222.9641 681,-212.9642 677.5001,-222.9642 684.5001,-222.9641\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faaf4d0c690>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6842105263157895"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * mushroom\n",
" * cheese\n",
" * egg\n",
" * spinach\n",
" * noodle\n",
" * flour\n",
" * oregano\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice mushroom and mix it with oregano, flour and noodle. Then bake it. |\n",
"| 2 | peel egg, wash spinach and mix it with cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"580pt\" height=\"521pt\"\n",
" viewBox=\"0.00 0.00 580.00 520.74\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 516.7351)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-516.7351 576,-516.7351 576,4 -4,4\"/>\n",
"<!-- 4204 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>4204</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"393,-512.7351 273,-476.7351 393,-440.7351 513,-476.7351 393,-512.7351\"/>\n",
"<text text-anchor=\"start\" x=\"379.5\" y=\"-480.5351\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"383.5\" y=\"-480.5351\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"341\" y=\"-466.5351\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 4207 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>4207</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"299\" cy=\"-379.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"283\" y=\"-383.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"287\" y=\"-383.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"247\" y=\"-369.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.2500</text>\n",
"</g>\n",
"<!-- 4204&#45;&gt;4207 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>4204&#45;&gt;4207</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M366.0634,-448.8081C354.7417,-437.0703 341.508,-423.35 329.8017,-411.2133\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"332.2025,-408.6608 322.741,-403.8931 327.1642,-413.5205 332.2025,-408.6608\"/>\n",
"</g>\n",
"<!-- 3761 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>3761</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"487\" cy=\"-379.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"470\" y=\"-383.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"474\" y=\"-383.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">wash</text>\n",
"<text text-anchor=\"start\" x=\"435\" y=\"-369.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4204&#45;&gt;3761 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>4204&#45;&gt;3761</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M419.9366,-448.8081C431.2583,-437.0703 444.492,-423.35 456.1983,-411.2133\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"458.8358,-413.5205 463.259,-403.8931 453.7975,-408.6608 458.8358,-413.5205\"/>\n",
"</g>\n",
"<!-- 4215 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>4215</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"299\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"284.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"288.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">heat</text>\n",
"<text text-anchor=\"start\" x=\"247\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4207&#45;&gt;4215 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>4207&#45;&gt;4215</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M299,-353.6729C299,-345.699 299,-336.7545 299,-328.2147\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"302.5001,-328.0911 299,-318.0911 295.5001,-328.0912 302.5001,-328.0911\"/>\n",
"</g>\n",
"<!-- 4208 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>4208</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"299,-230.9117 179,-194.9117 299,-158.9117 419,-194.9117 299,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"285.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"289.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"247\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 4215&#45;&gt;4208 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>4215&#45;&gt;4208</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M299,-266.7622C299,-258.8985 299,-249.989 299,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"302.5001,-240.9713 299,-230.9713 295.5001,-240.9714 302.5001,-240.9713\"/>\n",
"</g>\n",
"<!-- 4210 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>4210</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"41.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"45.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">flour</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4208&#45;&gt;4210 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>4208&#45;&gt;4210</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M247.8901,-174.2438C207.9804,-158.1051 152.6657,-135.7368 112.0291,-119.3042\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"113.1371,-115.977 102.5543,-115.4728 110.5128,-122.4665 113.1371,-115.977\"/>\n",
"</g>\n",
"<!-- 4212 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>4212</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"219\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"204.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"208.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"167\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4208&#45;&gt;4212 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>4208&#45;&gt;4212</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M275.214,-165.9356C265.9332,-154.6298 255.2507,-141.6164 245.7073,-129.9906\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"248.3636,-127.7103 239.3134,-122.2016 242.9531,-132.1517 248.3636,-127.7103\"/>\n",
"</g>\n",
"<!-- 4209 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>4209</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"438,-115.4558 322,-115.4558 322,-79.4558 438,-79.4558 438,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"358.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"362.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"330\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4208&#45;&gt;4209 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>4208&#45;&gt;4209</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M323.0834,-165.9356C334.2828,-152.4609 347.4983,-136.5605 358.3746,-123.4746\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"361.1051,-125.6651 364.8054,-115.7374 355.7218,-121.1907 361.1051,-125.6651\"/>\n",
"</g>\n",
"<!-- 4211 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>4211</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"572,-115.4558 456,-115.4558 456,-79.4558 572,-79.4558 572,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"473.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"477.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"464\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4208&#45;&gt;4211 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>4208&#45;&gt;4211</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M346.9826,-173.162C382.0876,-157.2495 429.5575,-135.7322 464.9172,-119.7042\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"466.4261,-122.8632 474.0891,-115.5468 463.5361,-116.4876 466.4261,-122.8632\"/>\n",
"</g>\n",
"<!-- 4213 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>4213</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"277,-36 161,-36 161,0 277,0 277,-36\"/>\n",
"<text text-anchor=\"start\" x=\"185\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"189\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"169\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4212&#45;&gt;4213 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>4212&#45;&gt;4213</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M219,-71.8782C219,-63.7122 219,-54.6289 219,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"222.5001,-46.2287 219,-36.2288 215.5001,-46.2288 222.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 3762 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>3762</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"545,-310.3675 429,-310.3675 429,-274.3675 545,-274.3675 545,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"461.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"465.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"437\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 3761&#45;&gt;3762 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>3761&#45;&gt;3762</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M487,-353.6729C487,-343.308 487,-331.3034 487,-320.6791\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"490.5001,-320.6268 487,-310.6268 483.5001,-320.6268 490.5001,-320.6268\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faaf4d0c690>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6833333333333333"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * noodle\n",
" * flour\n",
" * broccoli\n",
" * mushroom\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice mushroom and mix it with flour, noodle and tomato sauce. Then heat it. |\n",
"| 2 | bake the result of step 1 |\n",
"| 3 | wash broccoli and mix it together with the results of step 2. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1144pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1143.71 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1139.7056,-429.8234 1139.7056,4 -4,4\"/>\n",
"<!-- 548 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>548</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"638.8528,-425.8234 518.8528,-389.8234 638.8528,-353.8234 758.8528,-389.8234 638.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"625.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"629.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"586.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 546 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>546</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"544.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"528.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"532.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"492.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.7143</text>\n",
"</g>\n",
"<!-- 548&#45;&gt;546 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>548&#45;&gt;546</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M611.9162,-361.8964C600.5946,-350.1586 587.3608,-336.4383 575.6545,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"578.0553,-321.7491 568.5939,-316.9814 573.017,-326.6088 578.0553,-321.7491\"/>\n",
"</g>\n",
"<!-- 542 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>542</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"734.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"716.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"720.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"682.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 548&#45;&gt;542 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>548&#45;&gt;542</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M666.3626,-361.8964C677.9251,-350.1586 691.4404,-336.4383 703.3958,-324.3016\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"706.0824,-326.5617 710.6066,-316.9814 701.0955,-321.6493 706.0824,-326.5617\"/>\n",
"</g>\n",
"<!-- 547 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>547</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"540.8528,-230.9117 420.8528,-194.9117 540.8528,-158.9117 660.8528,-194.9117 540.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"527.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"531.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"488.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.2857</text>\n",
"</g>\n",
"<!-- 546&#45;&gt;547 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>546&#45;&gt;547</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M543.8019,-266.7622C543.4722,-258.7311 543.0978,-249.6091 542.7291,-240.6244\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"546.225,-240.4521 542.3178,-230.6041 539.2309,-240.7393 546.225,-240.4521\"/>\n",
"</g>\n",
"<!-- 538 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>538</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"70.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"74.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;538 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>547&#45;&gt;538</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M465.3058,-181.4369C391.8492,-167.97 277.2652,-145.9956 178.8528,-122.9117 171.6423,-121.2204 164.1472,-119.3625 156.676,-117.4447\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"157.4532,-114.0304 146.8939,-114.8979 155.6894,-120.8046 157.4532,-114.0304\"/>\n",
"</g>\n",
"<!-- 534 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>534</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"303.8528,-115.4558 187.8528,-115.4558 187.8528,-79.4558 303.8528,-79.4558 303.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"226.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"230.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">water</text>\n",
"<text text-anchor=\"start\" x=\"195.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;534 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>547&#45;&gt;534</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M480.5379,-176.8944C434.3975,-162.8631 369.3146,-142.5347 312.8528,-122.9117 309.189,-121.6383 305.424,-120.2977 301.6369,-118.925\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"302.8159,-115.6294 292.2223,-115.4668 300.4023,-122.2002 302.8159,-115.6294\"/>\n",
"</g>\n",
"<!-- 533 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>533</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"437.8528,-115.4558 321.8528,-115.4558 321.8528,-79.4558 437.8528,-79.4558 437.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"358.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"362.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"329.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;533 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>547&#45;&gt;533</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M501.0551,-170.8215C475.8432,-155.5603 443.403,-135.9238 418.4295,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"419.9611,-117.6428 409.5938,-115.4585 416.3362,-123.6311 419.9611,-117.6428\"/>\n",
"</g>\n",
"<!-- 536 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>536</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"540.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"524.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"528.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"488.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;536 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>547&#45;&gt;536</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M540.8528,-158.8996C540.8528,-150.5122 540.8528,-141.5843 540.8528,-133.2082\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"544.3529,-132.9756 540.8528,-122.9757 537.3529,-132.9757 544.3529,-132.9756\"/>\n",
"</g>\n",
"<!-- 545 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>545</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"759.8528,-115.4558 643.8528,-115.4558 643.8528,-79.4558 759.8528,-79.4558 759.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"661.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"665.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"651.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;545 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>547&#45;&gt;545</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M580.6506,-170.8215C605.8624,-155.5603 638.3026,-135.9238 663.2761,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"665.3695,-123.6311 672.1118,-115.4585 661.7446,-117.6428 665.3695,-123.6311\"/>\n",
"</g>\n",
"<!-- 540 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>540</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"862.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"843.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"847.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">brush</text>\n",
"<text text-anchor=\"start\" x=\"810.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;540 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>547&#45;&gt;540</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M600.6639,-176.8094C655.2513,-160.2881 735.9374,-135.8678 793.3657,-118.4867\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"794.5322,-121.7905 803.0895,-115.5437 792.5044,-115.0906 794.5322,-121.7905\"/>\n",
"</g>\n",
"<!-- 544 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>544</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1050.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1033.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1037.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">wash</text>\n",
"<text text-anchor=\"start\" x=\"998.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 547&#45;&gt;544 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>547&#45;&gt;544</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M599.8152,-176.4862C621.6468,-170.1874 646.7157,-163.5648 669.8528,-158.9117 795.8845,-133.5652 830.7247,-147.7739 956.8528,-122.9117 964.4341,-121.4173 972.3044,-119.6451 980.1189,-117.742\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"981.114,-121.1009 989.9615,-115.2724 979.4104,-114.3114 981.114,-121.1009\"/>\n",
"</g>\n",
"<!-- 537 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>537</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"64.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"68.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">carrot</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 538&#45;&gt;537 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>538&#45;&gt;537</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 535 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>535</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"598.8528,-36 482.8528,-36 482.8528,0 598.8528,0 598.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"522.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"526.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">onion</text>\n",
"<text text-anchor=\"start\" x=\"490.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 536&#45;&gt;535 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>536&#45;&gt;535</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M540.8528,-71.8782C540.8528,-63.7122 540.8528,-54.6289 540.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"544.3529,-46.2287 540.8528,-36.2288 537.3529,-46.2288 544.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 539 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>539</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"920.8528,-36 804.8528,-36 804.8528,0 920.8528,0 920.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"838.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"842.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chicken</text>\n",
"<text text-anchor=\"start\" x=\"812.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 540&#45;&gt;539 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>540&#45;&gt;539</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M862.8528,-71.8782C862.8528,-63.7122 862.8528,-54.6289 862.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"866.3529,-46.2287 862.8528,-36.2288 859.3529,-46.2288 866.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 543 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>543</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1108.8528,-36 992.8528,-36 992.8528,0 1108.8528,0 1108.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1016.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1020.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"1000.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 544&#45;&gt;543 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>544&#45;&gt;543</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1050.8528,-71.8782C1050.8528,-63.7122 1050.8528,-54.6289 1050.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1054.3529,-46.2287 1050.8528,-36.2288 1047.3529,-46.2288 1054.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 541 -->\n",
"<g id=\"node16\" class=\"node\">\n",
"<title>541</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"794.8528,-212.9117 678.8528,-212.9117 678.8528,-176.9117 794.8528,-176.9117 794.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"695.8528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"699.8528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream cheese</text>\n",
"<text text-anchor=\"start\" x=\"686.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 542&#45;&gt;541 -->\n",
"<g id=\"edge15\" class=\"edge\">\n",
"<title>542&#45;&gt;541</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M735.3783,-266.7622C735.6523,-253.4123 735.9881,-237.0481 736.27,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"739.7763,-223.0339 736.4823,-212.9642 732.7778,-222.8902 739.7763,-223.0339\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9aa4bad0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6832298136645963"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * onion\n",
" * cream cheese\n",
" * carrot\n",
" * noodle\n",
" * mushroom\n",
" * chicken\n",
" * tomato sauce\n",
" * water\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice carrot, chop onion, brush chicken, wash mushroom and mix it with water, noodle and tomato sauce. Then cook it. |\n",
"| 2 | mash cream cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1304pt\" height=\"326pt\"\n",
" viewBox=\"0.00 0.00 1303.85 325.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 321.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-321.8234 1299.8528,-321.8234 1299.8528,4 -4,4\"/>\n",
"<!-- 703 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>703</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"594\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"578\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"582\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"542\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.7778</text>\n",
"</g>\n",
"<!-- 704 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>704</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"594,-230.9117 474,-194.9117 594,-158.9117 714,-194.9117 594,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"580.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"584.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"542\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.2778</text>\n",
"</g>\n",
"<!-- 703&#45;&gt;704 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>703&#45;&gt;704</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M594,-266.7622C594,-258.8985 594,-249.989 594,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"597.5001,-240.9713 594,-230.9713 590.5001,-240.9714 597.5001,-240.9713\"/>\n",
"</g>\n",
"<!-- 692 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>692</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"36.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"40.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;692 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>704&#45;&gt;692</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M501.604,-186.5366C406.1578,-176.5385 253.447,-156.7667 125,-122.9117 120.4277,-121.7066 115.7366,-120.2983 111.0626,-118.7738\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"112.131,-115.4402 101.5364,-115.5091 109.8616,-122.0621 112.131,-115.4402\"/>\n",
"</g>\n",
"<!-- 693 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>693</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"250,-115.4558 134,-115.4558 134,-79.4558 250,-79.4558 250,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"171.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"175.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cheese</text>\n",
"<text text-anchor=\"start\" x=\"142\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;693 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>704&#45;&gt;693</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M517.3367,-181.8537C448.8954,-169.39 346.2833,-148.7111 259,-122.9117 254.9055,-121.7014 250.705,-120.3583 246.5004,-118.9397\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"247.3251,-115.5201 236.7303,-115.5194 245.0122,-122.127 247.3251,-115.5201\"/>\n",
"</g>\n",
"<!-- 694 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>694</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"384,-115.4558 268,-115.4558 268,-79.4558 384,-79.4558 384,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"301.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"305.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">sausage</text>\n",
"<text text-anchor=\"start\" x=\"276\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;694 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>704&#45;&gt;694</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M538.4417,-175.3316C498.0279,-161.0105 442.0324,-141.0063 393,-122.9117 389.5891,-121.6529 386.084,-120.3499 382.5506,-119.0291\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"383.7691,-115.7481 373.1769,-115.5096 381.3085,-122.3014 383.7691,-115.7481\"/>\n",
"</g>\n",
"<!-- 698 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>698</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"518,-115.4558 402,-115.4558 402,-79.4558 518,-79.4558 518,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"441\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"445\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">water</text>\n",
"<text text-anchor=\"start\" x=\"410\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;698 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>704&#45;&gt;698</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M558.7931,-169.3063C538.4381,-154.5025 512.9865,-135.992 493.0148,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"494.9678,-118.5596 484.8218,-115.5083 490.8505,-124.2207 494.9678,-118.5596\"/>\n",
"</g>\n",
"<!-- 701 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>701</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"652,-115.4558 536,-115.4558 536,-79.4558 652,-79.4558 652,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"576\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"580\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">sauce</text>\n",
"<text text-anchor=\"start\" x=\"544\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;701 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>704&#45;&gt;701</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M594,-158.8996C594,-147.9536 594,-136.0871 594,-125.7278\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"597.5001,-125.5795 594,-115.5795 590.5001,-125.5795 597.5001,-125.5795\"/>\n",
"</g>\n",
"<!-- 702 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>702</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"786,-115.4558 670,-115.4558 670,-79.4558 786,-79.4558 786,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"687.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"691.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"678\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;702 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>704&#45;&gt;702</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M629.2069,-169.3063C649.5619,-154.5025 675.0135,-135.992 694.9852,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"697.1495,-124.2207 703.1782,-115.5083 693.0322,-118.5596 697.1495,-124.2207\"/>\n",
"</g>\n",
"<!-- 697 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>697</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"889\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"877.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"881.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"837\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;697 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>704&#45;&gt;697</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M651.2288,-176.0057C700.183,-159.8332 770.6929,-136.5396 822.2161,-119.5185\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"823.5332,-122.7695 831.9305,-116.3092 821.3373,-116.1228 823.5332,-122.7695\"/>\n",
"</g>\n",
"<!-- 695 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>695</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1108,-115.4558 992,-115.4558 992,-79.4558 1108,-79.4558 1108,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1020.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1024.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">soy sauce</text>\n",
"<text text-anchor=\"start\" x=\"1000\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;695 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>704&#45;&gt;695</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M677.7054,-183.8731C757.1633,-172.3522 879.4952,-151.8983 983,-122.9117 987.2949,-121.7089 991.7005,-120.3439 996.1017,-118.8857\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"997.3783,-122.1477 1005.685,-115.5712 995.0902,-115.5322 997.3783,-122.1477\"/>\n",
"</g>\n",
"<!-- 700 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>700</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1211\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1194\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1198\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">wash</text>\n",
"<text text-anchor=\"start\" x=\"1159\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 704&#45;&gt;700 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>704&#45;&gt;700</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M684.3581,-186.0163C789.0845,-174.8893 966.5575,-153.5074 1117,-122.9117 1124.5139,-121.3836 1132.3156,-119.598 1140.0674,-117.6941\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1140.9943,-121.07 1149.8341,-115.2297 1139.2817,-114.2827 1140.9943,-121.07\"/>\n",
"</g>\n",
"<!-- 696 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>696</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"947,-36 831,-36 831,0 947,0 947,-36\"/>\n",
"<text text-anchor=\"start\" x=\"864.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"868.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">spinach</text>\n",
"<text text-anchor=\"start\" x=\"839\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 697&#45;&gt;696 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>697&#45;&gt;696</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M889,-71.8782C889,-63.7122 889,-54.6289 889,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"892.5001,-46.2287 889,-36.2288 885.5001,-46.2288 892.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 699 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>699</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1269,-36 1153,-36 1153,0 1269,0 1269,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1188.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1192.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">pepper</text>\n",
"<text text-anchor=\"start\" x=\"1161\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 700&#45;&gt;699 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>700&#45;&gt;699</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1211,-71.8782C1211,-63.7122 1211,-54.6289 1211,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1214.5001,-46.2287 1211,-36.2288 1207.5001,-46.2288 1214.5001,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9aa49910>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6798941798941799"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * soy sauce\n",
" * pepper\n",
" * sauce\n",
" * spinach\n",
" * noodle\n",
" * sausage\n",
" * cheese\n",
" * tomato sauce\n",
" * water\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | cut spinach, wash pepper and mix it with noodle, cheese, sausage, water, sauce, tomato sauce and soy sauce. Then bake it. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"956pt\" height=\"500pt\"\n",
" viewBox=\"0.00 0.00 955.85 499.65\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 495.6468)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-495.6468 951.8528,-495.6468 951.8528,4 -4,4\"/>\n",
"<!-- 6660 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>6660</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"513.8528\" cy=\"-466.1909\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"497.8528\" y=\"-469.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"501.8528\" y=\"-469.9909\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"461.8528\" y=\"-455.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.8333</text>\n",
"</g>\n",
"<!-- 6661 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>6661</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"513.8528,-404.7351 393.8528,-368.7351 513.8528,-332.7351 633.8528,-368.7351 513.8528,-404.7351\"/>\n",
"<text text-anchor=\"start\" x=\"500.3528\" y=\"-372.5351\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"504.3528\" y=\"-372.5351\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"461.8528\" y=\"-358.5351\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.4000</text>\n",
"</g>\n",
"<!-- 6660&#45;&gt;6661 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>6660&#45;&gt;6661</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M513.8528,-440.5855C513.8528,-432.7219 513.8528,-423.8124 513.8528,-415.0098\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"517.3529,-414.7947 513.8528,-404.7947 510.3529,-414.7947 517.3529,-414.7947\"/>\n",
"</g>\n",
"<!-- 6665 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>6665</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"68.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"72.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6661&#45;&gt;6665 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>6661&#45;&gt;6665</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M441.3924,-354.3115C373.3712,-340.4997 268.8916,-318.5863 178.8528,-296.7351 171.7929,-295.0217 164.4547,-293.1664 157.1306,-291.265\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"157.7404,-287.8065 147.1794,-288.6526 155.9629,-294.5771 157.7404,-287.8065\"/>\n",
"</g>\n",
"<!-- 6672 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>6672</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"272.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"256.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"260.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6661&#45;&gt;6672 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>6661&#45;&gt;6672</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M462.7429,-348.0672C424.7519,-332.7043 372.8016,-311.6966 332.8414,-295.5375\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"334.0581,-292.2542 323.4753,-291.75 331.4339,-298.7437 334.0581,-292.2542\"/>\n",
"</g>\n",
"<!-- 6337 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>6337</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"491.8528,-289.2792 375.8528,-289.2792 375.8528,-253.2792 491.8528,-253.2792 491.8528,-289.2792\"/>\n",
"<text text-anchor=\"start\" x=\"408.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"412.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">olive oil</text>\n",
"<text text-anchor=\"start\" x=\"383.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6661&#45;&gt;6337 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>6661&#45;&gt;6337</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M490.0668,-339.759C479.0056,-326.2843 465.9532,-310.3839 455.2112,-297.298\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"457.91,-295.0694 448.8599,-289.5608 452.4995,-299.5108 457.91,-295.0694\"/>\n",
"</g>\n",
"<!-- 6662 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>6662</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"594.8528\" cy=\"-271.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"576.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"580.8528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"542.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 6661&#45;&gt;6662 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>6661&#45;&gt;6662</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M537.9362,-339.759C547.3329,-328.4532 558.149,-315.4398 567.8117,-303.814\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"570.5852,-305.9527 574.2855,-296.025 565.2018,-301.4783 570.5852,-305.9527\"/>\n",
"</g>\n",
"<!-- 6668 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>6668</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"813.8528,-289.2792 697.8528,-289.2792 697.8528,-253.2792 813.8528,-253.2792 813.8528,-289.2792\"/>\n",
"<text text-anchor=\"start\" x=\"715.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"719.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"705.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6661&#45;&gt;6668 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>6661&#45;&gt;6668</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M565.1748,-348.0672C605.2501,-331.9284 660.7944,-309.5602 701.5995,-293.1276\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"703.1451,-296.2784 711.1137,-289.2961 700.5301,-289.7851 703.1451,-296.2784\"/>\n",
"</g>\n",
"<!-- 6667 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>6667</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"947.8528,-289.2792 831.8528,-289.2792 831.8528,-253.2792 947.8528,-253.2792 947.8528,-289.2792\"/>\n",
"<text text-anchor=\"start\" x=\"868.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"872.3528\" y=\"-275.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"839.8528\" y=\"-261.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6661&#45;&gt;6667 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>6661&#45;&gt;6667</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M587.0069,-354.5787C650.0847,-341.6879 743.2951,-320.9977 822.8528,-296.7351 826.8697,-295.51 830.992,-294.1656 835.1221,-292.7544\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"836.4613,-295.9935 844.727,-289.3657 834.1322,-289.3923 836.4613,-295.9935\"/>\n",
"</g>\n",
"<!-- 6666 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>6666</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-202.3675 26.8528,-202.3675 26.8528,-166.3675 142.8528,-166.3675 142.8528,-202.3675\"/>\n",
"<text text-anchor=\"start\" x=\"49.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"53.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">garlic clove</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6665&#45;&gt;6666 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>6665&#45;&gt;6666</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-245.6729C84.8528,-235.308 84.8528,-223.3034 84.8528,-212.6791\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-212.6268 84.8528,-202.6268 81.3529,-212.6268 88.3529,-212.6268\"/>\n",
"</g>\n",
"<!-- 6673 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>6673</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"330.8528,-202.3675 214.8528,-202.3675 214.8528,-166.3675 330.8528,-166.3675 330.8528,-202.3675\"/>\n",
"<text text-anchor=\"start\" x=\"249.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"253.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"222.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6672&#45;&gt;6673 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>6672&#45;&gt;6673</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M272.8528,-245.6729C272.8528,-235.308 272.8528,-223.3034 272.8528,-212.6791\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"276.3529,-212.6268 272.8528,-202.6268 269.3529,-212.6268 276.3529,-212.6268\"/>\n",
"</g>\n",
"<!-- 6663 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>6663</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"594.8528\" cy=\"-184.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"583.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"587.3528\" y=\"-188.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"542.8528\" y=\"-174.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 6662&#45;&gt;6663 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>6662&#45;&gt;6663</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M594.8528,-245.6729C594.8528,-237.699 594.8528,-228.7545 594.8528,-220.2147\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"598.3529,-220.0911 594.8528,-210.0911 591.3529,-220.0912 598.3529,-220.0911\"/>\n",
"</g>\n",
"<!-- 6675 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>6675</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"594.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"580.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"584.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">heat</text>\n",
"<text text-anchor=\"start\" x=\"542.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 6663&#45;&gt;6675 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>6663&#45;&gt;6675</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M594.8528,-158.7612C594.8528,-150.7873 594.8528,-141.8428 594.8528,-133.303\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"598.3529,-133.1794 594.8528,-123.1795 591.3529,-133.1795 598.3529,-133.1794\"/>\n",
"</g>\n",
"<!-- 6664 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>6664</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"652.8528,-36 536.8528,-36 536.8528,0 652.8528,0 652.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"576.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"580.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">onion</text>\n",
"<text text-anchor=\"start\" x=\"544.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 6675&#45;&gt;6664 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>6675&#45;&gt;6664</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M594.8528,-71.8782C594.8528,-63.7122 594.8528,-54.6289 594.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"598.3529,-46.2287 594.8528,-36.2288 591.3529,-46.2288 598.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa8a3a71d0>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6796296296296297"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * onion\n",
" * olive oil\n",
" * parsley\n",
" * noodle\n",
" * garlic clove\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | heat and cut onion |\n",
"| 2 | mash the result of step 1 |\n",
"| 3 | chop garlic clove, chop parsley and mix it with olive oil, tomato sauce and noodle and mix it together with the results of step 2. Then cook it. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1022pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1021.85 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1017.8528,-429.8234 1017.8528,4 -4,4\"/>\n",
"<!-- 4466 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>4466</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"493,-425.8234 373,-389.8234 493,-353.8234 613,-389.8234 493,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"479.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"483.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"441\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 4467 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>4467</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"120,-310.3675 4,-310.3675 4,-274.3675 120,-274.3675 120,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"40.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"44.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"12\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.5000</text>\n",
"</g>\n",
"<!-- 4466&#45;&gt;4467 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>4466&#45;&gt;4467</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M412.5525,-377.894C338.1762,-365.9298 224.983,-345.3393 129,-317.8234 124.7126,-316.5943 120.3123,-315.2103 115.9148,-313.739\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"116.932,-310.3871 106.3372,-310.4045 114.6304,-316.998 116.932,-310.3871\"/>\n",
"</g>\n",
"<!-- 4470 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>4470</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"223\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"208.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"212.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">heat</text>\n",
"<text text-anchor=\"start\" x=\"171\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4466&#45;&gt;4470 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>4466&#45;&gt;4470</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M438.3615,-370.1017C394.6284,-354.3164 333.2051,-332.1458 287.1417,-315.5193\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"288.1516,-312.1629 277.5573,-312.0598 285.775,-318.7471 288.1516,-312.1629\"/>\n",
"</g>\n",
"<!-- 4468 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>4468</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"411\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"392\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"396\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">break</text>\n",
"<text text-anchor=\"start\" x=\"359\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4466&#45;&gt;4468 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>4466&#45;&gt;4468</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M468.6193,-360.8473C459.1066,-349.5415 448.157,-336.5281 438.3749,-324.9023\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"440.9377,-322.5117 431.8213,-317.1133 435.5814,-327.0185 440.9377,-322.5117\"/>\n",
"</g>\n",
"<!-- 4480 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>4480</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"638.5,-310.3675 513.5,-310.3675 513.5,-274.3675 638.5,-274.3675 638.5,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"521.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"525.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"526\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4466&#45;&gt;4480 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>4466&#45;&gt;4480</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M517.4538,-361.1105C529.0169,-347.5336 542.7169,-331.4475 553.9561,-318.2508\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"556.7757,-320.3381 560.595,-310.4556 551.4465,-315.7994 556.7757,-320.3381\"/>\n",
"</g>\n",
"<!-- 4326 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>4326</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"741\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"724.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"728.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">thaw</text>\n",
"<text text-anchor=\"start\" x=\"689\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4466&#45;&gt;4326 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>4466&#45;&gt;4326</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M544.9889,-369.3934C584.3882,-353.9108 638.6306,-332.5954 680.0678,-316.3119\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"681.4778,-319.5184 689.5049,-312.6034 678.9176,-313.0034 681.4778,-319.5184\"/>\n",
"</g>\n",
"<!-- 4476 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>4476</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"929\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"917.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"921.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"877\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4466&#45;&gt;4476 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>4466&#45;&gt;4476</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M565.9901,-375.7095C635.4172,-361.9892 742.673,-340.0243 835,-317.8234 842.0635,-316.1249 849.404,-314.2794 856.7296,-312.3841\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"857.8952,-315.697 866.6824,-309.778 856.1219,-308.9253 857.8952,-315.697\"/>\n",
"</g>\n",
"<!-- 4471 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>4471</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"219,-230.9117 99,-194.9117 219,-158.9117 339,-194.9117 219,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"205.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"209.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"167\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.6667</text>\n",
"</g>\n",
"<!-- 4470&#45;&gt;4471 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>4470&#45;&gt;4471</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M221.949,-266.7622C221.6194,-258.7311 221.245,-249.6091 220.8762,-240.6244\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"224.3722,-240.4521 220.465,-230.6041 217.3781,-240.7393 224.3722,-240.4521\"/>\n",
"</g>\n",
"<!-- 4472 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>4472</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"19.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"23.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4471&#45;&gt;4472 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>4471&#45;&gt;4472</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M179.2022,-170.8215C153.9904,-155.5603 121.5502,-135.9238 96.5767,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"98.1082,-117.6428 87.741,-115.4585 94.4834,-123.6311 98.1082,-117.6428\"/>\n",
"</g>\n",
"<!-- 4474 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>4474</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"219\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"203\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"207\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"167\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4471&#45;&gt;4474 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>4471&#45;&gt;4474</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M219,-158.8996C219,-150.5122 219,-141.5843 219,-133.2082\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"222.5001,-132.9756 219,-122.9757 215.5001,-132.9757 222.5001,-132.9756\"/>\n",
"</g>\n",
"<!-- 4473 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>4473</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"438,-115.4558 322,-115.4558 322,-79.4558 438,-79.4558 438,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"339.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"343.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"330\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4471&#45;&gt;4473 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>4471&#45;&gt;4473</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M258.7978,-170.8215C284.0096,-155.5603 316.4498,-135.9238 341.4233,-120.8069\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"343.5166,-123.6311 350.259,-115.4585 339.8918,-117.6428 343.5166,-123.6311\"/>\n",
"</g>\n",
"<!-- 4475 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>4475</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"277,-36 161,-36 161,0 277,0 277,-36\"/>\n",
"<text text-anchor=\"start\" x=\"183.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"187.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">garlic clove</text>\n",
"<text text-anchor=\"start\" x=\"169\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4474&#45;&gt;4475 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>4474&#45;&gt;4475</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M219,-71.8782C219,-63.7122 219,-54.6289 219,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"222.5001,-46.2287 219,-36.2288 215.5001,-46.2288 222.5001,-46.2287\"/>\n",
"</g>\n",
"<!-- 4469 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>4469</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"473,-212.9117 357,-212.9117 357,-176.9117 473,-176.9117 473,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"389.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"393.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"365\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4468&#45;&gt;4469 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>4468&#45;&gt;4469</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M412.051,-266.7622C412.5989,-253.4123 413.2705,-237.0481 413.8344,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"417.3459,-223.0993 414.2591,-212.9642 410.3518,-222.8122 417.3459,-223.0993\"/>\n",
"</g>\n",
"<!-- 4327 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>4327</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"799,-212.9117 683,-212.9117 683,-176.9117 799,-176.9117 799,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"716.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"720.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">spinach</text>\n",
"<text text-anchor=\"start\" x=\"691\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4326&#45;&gt;4327 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>4326&#45;&gt;4327</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M741,-266.7622C741,-253.4123 741,-237.0481 741,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"744.5001,-222.9641 741,-212.9642 737.5001,-222.9642 744.5001,-222.9641\"/>\n",
"</g>\n",
"<!-- 4482 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>4482</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"929\" cy=\"-194.9117\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"911.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"915.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">place</text>\n",
"<text text-anchor=\"start\" x=\"877\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 4476&#45;&gt;4482 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>4476&#45;&gt;4482</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M929,-266.7622C929,-255.7703 929,-242.735 929,-230.8048\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"932.5001,-230.6844 929,-220.6844 925.5001,-230.6845 932.5001,-230.6844\"/>\n",
"</g>\n",
"<!-- 4477 -->\n",
"<g id=\"node16\" class=\"node\">\n",
"<title>4477</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"987,-115.4558 871,-115.4558 871,-79.4558 987,-79.4558 987,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"888\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"892\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream cheese</text>\n",
"<text text-anchor=\"start\" x=\"879\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 4482&#45;&gt;4477 -->\n",
"<g id=\"edge15\" class=\"edge\">\n",
"<title>4482&#45;&gt;4477</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M929,-169.3063C929,-155.9564 929,-139.5922 929,-125.8547\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"932.5001,-125.5083 929,-115.5083 925.5001,-125.5083 932.5001,-125.5083\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9a641250>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6739130434782609"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * cream cheese\n",
" * vegetable oil\n",
" * mozzarella cheese\n",
" * spinach\n",
" * noodle\n",
" * garlic clove\n",
" * broccoli\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | chop garlic clove and mix it with vegetable oil and tomato sauce. Then heat it. |\n",
"| 2 | place and cut cream cheese |\n",
"| 3 | break broccoli, thaw spinach and mix it with noodle and mozzarella cheese and mix it together with the results of step 1 and step 2. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"1689pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 1688.85 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 1684.8528,-429.8234 1684.8528,4 -4,4\"/>\n",
"<!-- 10192 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>10192</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"926.8528,-425.8234 806.8528,-389.8234 926.8528,-353.8234 1046.8528,-389.8234 926.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"913.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"917.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"874.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 10193 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>10193</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"844.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"828.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"832.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"792.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10192&#45;&gt;10193 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>10192&#45;&gt;10193</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M902.4721,-360.8473C892.9594,-349.5415 882.0098,-336.5281 872.2278,-324.9023\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"874.7905,-322.5117 865.6741,-317.1133 869.4342,-327.0185 874.7905,-322.5117\"/>\n",
"</g>\n",
"<!-- 10211 -->\n",
"<g id=\"node19\" class=\"node\">\n",
"<title>10211</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1072.3528,-310.3675 947.3528,-310.3675 947.3528,-274.3675 1072.3528,-274.3675 1072.3528,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"955.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"959.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"959.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10192&#45;&gt;10211 -->\n",
"<g id=\"edge18\" class=\"edge\">\n",
"<title>10192&#45;&gt;10211</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M951.3066,-361.1105C962.8697,-347.5336 976.5697,-331.4475 987.8089,-318.2508\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"990.6285,-320.3381 994.4478,-310.4556 985.2993,-315.7994 990.6285,-320.3381\"/>\n",
"</g>\n",
"<!-- 10194 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>10194</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"844.8528,-230.9117 724.8528,-194.9117 844.8528,-158.9117 964.8528,-194.9117 844.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"831.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"835.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"792.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.4545</text>\n",
"</g>\n",
"<!-- 10193&#45;&gt;10194 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>10193&#45;&gt;10194</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M844.8528,-266.7622C844.8528,-258.8985 844.8528,-249.989 844.8528,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"848.3529,-240.9713 844.8528,-230.9713 841.3529,-240.9714 848.3529,-240.9713\"/>\n",
"</g>\n",
"<!-- 10206 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>10206</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"70.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"74.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10206 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>10194&#45;&gt;10206</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M744.5617,-188.9867C613.5878,-180.1288 377.5765,-160.3223 178.8528,-122.9117 171.2006,-121.4711 163.2595,-119.725 155.381,-117.8299\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"156.0108,-114.38 145.4615,-115.3616 154.3204,-121.1728 156.0108,-114.38\"/>\n",
"</g>\n",
"<!-- 10196 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>10196</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"272.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"261.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"265.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"220.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10196 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>10194&#45;&gt;10196</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M757.7689,-184.9576C661.3554,-173.2106 501.6117,-151.5902 365.8528,-122.9117 358.6214,-121.3841 351.118,-119.6262 343.6516,-117.7629\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"344.439,-114.3517 333.8835,-115.2632 342.7036,-121.1332 344.439,-114.3517\"/>\n",
"</g>\n",
"<!-- 10209 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>10209</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"500.3528,-115.4558 375.3528,-115.4558 375.3528,-79.4558 500.3528,-79.4558 500.3528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"383.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"387.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"387.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10209 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>10194&#45;&gt;10209</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M769.3349,-181.5475C700.9907,-168.7765 597.8595,-147.8159 509.8528,-122.9117 505.308,-121.6256 500.6338,-120.2045 495.9542,-118.7108\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"496.9739,-115.3618 486.381,-115.5631 494.7873,-122.0116 496.9739,-115.3618\"/>\n",
"</g>\n",
"<!-- 10210 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>10210</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"634.8528,-115.4558 518.8528,-115.4558 518.8528,-79.4558 634.8528,-79.4558 634.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"541.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"545.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">clove garlic</text>\n",
"<text text-anchor=\"start\" x=\"526.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10210 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>10194&#45;&gt;10210</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M789.2945,-175.3316C748.8807,-161.0105 692.8852,-141.0063 643.8528,-122.9117 640.4419,-121.6529 636.9368,-120.3499 633.4035,-119.0291\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"634.6219,-115.7481 624.0298,-115.5096 632.1613,-122.3014 634.6219,-115.7481\"/>\n",
"</g>\n",
"<!-- 10195 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>10195</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"768.8528,-115.4558 652.8528,-115.4558 652.8528,-79.4558 768.8528,-79.4558 768.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"685.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"689.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">oregano</text>\n",
"<text text-anchor=\"start\" x=\"660.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10195 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>10194&#45;&gt;10195</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M809.6459,-169.3063C789.2909,-154.5025 763.8393,-135.992 743.8676,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"745.8206,-118.5596 735.6746,-115.5083 741.7033,-124.2207 745.8206,-118.5596\"/>\n",
"</g>\n",
"<!-- 10203 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>10203</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"902.8528,-115.4558 786.8528,-115.4558 786.8528,-79.4558 902.8528,-79.4558 902.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"832.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"836.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">salt</text>\n",
"<text text-anchor=\"start\" x=\"794.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10203 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>10194&#45;&gt;10203</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M844.8528,-158.8996C844.8528,-147.9536 844.8528,-136.0871 844.8528,-125.7278\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"848.3529,-125.5795 844.8528,-115.5795 841.3529,-125.5795 848.3529,-125.5795\"/>\n",
"</g>\n",
"<!-- 10424 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>10424</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1036.8528,-115.4558 920.8528,-115.4558 920.8528,-79.4558 1036.8528,-79.4558 1036.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"958.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"962.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream</text>\n",
"<text text-anchor=\"start\" x=\"928.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10424 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>10194&#45;&gt;10424</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M880.0597,-169.3063C900.4147,-154.5025 925.8663,-135.992 945.838,-121.4669\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"948.0023,-124.2207 954.031,-115.5083 943.885,-118.5596 948.0023,-124.2207\"/>\n",
"</g>\n",
"<!-- 10201 -->\n",
"<g id=\"node13\" class=\"node\">\n",
"<title>10201</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1139.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1121.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1125.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mash</text>\n",
"<text text-anchor=\"start\" x=\"1087.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10201 -->\n",
"<g id=\"edge12\" class=\"edge\">\n",
"<title>10194&#45;&gt;10201</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M902.0816,-176.0057C951.0358,-159.8332 1021.5458,-136.5396 1073.0689,-119.5185\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1074.386,-122.7695 1082.7833,-116.3092 1072.1901,-116.1228 1074.386,-122.7695\"/>\n",
"</g>\n",
"<!-- 10208 -->\n",
"<g id=\"node15\" class=\"node\">\n",
"<title>10208</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1358.8528,-115.4558 1242.8528,-115.4558 1242.8528,-79.4558 1358.8528,-79.4558 1358.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1280.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1284.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cheese</text>\n",
"<text text-anchor=\"start\" x=\"1250.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10208 -->\n",
"<g id=\"edge14\" class=\"edge\">\n",
"<title>10194&#45;&gt;10208</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M928.5582,-183.8731C1008.0162,-172.3522 1130.3481,-151.8983 1233.8528,-122.9117 1238.1477,-121.7089 1242.5533,-120.3439 1246.9546,-118.8857\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1248.2311,-122.1477 1256.5378,-115.5712 1245.943,-115.5322 1248.2311,-122.1477\"/>\n",
"</g>\n",
"<!-- 10199 -->\n",
"<g id=\"node16\" class=\"node\">\n",
"<title>10199</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"1461.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"1445.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1449.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"1409.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10199 -->\n",
"<g id=\"edge15\" class=\"edge\">\n",
"<title>10194&#45;&gt;10199</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M935.2109,-186.0163C1039.9373,-174.8893 1217.4103,-153.5074 1367.8528,-122.9117 1375.3667,-121.3836 1383.1684,-119.598 1390.9202,-117.6941\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1391.8471,-121.07 1400.6869,-115.2297 1390.1345,-114.2827 1391.8471,-121.07\"/>\n",
"</g>\n",
"<!-- 10198 -->\n",
"<g id=\"node18\" class=\"node\">\n",
"<title>10198</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1680.8528,-115.4558 1564.8528,-115.4558 1564.8528,-79.4558 1680.8528,-79.4558 1680.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"1601.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1605.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"1572.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10194&#45;&gt;10198 -->\n",
"<g id=\"edge17\" class=\"edge\">\n",
"<title>10194&#45;&gt;10198</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M942.679,-188.19C1109.4706,-176.1971 1441.9001,-149.8344 1555.8528,-122.9117 1560.797,-121.7436 1565.8684,-120.3006 1570.9005,-118.7\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1572.1337,-121.9778 1580.4856,-115.4589 1569.8913,-115.3467 1572.1337,-121.9778\"/>\n",
"</g>\n",
"<!-- 10207 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>10207</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-36 26.8528,-36 26.8528,0 142.8528,0 142.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"50.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"54.8528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">red pepper</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10206&#45;&gt;10207 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>10206&#45;&gt;10207</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-71.8782C84.8528,-63.7122 84.8528,-54.6289 84.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-46.2287 84.8528,-36.2288 81.3529,-46.2288 88.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 10197 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>10197</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"330.8528,-36 214.8528,-36 214.8528,0 330.8528,0 330.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"247.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"251.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">broccoli</text>\n",
"<text text-anchor=\"start\" x=\"222.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10196&#45;&gt;10197 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>10196&#45;&gt;10197</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M272.8528,-71.8782C272.8528,-63.7122 272.8528,-54.6289 272.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"276.3529,-46.2287 272.8528,-36.2288 269.3529,-46.2288 276.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 10202 -->\n",
"<g id=\"node14\" class=\"node\">\n",
"<title>10202</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1197.8528,-36 1081.8528,-36 1081.8528,0 1197.8528,0 1197.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1119.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1123.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">butter</text>\n",
"<text text-anchor=\"start\" x=\"1089.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10201&#45;&gt;10202 -->\n",
"<g id=\"edge13\" class=\"edge\">\n",
"<title>10201&#45;&gt;10202</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1139.8528,-71.8782C1139.8528,-63.7122 1139.8528,-54.6289 1139.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1143.3529,-46.2287 1139.8528,-36.2288 1136.3529,-46.2288 1143.3529,-46.2287\"/>\n",
"</g>\n",
"<!-- 10200 -->\n",
"<g id=\"node17\" class=\"node\">\n",
"<title>10200</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"1519.8528,-36 1403.8528,-36 1403.8528,0 1519.8528,0 1519.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"1438.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"1442.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"1411.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10199&#45;&gt;10200 -->\n",
"<g id=\"edge16\" class=\"edge\">\n",
"<title>10199&#45;&gt;10200</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M1461.8528,-71.8782C1461.8528,-63.7122 1461.8528,-54.6289 1461.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"1465.3529,-46.2287 1461.8528,-36.2288 1458.3529,-46.2288 1465.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9a641250>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6722222222222222"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * red pepper\n",
" * clove garlic\n",
" * mozzarella cheese\n",
" * cheese\n",
" * parsley\n",
" * salt\n",
" * butter\n",
" * noodle\n",
" * broccoli\n",
" * oregano\n",
" * cream\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice red pepper, cut broccoli, mash butter, chop parsley and mix it with mozzarella cheese, clove garlic, oregano, salt, cream, cheese and noodle. Then bake it. |\n",
"| 2 | Mix mozzarella cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"723pt\" height=\"434pt\"\n",
" viewBox=\"0.00 0.00 722.85 433.82\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 429.8234)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-429.8234 718.8528,-429.8234 718.8528,4 -4,4\"/>\n",
"<!-- 203 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>203</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"249.8528,-425.8234 129.8528,-389.8234 249.8528,-353.8234 369.8528,-389.8234 249.8528,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"236.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"240.3528\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"197.8528\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.0000</text>\n",
"</g>\n",
"<!-- 199 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>199</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"84.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"73.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"77.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cut</text>\n",
"<text text-anchor=\"start\" x=\"32.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 203&#45;&gt;199 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>203&#45;&gt;199</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M209.0663,-365.7332C185.7779,-351.9781 156.4715,-334.6685 132.1742,-320.3175\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"133.8599,-317.2483 123.4696,-315.1762 130.2999,-323.2755 133.8599,-317.2483\"/>\n",
"</g>\n",
"<!-- 194 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>194</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"312.3528,-310.3675 187.3528,-310.3675 187.3528,-274.3675 312.3528,-274.3675 312.3528,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"195.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"199.3528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mozzarella cheese</text>\n",
"<text text-anchor=\"start\" x=\"199.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 203&#45;&gt;194 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>203&#45;&gt;194</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M249.8528,-353.8113C249.8528,-342.8653 249.8528,-330.9988 249.8528,-320.6395\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"253.3529,-320.4912 249.8528,-310.4912 246.3529,-320.4912 253.3529,-320.4912\"/>\n",
"</g>\n",
"<!-- 201 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>201</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"414.8528\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"389.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"393.8528\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">simmer</text>\n",
"<text text-anchor=\"start\" x=\"362.8528\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.7500</text>\n",
"</g>\n",
"<!-- 203&#45;&gt;201 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>203&#45;&gt;201</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M290.6393,-365.7332C313.9277,-351.9781 343.2341,-334.6685 367.5314,-320.3175\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"369.4057,-323.2755 376.236,-315.1762 365.8458,-317.2483 369.4057,-323.2755\"/>\n",
"</g>\n",
"<!-- 198 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>198</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"142.8528,-212.9117 26.8528,-212.9117 26.8528,-176.9117 142.8528,-176.9117 142.8528,-212.9117\"/>\n",
"<text text-anchor=\"start\" x=\"43.8528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"47.8528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cream cheese</text>\n",
"<text text-anchor=\"start\" x=\"34.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 199&#45;&gt;198 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>199&#45;&gt;198</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M84.8528,-266.7622C84.8528,-253.4123 84.8528,-237.0481 84.8528,-223.3105\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"88.3529,-222.9641 84.8528,-212.9642 81.3529,-222.9642 88.3529,-222.9641\"/>\n",
"</g>\n",
"<!-- 202 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>202</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"414.8528,-230.9117 294.8528,-194.9117 414.8528,-158.9117 534.8528,-194.9117 414.8528,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"401.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"405.3528\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"362.8528\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 201&#45;&gt;202 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>201&#45;&gt;202</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M414.8528,-266.7622C414.8528,-258.8985 414.8528,-249.989 414.8528,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"418.3529,-240.9713 414.8528,-230.9713 411.3529,-240.9714 418.3529,-240.9713\"/>\n",
"</g>\n",
"<!-- 200 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>200</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"258.8528,-115.4558 142.8528,-115.4558 142.8528,-79.4558 258.8528,-79.4558 258.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"160.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"164.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">tomato sauce</text>\n",
"<text text-anchor=\"start\" x=\"150.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 202&#45;&gt;200 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>202&#45;&gt;200</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M367.0934,-173.162C332.1517,-157.2495 284.9025,-135.7322 249.7073,-119.7042\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"251.1295,-116.5061 240.5781,-115.5468 248.2283,-122.8766 251.1295,-116.5061\"/>\n",
"</g>\n",
"<!-- 195 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>195</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"392.8528,-115.4558 276.8528,-115.4558 276.8528,-79.4558 392.8528,-79.4558 392.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"311.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"315.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">parsley</text>\n",
"<text text-anchor=\"start\" x=\"284.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 202&#45;&gt;195 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>202&#45;&gt;195</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M391.0668,-165.9356C380.0056,-152.4609 366.9532,-136.5605 356.2112,-123.4746\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"358.91,-121.246 349.8599,-115.7374 353.4995,-125.6875 358.91,-121.246\"/>\n",
"</g>\n",
"<!-- 197 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>197</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"495.8528\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"479.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"483.8528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">chop</text>\n",
"<text text-anchor=\"start\" x=\"443.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 202&#45;&gt;197 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>202&#45;&gt;197</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M438.9362,-165.9356C448.3329,-154.6298 459.149,-141.6164 468.8117,-129.9906\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"471.5852,-132.1293 475.2855,-122.2016 466.2018,-127.655 471.5852,-132.1293\"/>\n",
"</g>\n",
"<!-- 193 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>193</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"714.8528,-115.4558 598.8528,-115.4558 598.8528,-79.4558 714.8528,-79.4558 714.8528,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"635.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"639.3528\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"606.8528\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 202&#45;&gt;193 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>202&#45;&gt;193</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M466.1748,-174.2438C506.2501,-158.1051 561.7944,-135.7368 602.5995,-119.3042\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"604.1451,-122.455 612.1137,-115.4728 601.5301,-115.9618 604.1451,-122.455\"/>\n",
"</g>\n",
"<!-- 196 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>196</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"553.8528,-36 437.8528,-36 437.8528,0 553.8528,0 553.8528,-36\"/>\n",
"<text text-anchor=\"start\" x=\"477.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"481.3528\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">onion</text>\n",
"<text text-anchor=\"start\" x=\"445.8528\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 197&#45;&gt;196 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>197&#45;&gt;196</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M495.8528,-71.8782C495.8528,-63.7122 495.8528,-54.6289 495.8528,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"499.3529,-46.2287 495.8528,-36.2288 492.3529,-46.2288 499.3529,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9a641250>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.671875"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * onion\n",
" * cream cheese\n",
" * mozzarella cheese\n",
" * parsley\n",
" * noodle\n",
" * tomato sauce\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | chop onion and mix it with tomato sauce, parsley and noodle. Then simmer it. |\n",
"| 2 | cut cream cheese and mix it with mozzarella cheese and mix it together with the results of step 1. |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Generated by graphviz version 2.40.1 (20161225.0304)\n",
" -->\n",
"<!-- Title: %3 Pages: 1 -->\n",
"<svg width=\"767pt\" height=\"608pt\"\n",
" viewBox=\"0.00 0.00 767.00 607.65\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
"<g id=\"graph0\" class=\"graph\" transform=\"scale(1 1) rotate(0) translate(4 603.6468)\">\n",
"<title>%3</title>\n",
"<polygon fill=\"#ffffff\" stroke=\"transparent\" points=\"-4,4 -4,-603.6468 763,-603.6468 763,4 -4,4\"/>\n",
"<!-- 10213 -->\n",
"<g id=\"node1\" class=\"node\">\n",
"<title>10213</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"433\" cy=\"-574.1909\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"415.5\" y=\"-577.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"419.5\" y=\"-577.9909\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">place</text>\n",
"<text text-anchor=\"start\" x=\"381\" y=\"-563.9909\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.5000</text>\n",
"</g>\n",
"<!-- 10214 -->\n",
"<g id=\"node2\" class=\"node\">\n",
"<title>10214</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"433\" cy=\"-487.2792\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"417\" y=\"-491.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"421\" y=\"-491.0792\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">cook</text>\n",
"<text text-anchor=\"start\" x=\"381\" y=\"-477.0792\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.8333</text>\n",
"</g>\n",
"<!-- 10213&#45;&gt;10214 -->\n",
"<g id=\"edge1\" class=\"edge\">\n",
"<title>10213&#45;&gt;10214</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M433,-548.5846C433,-540.6107 433,-531.6662 433,-523.1264\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"436.5001,-523.0028 433,-513.0028 429.5001,-523.0029 436.5001,-523.0028\"/>\n",
"</g>\n",
"<!-- 10215 -->\n",
"<g id=\"node3\" class=\"node\">\n",
"<title>10215</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"433,-425.8234 313,-389.8234 433,-353.8234 553,-389.8234 433,-425.8234\"/>\n",
"<text text-anchor=\"start\" x=\"419.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"423.5\" y=\"-393.6234\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"381\" y=\"-379.6234\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 0.2143</text>\n",
"</g>\n",
"<!-- 10214&#45;&gt;10215 -->\n",
"<g id=\"edge2\" class=\"edge\">\n",
"<title>10214&#45;&gt;10215</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M433,-461.6738C433,-453.8102 433,-444.9007 433,-436.0982\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"436.5001,-435.883 433,-425.883 429.5001,-435.883 436.5001,-435.883\"/>\n",
"</g>\n",
"<!-- 10219 -->\n",
"<g id=\"node4\" class=\"node\">\n",
"<title>10219</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"138\" cy=\"-292.3675\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"122\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"126\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">bake</text>\n",
"<text text-anchor=\"start\" x=\"86\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10215&#45;&gt;10219 -->\n",
"<g id=\"edge3\" class=\"edge\">\n",
"<title>10215&#45;&gt;10219</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M375.7712,-370.9174C326.817,-354.7449 256.3071,-331.4513 204.7839,-314.4302\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"205.6627,-311.0345 195.0695,-311.2209 203.4668,-317.6812 205.6627,-311.0345\"/>\n",
"</g>\n",
"<!-- 10225 -->\n",
"<g id=\"node9\" class=\"node\">\n",
"<title>10225</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"357,-310.3675 241,-310.3675 241,-274.3675 357,-274.3675 357,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"263.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"267.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">garlic clove</text>\n",
"<text text-anchor=\"start\" x=\"249\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.5000</text>\n",
"</g>\n",
"<!-- 10215&#45;&gt;10225 -->\n",
"<g id=\"edge8\" class=\"edge\">\n",
"<title>10215&#45;&gt;10225</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M397.7931,-364.218C377.4381,-349.4142 351.9865,-330.9037 332.0148,-316.3786\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"333.9678,-313.4712 323.8218,-310.42 329.8505,-319.1324 333.9678,-313.4712\"/>\n",
"</g>\n",
"<!-- 10218 -->\n",
"<g id=\"node10\" class=\"node\">\n",
"<title>10218</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"491,-310.3675 375,-310.3675 375,-274.3675 491,-274.3675 491,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"408\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"412\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">olive oil</text>\n",
"<text text-anchor=\"start\" x=\"383\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10215&#45;&gt;10218 -->\n",
"<g id=\"edge9\" class=\"edge\">\n",
"<title>10215&#45;&gt;10218</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M433,-353.8113C433,-342.8653 433,-330.9988 433,-320.6395\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"436.5001,-320.4912 433,-310.4912 429.5001,-320.4912 436.5001,-320.4912\"/>\n",
"</g>\n",
"<!-- 10226 -->\n",
"<g id=\"node11\" class=\"node\">\n",
"<title>10226</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"625,-310.3675 509,-310.3675 509,-274.3675 625,-274.3675 625,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"545.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"549.5\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">noodle</text>\n",
"<text text-anchor=\"start\" x=\"517\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10215&#45;&gt;10226 -->\n",
"<g id=\"edge10\" class=\"edge\">\n",
"<title>10215&#45;&gt;10226</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M468.2069,-364.218C488.5619,-349.4142 514.0135,-330.9037 533.9852,-316.3786\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"536.1495,-319.1324 542.1782,-310.42 532.0322,-313.4712 536.1495,-319.1324\"/>\n",
"</g>\n",
"<!-- 9850 -->\n",
"<g id=\"node12\" class=\"node\">\n",
"<title>9850</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"759,-310.3675 643,-310.3675 643,-274.3675 759,-274.3675 759,-310.3675\"/>\n",
"<text text-anchor=\"start\" x=\"667\" y=\"-296.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"671\" y=\"-296.1675\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mushroom</text>\n",
"<text text-anchor=\"start\" x=\"651\" y=\"-282.1675\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:0.5000</text>\n",
"</g>\n",
"<!-- 10215&#45;&gt;9850 -->\n",
"<g id=\"edge11\" class=\"edge\">\n",
"<title>10215&#45;&gt;9850</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M488.5583,-370.2433C528.9721,-355.9222 584.9676,-335.918 634,-317.8234 637.4109,-316.5646 640.916,-315.2616 644.4494,-313.9408\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"645.6915,-317.2131 653.8231,-310.4213 643.2309,-310.6598 645.6915,-317.2131\"/>\n",
"</g>\n",
"<!-- 10220 -->\n",
"<g id=\"node5\" class=\"node\">\n",
"<title>10220</title>\n",
"<polygon fill=\"#d5e8d4\" stroke=\"#d5e8d4\" points=\"138,-230.9117 18,-194.9117 138,-158.9117 258,-194.9117 138,-230.9117\"/>\n",
"<text text-anchor=\"start\" x=\"124.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"128.5\" y=\"-198.7117\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">mix</text>\n",
"<text text-anchor=\"start\" x=\"86\" y=\"-184.7117\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10219&#45;&gt;10220 -->\n",
"<g id=\"edge4\" class=\"edge\">\n",
"<title>10219&#45;&gt;10220</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M138,-266.7622C138,-258.8985 138,-249.989 138,-241.1865\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"141.5001,-240.9713 138,-230.9713 134.5001,-240.9714 141.5001,-240.9713\"/>\n",
"</g>\n",
"<!-- 10223 -->\n",
"<g id=\"node6\" class=\"node\">\n",
"<title>10223</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"116,-115.4558 0,-115.4558 0,-79.4558 116,-79.4558 116,-115.4558\"/>\n",
"<text text-anchor=\"start\" x=\"19.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"23.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">vegetable oil</text>\n",
"<text text-anchor=\"start\" x=\"8\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10220&#45;&gt;10223 -->\n",
"<g id=\"edge5\" class=\"edge\">\n",
"<title>10220&#45;&gt;10223</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M114.214,-165.9356C103.1528,-152.4609 90.1004,-136.5605 79.3584,-123.4746\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"82.0572,-121.246 73.007,-115.7374 76.6467,-125.6875 82.0572,-121.246\"/>\n",
"</g>\n",
"<!-- 10221 -->\n",
"<g id=\"node7\" class=\"node\">\n",
"<title>10221</title>\n",
"<ellipse fill=\"#dae8fc\" stroke=\"#dae8fc\" cx=\"219\" cy=\"-97.4558\" rx=\"84.7059\" ry=\"25.4118\"/>\n",
"<text text-anchor=\"start\" x=\"204.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"208.5\" y=\"-101.2558\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">slice</text>\n",
"<text text-anchor=\"start\" x=\"167\" y=\"-87.2558\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score: 1.0000</text>\n",
"</g>\n",
"<!-- 10220&#45;&gt;10221 -->\n",
"<g id=\"edge6\" class=\"edge\">\n",
"<title>10220&#45;&gt;10221</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M162.0834,-165.9356C171.4801,-154.6298 182.2961,-141.6164 191.9589,-129.9906\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"194.7324,-132.1293 198.4326,-122.2016 189.349,-127.655 194.7324,-132.1293\"/>\n",
"</g>\n",
"<!-- 10222 -->\n",
"<g id=\"node8\" class=\"node\">\n",
"<title>10222</title>\n",
"<polygon fill=\"#ffe6cc\" stroke=\"#ffe6cc\" points=\"277,-36 161,-36 161,0 277,0 277,-36\"/>\n",
"<text text-anchor=\"start\" x=\"182.5\" y=\"-21.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\"> </text>\n",
"<text text-anchor=\"start\" x=\"186.5\" y=\"-21.8\" font-family=\"Times,serif\" font-weight=\"bold\" font-size=\"14.00\" fill=\"#000000\">green onion</text>\n",
"<text text-anchor=\"start\" x=\"169\" y=\"-7.8\" font-family=\"Times,serif\" font-size=\"14.00\" fill=\"#000000\">node score:1.0000</text>\n",
"</g>\n",
"<!-- 10221&#45;&gt;10222 -->\n",
"<g id=\"edge7\" class=\"edge\">\n",
"<title>10221&#45;&gt;10222</title>\n",
"<path fill=\"none\" stroke=\"#000000\" d=\"M219,-71.8782C219,-63.7122 219,-54.6289 219,-46.2824\"/>\n",
"<polygon fill=\"#000000\" stroke=\"#000000\" points=\"222.5001,-46.2287 219,-36.2288 215.5001,-46.2288 222.5001,-46.2287\"/>\n",
"</g>\n",
"</g>\n",
"</svg>\n"
],
"text/plain": [
"<graphviz.dot.Digraph at 0x7faa9a641250>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Recipe Score**: 0.6708683473389356"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
},
{
"data": {
"text/markdown": [
"**Ingredients**:\n",
" * olive oil\n",
" * vegetable oil\n",
" * noodle\n",
" * garlic clove\n",
" * mushroom\n",
" * green onion\n",
"\n",
"\n",
"**Instructions**:\n",
"\n",
"| Step | Instruction |\n",
"| ----:|:----------- |\n",
"| 1 | slice green onion and mix it with vegetable oil. Then bake it. |\n",
"| 2 | Mix garlic clove, olive oil, noodle and mushroom and mix it together with the results of step 1. Then cook it. |\n",
"| 3 | place the result of step 2 |\n"
],
"text/plain": [
"<IPython.core.display.Markdown object>"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"p.plot_population(n_best=20)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"file_extension": ".py",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.5"
},
"mimetype": "text/x-python",
"name": "python",
"npconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": 3
},
"nbformat": 4,
"nbformat_minor": 4
}