PredictionResult

If your game is using any predictive models (e.g. Multi-arm Bandit) or other machine learning algorithms to pull levers in your game, use this event to track the prediction related to the player. Sin

Name
Type
Select
Backend name
Description

modelName

string

Required

model_name

The name of the model which could be descriptive to its usage.

modelVersion

string

Required

model_version

The version of the model

modelInput

object

Required

model_input

JSON formatted data with model's input. The actual input can be key-value pairs or arrays depending on the model.

modelOutput

object

Required

model_output

JSON formatted result from calling the model. Either single key-value pair or multiple key-value pairs.

additionalData

Dictionary<string, object>

Optional

additional_data

Any additional information

Usage

Model details served by service. This event is track to the inputs, outputs and related information by calling a model and returned by the server. It starts tracking when the game calls the model, and fires the event when the game receives the result. If the call takes over X seconds and not getting response, we should fire this event anyway to let us know the call is failed.

Code examples:

LionAnalytics.PredictionResult("ml_model_trial_25", "0.1.25", new int[3] { 5, 4, 6 }, new int[3] { 4, 4, 4 });

Last updated