deepdrivemd.agents.lof.config

pydantic settings deepdrivemd.agents.lof.config.OutlierDetectionConfig

Outlier detection algorithm configuration.

Show JSON schema
{
   "title": "OutlierDetectionConfig",
   "description": "Outlier detection algorithm configuration.",
   "type": "object",
   "properties": {
      "experiment_directory": {
         "title": "Experiment Directory",
         "default": "set_by_deepdrivemd",
         "env_names": "{'experiment_directory'}",
         "type": "string",
         "format": "path"
      },
      "stage_idx": {
         "title": "Stage Idx",
         "default": 0,
         "env_names": "{'stage_idx'}",
         "type": "integer"
      },
      "task_idx": {
         "title": "Task Idx",
         "default": 0,
         "env_names": "{'task_idx'}",
         "type": "integer"
      },
      "output_path": {
         "title": "Output Path",
         "default": "set_by_deepdrivemd",
         "env_names": "{'output_path'}",
         "type": "string",
         "format": "path"
      },
      "node_local_path": {
         "title": "Node Local Path",
         "default": "set_by_deepdrivemd",
         "env_names": "{'node_local_path'}",
         "type": "string",
         "format": "path"
      },
      "num_intrinsic_outliers": {
         "title": "Num Intrinsic Outliers",
         "default": 100,
         "env_names": "{'num_intrinsic_outliers'}",
         "type": "integer"
      },
      "num_extrinsic_outliers": {
         "title": "Num Extrinsic Outliers",
         "default": 100,
         "env_names": "{'num_extrinsic_outliers'}",
         "type": "integer"
      },
      "intrinsic_score": {
         "title": "Intrinsic Score",
         "default": "lof",
         "env_names": "{'intrinsic_score'}",
         "type": "string"
      },
      "extrinsic_score": {
         "title": "Extrinsic Score",
         "env_names": "{'extrinsic_score'}",
         "type": "string"
      },
      "n_traj_frames": {
         "title": "N Traj Frames",
         "default": 200,
         "env_names": "{'n_traj_frames'}",
         "type": "integer"
      },
      "n_most_recent_h5_files": {
         "title": "N Most Recent H5 Files",
         "default": 10,
         "env_names": "{'n_most_recent_h5_files'}",
         "type": "integer"
      },
      "k_random_old_h5_files": {
         "title": "K Random Old H5 Files",
         "default": 0,
         "env_names": "{'k_random_old_h5_files'}",
         "type": "integer"
      },
      "sklearn_num_jobs": {
         "title": "Sklearn Num Jobs",
         "default": -1,
         "env_names": "{'sklearn_num_jobs'}",
         "type": "integer"
      },
      "model_type": {
         "title": "Model Type",
         "default": "AAE3d",
         "env_names": "{'model_type'}",
         "type": "string"
      },
      "inference_batch_size": {
         "title": "Inference Batch Size",
         "default": 128,
         "env_names": "{'inference_batch_size'}",
         "type": "integer"
      }
   }
}

Config
  • extra: str = allow

Fields
Validators
field extrinsic_score: Optional[str] = None
Validated by
field inference_batch_size: int = 128
Validated by
field intrinsic_score: Optional[str] = 'lof'
Validated by
field k_random_old_h5_files: int = 0
Validated by
field model_type: str = 'AAE3d'
Validated by
field n_most_recent_h5_files: int = 10
Validated by
field n_traj_frames: int = 200
Validated by
field num_extrinsic_outliers: int = 100
Validated by
field num_intrinsic_outliers: int = 100
Validated by
field sklearn_num_jobs: int = -1
Validated by
validator model_type_check  »  model_type
validator num_outliers_check  »  all fields
validator scoring_method_check  »  all fields