code: def vector_filter(actual_vector, predict_vector):
      """
      Convert different type of items in vectors to str.
  
      :param actual_vector: actual values
      :type actual_vector: list
      :param predict_vector: vector of predictions
      :type predict_vector: list
      :return: new actual and predict vectors
      """
      if isinstance(actual_vector, numpy.ndarray):
          actual_vector = actual_vector.tolist()
      if isinstance(predict_vector, numpy.ndarray):
          predict_vector = predict_vector.tolist()
      temp = []
      temp.extend(actual_vector)
      temp.extend(predict_vector)
      types = set(map(type, temp))
      if len(types) > 1 or len(set(temp)) == 1:
          return [
              list(map(str, actual_vector)),
              list(map(str, predict_vector)),
          ]
      return [actual_vector, predict_vector]
  
imports: from __future__ import division
  import sys
  import math
  import numpy
  import re
  from .pycm_param import *
  from .pycm_error import pycmMatrixError
  from warnings import warn
  from functools import wraps
label_desc: Use image node_id 7 for calling a global function with example usage: vector_filter(actual_vector, predict_vector) and returns: list, list