Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hey, I'Ve Spun Up Clearml Serving Using The Example Here:

Hey, i've spun up ClearML Serving using the example here: None
When running curl -X POST " None " -H "accept: application/json" -H "Content-Type: application/json" -d '{"x0": 1, "x1": 2}' I get:

{
  "detail":"Error processing request: Expected 2D array, got scalar array instead:
  array={'x0': 1, 'x1': 2}
  Reshape your data either using array.reshape(-1, 1) or if your data has a single feature or array.reshape(1, -1) if it contains a single sample."
}

The logs show the following warning:
/usr/local/lib/python3.9/site-packages/sklearn/base.py:329: UserWarning: Trying to unpickle estimator LogisticRegression from version 1.1.1 when using version 1.0.2. This might lead to breaking code or invalid results. Use at your own risk.

  
  
Posted 2 years ago
Votes Newest

Answers


Nevermind, i messed up the preprocessing

  
  
Posted 2 years ago
1K Views
1 Answer
2 years ago
2 years ago
Tags