Fix #3726 - Remove mlmodel custom defs (#3728)

This commit is contained in:
Pere Miquel Brull 2022-03-29 10:01:36 +02:00 committed by GitHub
parent 3b7b65d46c
commit e830f1787f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 23 deletions

View File

@ -33,7 +33,7 @@
}, },
"target": { "target": {
"description": "For supervised ML Models, the value to estimate.", "description": "For supervised ML Models, the value to estimate.",
"$ref": "../../entity/data/mlmodel.json#/definitions/featureName" "$ref": "../../type/basic.json#/definitions/entityName"
}, },
"mlHyperParameters": { "mlHyperParameters": {
"description": "Hyper Parameters used to train the ML Model.", "description": "Hyper Parameters used to train the ML Model.",

View File

@ -35,22 +35,6 @@
"boolean" "boolean"
] ]
}, },
"featureName": {
"description": "Local name (not fully qualified name) of the ML Feature.",
"$ref": "../../type/basic.json#/definitions/entityName"
},
"featureSourceName": {
"description": "Local name (not fully qualified name) of a ML Feature source.",
"$ref": "../../type/basic.json#/definitions/entityName"
},
"fullyQualifiedFeatureSourceName": {
"description": "Fully qualified name of the ML Feature Source that includes `serviceName.[databaseName].tableName/fileName/apiName.columnName[.nestedColumnName]`.",
"$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
},
"fullyQualifiedFeatureName": {
"description": "Fully qualified name of the ML Feature that includes `modelName.featureName`.",
"$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
},
"featureSource": { "featureSource": {
"type": "object", "type": "object",
"javaType": "org.openmetadata.catalog.type.MlFeatureSource", "javaType": "org.openmetadata.catalog.type.MlFeatureSource",
@ -58,7 +42,7 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
"$ref": "#/definitions/featureSourceName" "$ref": "../../type/basic.json#/definitions/entityName"
}, },
"dataType": { "dataType": {
"description": "Data type of the source (int, date etc.).", "description": "Data type of the source (int, date etc.).",
@ -69,7 +53,7 @@
"type": "string" "type": "string"
}, },
"fullyQualifiedName": { "fullyQualifiedName": {
"$ref": "#/definitions/fullyQualifiedFeatureSourceName" "$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
}, },
"dataSource": { "dataSource": {
"description": "Description of the Data Source (e.g., a Table).", "description": "Description of the Data Source (e.g., a Table).",
@ -92,7 +76,7 @@
"additionalProperties": false, "additionalProperties": false,
"properties": { "properties": {
"name": { "name": {
"$ref": "#/definitions/featureName" "$ref": "../../type/basic.json#/definitions/entityName"
}, },
"dataType": { "dataType": {
"description": "Data type of the column (numerical vs. categorical).", "description": "Data type of the column (numerical vs. categorical).",
@ -103,7 +87,7 @@
"type": "string" "type": "string"
}, },
"fullyQualifiedName": { "fullyQualifiedName": {
"$ref": "#/definitions/fullyQualifiedFeatureName" "$ref": "../../type/basic.json#/definitions/fullyQualifiedEntityName"
}, },
"featureSources": { "featureSources": {
"description": "Columns used to create the ML Feature.", "description": "Columns used to create the ML Feature.",
@ -209,7 +193,7 @@
}, },
"target": { "target": {
"description": "For supervised ML Models, the value to estimate.", "description": "For supervised ML Models, the value to estimate.",
"$ref": "#/definitions/featureName" "$ref": "../../type/basic.json#/definitions/entityName"
}, },
"dashboard": { "dashboard": {
"description": "Performance Dashboard URL to track metric evolution.", "description": "Performance Dashboard URL to track metric evolution.",

View File

@ -7,5 +7,5 @@ Provides metadata version information.
from incremental import Version from incremental import Version
__version__ = Version("metadata", 0, 9, 0, dev=6) __version__ = Version("metadata", 0, 9, 0, dev=7)
__all__ = ["__version__"] __all__ = ["__version__"]