'Is there a way to input a numeric data in cnn and the output is also regression?

Currently I am working in a project where I predict the future gold prices using cnn method. I have been searching for a way so that I can use numbers as input (historical prices) and I need to get the output in a regression not classification. I searched everywhere for the past few months but I found it hard to understand. If someone can assist me with a way for that please I would be grateful.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source