hive.agents.qnets.base module
- class hive.agents.qnets.base.FunctionApproximator[source]
Bases:
Registrable
A wrapper for callables that produce function approximators.
For example,
FunctionApproximator(create_neural_network)
orFunctionApproximator(MyNeuralNetwork)
wherecreate_neural_network
is a function that creates a neural network module andMyNeuralNetwork
is a class that defines your function approximator.These wrapped callables can be partially initialized through configuration files or command line arguments.