SklearnIQDiscriminator.get_xdata¶
- SklearnIQDiscriminator.get_xdata(results, schedule_type_to_get, schedules=None)¶
Retrieves feature data (xdata) for the discriminator.
- Parameters
results (
Union
[Result
,List
[Result
]]) – the get_memory() method is used to retrieve the level 1 data. If result is a list of Result, then the first Result in the list that returns the data of schedule (through get_memory(schedule)) is used.schedule_type_to_get (
int
) – use to specify if we should return data corresponding to (0
) calibration data only (1
) non-calibration data (2
) both calibration and non-calibration dataschedules (
Union
[List
[str
],List
[Schedule
],None
]) – Either the names of the schedules or the schedules themselves.
- Return type
List
[List
[float
]]- Returns
data as a list of features. Each feature is a list.
- Raises
PulseError – if IQ data could not be found