How can train and predict models with custom data? : <p>I have 2 arrays, one with sizes and one with prices. How can I train or predict or use a cost function (i'm a begginner yeah) so i can predict prices according to a random size?</p>

<p>Maybe i'm confused with the terms but I hope someone can understand. thanks.</p>
