Batch
- class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskInfo
- class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskErrorsInfo
- class yandex_cloud_ml_sdk._types.batch.task_info.BatchErrorInfo
- class yandex_cloud_ml_sdk._types.batch.task_info.LineErrorInfo
- class yandex_cloud_ml_sdk._types.batch.status.BatchTaskStatus
class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskInfo
BatchTaskInfo(task_id: ‘str’, operation_id: ‘str’, folder_id: ‘str’, model_uri: ‘str’, source_dataset_id: ‘str’, result_dataset_id: ‘str | None’, status: ‘BatchTaskStatus’, labels: ‘dict[str, str]’, created_by: ‘str’, created_at: ‘datetime’, started_at: ‘datetime’, finished_at: ‘datetime’, errors: ‘BatchTaskErrorsInfo’)
task_id: str
operation_id: str
folder_id: str
model_uri: str
source_dataset_id: str
status: BatchTaskStatus
created_by: str
created_at: datetime
started_at: datetime
finished_at: datetime
errors: BatchTaskErrorsInfo
class yandex_cloud_ml_sdk._types.batch.task_info.BatchTaskErrorsInfo
BatchTaskErrorsInfo(line_errors: ‘tuple[LineErrorInfo, …]’, batch_errors: ‘tuple[BatchErrorInfo, …]’)
line_errors: tuple
batch_errors: tuple
class yandex_cloud_ml_sdk._types.batch.task_info.BatchErrorInfo
BatchErrorInfo(batch_number: ‘int’, first_line: ‘int’, last_line: ‘int’, message: ‘str’)
batch_number: int
first_line: int
last_line: int
message: str
class yandex_cloud_ml_sdk._types.batch.task_info.LineErrorInfo
LineErrorInfo(line_number: ‘int’, message: ‘str’)
line_number: int
message: str
class yandex_cloud_ml_sdk._types.batch.status.BatchTaskStatus
UNKNOWN = -1
STATUS_UNSPECIFIED = 0
CREATED = 1
PENDING = 2
IN_PROGRESS = 3
COMPLETED = 4
FAILED = 5
CANCELED = 6
property is_running: bool
Check if operation execution is still in progress.
property is_succeeded: bool
Check if operation execution completed successfully.
property is_failed: bool
Check if operation execution failed.
property is_finished: bool
Check if operation execution finished.
property status_name: str
Get operation execution status name.
__new__(value)
conjugate()
Returns self, the complex conjugate of any int.
bit_length()
Number of bits necessary to represent self in binary.
>>> bin(37)
'0b100101'
>>> (37).bit_length()
6
bit_count()
Number of ones in the binary representation of the absolute value of self.
Also known as the population count.
>>> bin(13)
'0b1101'
>>> (13).bit_count()
3
as_integer_ratio()
Return a pair of integers, whose ratio is equal to the original int.
The ratio is in lowest terms and has a positive denominator.
>>> (10).as_integer_ratio()
(10, 1)
>>> (-10).as_integer_ratio()
(-10, 1)
>>> (0).as_integer_ratio()
(0, 1)
is_integer()
Returns True. Exists for duck type compatibility with float.is_integer.
real
the real part of a complex number
imag
the imaginary part of a complex number
numerator
the numerator of a rational number in lowest terms
denominator
the denominator of a rational number in lowest terms
__init__(*args, **kwds)