--- title: core keywords: fastai sidebar: home_sidebar summary: "helper functions" description: "helper functions" ---
{% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}
{% endraw %} {% raw %}

get_valid_index[source]

get_valid_index(df, valid_pct:float=0.2, seed:int=0)

generate valid index that will be used to split both image and tabular data

{% endraw %} {% raw %}
{% endraw %} {% raw %}

normalize_funcs_image_tab[source]

normalize_funcs_image_tab(mean:FloatTensor, std:FloatTensor, do_x:bool=True, do_y:bool=False)

Create normalize/denormalize func using mean and std, can specify do_y and device.

{% endraw %} {% raw %}
from nbdev.export import *
notebook2script()
Converted 00_core.ipynb.
Converted 01_dataset.ipynb.
Converted 02_model.ipynb.
Converted 03_metric.ipynb.
Converted index.ipynb.
Converted siim-isic-melanoma-classification.ipynb.
{% endraw %}