tracebloc 7.0.2__tar.gz → 7.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tracebloc-7.0.2 → tracebloc-7.0.3}/PKG-INFO +1 -1
- {tracebloc-7.0.2 → tracebloc-7.0.3}/pyproject.toml +1 -1
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/time_to_event_utils.py +20 -4
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc.egg-info/PKG-INFO +1 -1
- {tracebloc-7.0.2 → tracebloc-7.0.3}/MANIFEST.in +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/README.md +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/license.txt +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/setup.cfg +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/api/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/api/experiment_status.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/api/multipart.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/api/responses.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/auth/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/auth/cli_profile.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/auth/env_login.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/client.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/compat/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/compat/deprecation.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/compat/frameworks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/config.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/console/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/console/logger.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/contracts/stage_urls.v1.json +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/contracts/stage_urls.v1.source.json +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/contracts/survival_payload.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/contracts/training_requirements.source.json +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/contracts/training_requirements.txt +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/acceptance.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/hf/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/hf/_build.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/hf/_length.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/hf/_model_type.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/tabular.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/vision/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/families/vision/_matching.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/gate.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/heads.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/interfaces.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/licence/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/licence/spdx.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/outputs.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/arguments.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/assemble.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/checkpoint.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/gate_rules.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/generate.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/head.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/import_check.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/layer0.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/live.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/model_class.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/remote.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/repo.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/shake.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/owncode/source_tree.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/package.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/package_folder.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/padding.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/report.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/tokenizers.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/convert/training_versions.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/base.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/detection.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/keypoint_detection.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/semantic_segmentation.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/tabular.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/text.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/time_series.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/datasets/time_to_event.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/downloads/lifelines_weights.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/downloads/seed_weights.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/exceptions.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/fetch.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/inference.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/answer.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/augmentation_methods.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/check_model.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/conversion.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/data_methods.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/library.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/link_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/model_dataset.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/regeneration.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/response.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/stored.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/training_methods.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/upload_methods.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/linking/user_methods.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/_partials.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/embeddings.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/nlp_finetune.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/nlp_generative.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/survival.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/tabular_timeseries.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/notebook/templates/vision_from_scratch.tpl +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/py.typed +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/classes.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/declaration.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/fitted_model.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/frame_recording.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/link_check.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/pairs.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/schema.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/seed_prefixes.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/sklearn_check.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/survival.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/torch_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/raw_mode/width_note.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/augmentation.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/callbacks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/converted.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/features.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/image_channels.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/image_size.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/link_total.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/lora.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/lora_validation.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/loss.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/loss_policy.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/loss_source.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/memory_estimate.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/memory_sizing.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/plan.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/preprocessing.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/shape.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/subdataset.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/submitter.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/training/summary.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/lifelines_time_to_event.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/loss_config.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/model_params.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/model_upload.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/nlp_probes.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/scikit_survival_time_to_event.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/skl_tabular_base.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/skl_tabular_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/skl_tabular_regression.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/statistical_base.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/survival_base.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_causal_language_modeler.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_embeddings.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_handler.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_image_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_key_point_detector.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_masked_language_modeler.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_multi_label_text_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_nlp_base.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_object_detector.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_semantic_segmentation.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_sentence_pair_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_seq2seq_modeler.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_smoke_loop.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_tabular_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_tabular_regression.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_text_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_text_regressor.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_time_series_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_time_series_forecaster.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_time_to_event.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/torch_token_classifier.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/weights_averaging.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/weights_check.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/upload/weights_parts.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/user.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/class_order.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/constants.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/custom_loss_probe.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/data_probes.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/declared_classes.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/declared_cls.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/detection_utils.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/device.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/entry_point.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/errors.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/feature_dict.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/loss_shape.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/model_loading.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/model_params.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/nlp_model_probes.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/peak_memory.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/registry.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/resources.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/safetensors_io.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/sequence_length.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/staging.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/synthetic_self_supervised.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/synthetic_text.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/tabular_classification_utils.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/tabular_custom_loss_utils.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/tabular_regression_utils.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/time_series_utils.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/tokenizer_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/warnings_once.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/weight_loaders.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/utils/weights_caps.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/__init__.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/checker.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/estimator_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/header_rules.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/lifelines_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/pytorch_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/rewriter.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/scikit_survival_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc/validation/sklearn_checks.py +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc.egg-info/SOURCES.txt +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc.egg-info/dependency_links.txt +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc.egg-info/requires.txt +0 -0
- {tracebloc-7.0.2 → tracebloc-7.0.3}/tracebloc.egg-info/top_level.txt +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tracebloc"
|
|
7
|
-
version = "7.0.
|
|
7
|
+
version = "7.0.3"
|
|
8
8
|
description = "Build AI with anyone. On data that can't move. SDK for the tracebloc collaborative AI workspace."
|
|
9
9
|
license = "MIT"
|
|
10
10
|
license-files = ["license.txt"]
|
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
from typing import Any, cast
|
|
1
|
+
from typing import TYPE_CHECKING, Any, cast
|
|
2
2
|
|
|
3
3
|
import numpy as np
|
|
4
4
|
import pandas as pd # pyright: ignore[reportMissingTypeStubs]
|
|
5
|
-
from torch.utils.data import DataLoader
|
|
6
5
|
|
|
6
|
+
if TYPE_CHECKING:
|
|
7
|
+
from torch.utils.data import DataLoader
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
|
|
10
|
+
def __getattr__(name: str) -> Any:
|
|
11
|
+
# Keeps the old import path for TimeToEventDataset without importing torch
|
|
12
|
+
# when this module loads.
|
|
13
|
+
if name == "TimeToEventDataset":
|
|
14
|
+
from tracebloc.datasets.time_to_event import TimeToEventDataset
|
|
15
|
+
|
|
16
|
+
return TimeToEventDataset
|
|
17
|
+
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
|
|
9
18
|
|
|
10
19
|
|
|
11
20
|
def generate_time_to_event_data(
|
|
@@ -51,7 +60,7 @@ def get_time_to_event_dataloader(
|
|
|
51
60
|
num_samples: int = 50,
|
|
52
61
|
num_feature_points: int = 69,
|
|
53
62
|
batch_size: int = 4,
|
|
54
|
-
) -> DataLoader[Any]:
|
|
63
|
+
) -> "DataLoader[Any]":
|
|
55
64
|
"""
|
|
56
65
|
Create a DataLoader for time-to-event prediction testing.
|
|
57
66
|
|
|
@@ -63,6 +72,13 @@ def get_time_to_event_dataloader(
|
|
|
63
72
|
Returns:
|
|
64
73
|
DataLoader with time-to-event data (features, duration, event)
|
|
65
74
|
"""
|
|
75
|
+
# torch is imported at call time so that importing this module, and with it
|
|
76
|
+
# the lifelines and scikit-survival upload handlers, works without torch;
|
|
77
|
+
# only the torch handler calls this.
|
|
78
|
+
from torch.utils.data import DataLoader
|
|
79
|
+
|
|
80
|
+
from tracebloc.datasets.time_to_event import TimeToEventDataset
|
|
81
|
+
|
|
66
82
|
data_features, duration, event = generate_time_to_event_data(
|
|
67
83
|
num_samples=num_samples,
|
|
68
84
|
num_feature_points=num_feature_points,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|