Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data RecommendationMetrics = RecommendationMetrics' {}
- newRecommendationMetrics :: Double -> Double -> Int -> Int -> RecommendationMetrics
- recommendationMetrics_costPerHour :: Lens' RecommendationMetrics Double
- recommendationMetrics_costPerInference :: Lens' RecommendationMetrics Double
- recommendationMetrics_maxInvocations :: Lens' RecommendationMetrics Int
- recommendationMetrics_modelLatency :: Lens' RecommendationMetrics Int
Documentation
data RecommendationMetrics Source #
The metrics of recommendations.
See: newRecommendationMetrics
smart constructor.
RecommendationMetrics' | |
|
Instances
newRecommendationMetrics Source #
:: Double | |
-> Double | |
-> Int | |
-> Int | |
-> RecommendationMetrics |
Create a value of RecommendationMetrics
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:costPerHour:RecommendationMetrics'
, recommendationMetrics_costPerHour
- Defines the cost per hour for the instance.
$sel:costPerInference:RecommendationMetrics'
, recommendationMetrics_costPerInference
- Defines the cost per inference for the instance .
$sel:maxInvocations:RecommendationMetrics'
, recommendationMetrics_maxInvocations
- The expected maximum number of requests per minute for the instance.
$sel:modelLatency:RecommendationMetrics'
, recommendationMetrics_modelLatency
- The expected model latency at maximum invocation per minute for the
instance.
recommendationMetrics_costPerHour :: Lens' RecommendationMetrics Double Source #
Defines the cost per hour for the instance.
recommendationMetrics_costPerInference :: Lens' RecommendationMetrics Double Source #
Defines the cost per inference for the instance .
recommendationMetrics_maxInvocations :: Lens' RecommendationMetrics Int Source #
The expected maximum number of requests per minute for the instance.
recommendationMetrics_modelLatency :: Lens' RecommendationMetrics Int Source #
The expected model latency at maximum invocation per minute for the instance.