Files
kserve/test/e2e/data/sklearn_mixed_v2.json
947e3ebefc Support mixed input type for kserve python runtimes (#2789)
* Added v2 support and e2e test cases for pmml, sklearn, paddle, lgb and xgb.

Signed-off-by: Suresh-Nakkeran <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* Added v2 grpc/http with multiple input support for sklearn, lgb, xgb, paddle.

Signed-off-by: Suresh-Nakkeran <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* added e2e test for mixed input

Signed-off-by: Suresh Nakkeran <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* Fixed pmml mixed type output and added grpc e2e test for pmml

Signed-off-by: Suresh-Nakkeran <[email protected]>
Signed-off-by: Dan Sun <[email protected]>

* handle pandas as inputs/outputs

Signed-off-by: Dan Sun <[email protected]>

* fix test marker

Signed-off-by: Dan Sun <[email protected]>

* Fix paddle np conversion

Signed-off-by: Dan Sun <[email protected]>

* Move as_dataframe to infer_type

Signed-off-by: Dan Sun <[email protected]>

---------

Signed-off-by: Suresh-Nakkeran <[email protected]>
Signed-off-by: Dan Sun <[email protected]>
Signed-off-by: Suresh Nakkeran <[email protected]>
Co-authored-by: Dan Sun <[email protected]>
2023-04-09 07:37:49 -07:00

88 lines
1.3 KiB
JSON

{
"parameters": {
"content_type": "pd"
},
"inputs": [
{
"name": "MSZoning",
"shape": [1],
"datatype": "BYTES",
"data": [
"RL"
]
},
{
"name": "LotArea",
"shape": [1],
"datatype": "INT32",
"data": [
8450
]
},
{
"name": "LotShape",
"shape": [1],
"datatype": "BYTES",
"data": [
"Reg"
]
},
{
"name": "Utilities",
"shape": [1],
"datatype": "BYTES",
"data": [
"AllPub"
]
},
{
"name": "YrSold",
"shape": [1],
"datatype": "INT32",
"data": [
2008
]
},
{
"name": "Neighborhood",
"shape": [1],
"datatype": "BYTES",
"data": [
"CollgCr"
]
},
{
"name": "OverallQual",
"shape": [1],
"datatype": "INT32",
"data": [
7
]
},
{
"name": "YearBuilt",
"shape": [1],
"datatype": "INT32",
"data": [
2003
]
},
{
"name": "SaleType",
"shape": [1],
"datatype": "BYTES",
"data": [
"WD"
]
},
{
"name": "GarageArea",
"shape": [1],
"datatype": "INT32",
"data": [
548
]
}
]
}