# machine_learning.rl ## Class Hidden ```text A Hidden object rapresents a object that is not visibile to machine learning algorithms. For example a machine learning algorithms learning to play black jack should not have access to the deck of cards, so it can be wrapped into a hidden to achieve that effect ``` ### Fields - `T value` ### Methods - **Function**: `assign(T content) ` ## Class HiddenInformation ### Fields - `T value` - `Int owner` ### Methods - **Function**: `assign(T content) ` ## Free Functions - **Function**: `write_in_observation_tensor(Hidden obj, Int observer_id, Vector output, Int index) ` ```text since the underlying object is hidden, this function does nothing. ``` - **Function**: `size_as_observation_tensor(Hidden obj) -> Int` ```text since the underlying object is hidden, always returns zero ``` - **Function**: `append_to_vector(Hidden to_add, Vector output) ` - **Function**: `parse_from_vector(Hidden to_add, Vector output, Int index) -> Bool` - **Function**: `append_to_string(Hidden to_add, String output) ` - **Function**: `parse_string(Hidden to_add, String input, Int index) -> Bool` - **Function**: `write_in_observation_tensor(HiddenInformation obj, Int observer_id, Vector output, Int index) ` - **Function**: `size_as_observation_tensor(HiddenInformation obj) -> Int`