code: def labels_to_dummy_probs(prediction: np.array):
      """Returns converted predictions using one-hot probability encoding"""
      df = pd.Series(prediction)
      pred_probas = pd.get_dummies(df).values
      return pred_probas
  
imports: import math
  import os
  import platform
  import random
  import tempfile
  from pathlib import Path
  from typing import Optional, Union
  import numpy
  import pandas
  from golem.utilities.random import RandomStateHandler
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 3 for calling a global function with example usage: labels_to_dummy_probs(prediction) and returns: pred_probas