Convert Records to Scaler Dataset

Helper method for converting records into a scaler dataset. This means all data is bounded between a range like: [-1, 1].

antinex_utils.build_scaler_dataset_from_records.build_scaler_dataset_from_records(record_list, label='build-scaled-dataset', min_feature=-1, max_feature=1, cast_to_type='float32')[source]
  • record_list – list of json records to scale between min/max
  • label – log label for tracking
  • min_feature – min feature range for scale normalization
  • max_feature – max feature range for scale normalization
  • cast_to_type – cast all of the dataframe to this datatype