code: def setUp(self):
      import pandas as pd
  
      # wine price dataset should be downloaded
      # from: https://github.com/floydhub/regression-template
      # and prepared as described in the wide-deep.ipynb notebook
      path = "./resources/text_data/wines.csv"
      data = pd.read_csv(path)
      data = data.sample(frac=1.0, random_state=42)
  
      # Split data into train and test
      train_size = int(len(data) * 0.8)
      print("Train size: %d" % train_size)
      print("Test size: %d" % (len(data) - train_size))
  
      # Train features
      description_train = data["description"][:train_size]
  
      # Train labels
      labels_train = data["price"][:train_size]
  
      # Test features
      description_test = data["description"][train_size:]
  
      # Test labels
      labels_test = data["price"][train_size:]
  
      # dataset
      x_train = description_train.values
      y_train = labels_train.values
      x_test = description_test.values
      y_test = labels_test.values
      self.trn = (x_train, y_train)
      self.val = (x_test, y_test)
  
file_path: ktrain/tests/test_textregression.py
imports: from unittest import TestCase, main, skip
  import IPython
  import numpy
  import testenv
  import ktrain
  from ktrain import text
  from ktrain.imports import ACC_NAME, VAL_ACC_NAME
label_desc: Use image node_id 1 for calling the TestTextRegression obj's underlying member method code with example usage: obj.setUp() without return types