> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edgeimpulse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# edgeimpulse_api.models.project_dataset_metadata_common_ratio

## Classes

### ProjectDatasetMetadataCommonRatio

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio(
	**data: Any
)
```

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

| Parameters | |
| - | - |
| `**data` | `Any` |

| Bases |
| - |
| `pydantic.v1.main.BaseModel` |
| `pydantic.v1.utils.Representation` |

| Class variables | |
| - | - |
| `Config` | ` ` |
| `actual_instance` | `Any` |
| `one_of_schemas` | `List[str]` |
| `oneof_schema_1_validator` | `edgeimpulse_api.models.project_dataset_metadata_ratio_no_ratio.ProjectDatasetMetadataRatioNoRatio \| None` |
| `oneof_schema_2_validator` | `edgeimpulse_api.models.project_dataset_metadata_ratio_classes.ProjectDatasetMetadataRatioClasses \| None` |
| `oneof_schema_3_validator` | `edgeimpulse_api.models.project_dataset_metadata_ratio_regression.ProjectDatasetMetadataRatioRegression \| None` |

***

**STATIC METHODS**

#### actual\_instance\_must\_validate\_oneof

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio.actual_instance_must_validate_oneof(
	v
)
```

| Parameters | |
| - | - |
| `v` | ` ` |

#### from\_dict

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio.from_dict(
	obj: dict
) ‑> edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio
```

| Parameters | |
| - | - |
| `obj` | `dict` |

| Returns |
| - |
| `edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio` |

#### from\_json

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio.from_json(
	json_str: str
) ‑> edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio
```

Returns the object represented by the json string

| Parameters | |
| - | - |
| `json_str` | `str` |

| Returns |
| - |
| `edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio` |

***

**METHODS**

#### to\_dict

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio.to_dict(
	self
) ‑> dict
```

Returns the dict representation of the actual instance

| Parameters | |
| - | - |
| `self` | ` ` |

| Returns |
| - |
| `dict` |

#### to\_json

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio.to_json(
	self,
	indent=None
) ‑> str
```

Returns the JSON representation of the actual instance

| Parameters | |
| - | - |
| `self` | ` ` |
| `indent=None` | ` ` |

| Returns |
| - |
| `str` |

#### to\_str

```python theme={"system"}
edgeimpulse_api.models.project_dataset_metadata_common_ratio.ProjectDatasetMetadataCommonRatio.to_str(
	self
) ‑> str
```

Returns the string representation of the actual instance

| Parameters | |
| - | - |
| `self` | ` ` |

| Returns |
| - |
| `str` |
