-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi output regression #254
Comments
Could you please share a Keras example for Deep Q Learning with multiple outputs for regression, hope to fix it in the 0.4 or 0.5 release of KotlinDL |
Thanks for your reply! This is a really common approach for implementing a deep Q network: |
Thanks for the example you gave me. |
Added a note for a possible solution to this problem: the following example should work. The current OnHeapDataset supports only OnHeapDataset could have two constructors: with FloatArray and Array |
I would like to use the kotlindl library for a deep-q-learning task, but am currently struggling with exactly this issue. Are there any plans to extend the dataset definition as outlined by @zaleslaw in #254 (comment) in the near future to make this possible? |
Is it currently possible to perform a regression with multiple outputs. I.e a single instance of the dataset looks as follows:
x = [0.7,0.6,0.3]
y = [0.2,0.3]
This would seem impossible given the current design of the Dataset interface where the y value always consists of a single float.
A possible use case is using a neural network for predicting q values in reinforcement learning (Deep q learning). The keras API currently allows this.
The text was updated successfully, but these errors were encountered: