{extends "layout_view.tpl"} {block name="title"} {title}{$title}{/title} {/block} {block name="navigation"}
{permission name=admin_machine_learning} {icon name=create} {tr}New{/tr} {/permission} {icon name=list} {tr}Manage{/tr}
{/block} {block name="content"}

{$model.description|escape|nl2br}

{tr}Use this model by entering a sample information in the form below and execute a query against the trained model. This will produce results based on the chosen estimator and show you the most relevant matches or predict the result.{/tr}

{trackerfields trackerId=$trackerId fields=$fields}
{tr}Probability (closest matches){/tr} {icon name=help}
{tr}Prediction{/tr} {icon name=help}
{if $results}
{foreach from=$results key=$itemId item=row}

{if $row.proba} {$row.proba}%: {/if} {foreach $row.fields as $field} {trackeroutput field=$field} {/foreach}

{/foreach} {/if} {if $result}

{if $label}{$label}{else}{tr}Result{/tr}{/if}: {$result}

{/if} {/block}