You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- $\begingroup$ First thing I'd check is your activation function, if your output is with a sigmoid output your output is bounded between -1 and 1, for relu it is >0, so that cound explain why your NN is worse than your input. another thing to check is how you framed your problem. Usually normalizing your (input, output) relatively to the naive guess gives better result (In your case I would substract from your input the last value, and predict the difference between your true target and the last input value). To give a proper answer though I think it would be best if you provided some code if you can. $\endgroup$mprouveur– mprouveur2020-09-18 11:45:47 +00:00Commented Sep 18, 2020 at 11:45
- $\begingroup$ Thank you for your help! I try 4 different activation functions in the grid search including identity (see edit). The code is quite long and complicated. Are you interested in a specific section? I will gladly post it. $\endgroup$Mark– Mark2020-09-18 12:13:27 +00:00Commented Sep 18, 2020 at 12:13
- $\begingroup$ Yout network definition/GridSearch would be great, as well as one sample of your dataset (like 1 row of your X_train) I think that would help me and others better contribute to your issue $\endgroup$mprouveur– mprouveur2020-09-18 12:28:05 +00:00Commented Sep 18, 2020 at 12:28
- $\begingroup$ Note about the scaling of the feature matrix : my second suggestion is not about scaling features but more about predicting the difference rather than a raw value ( if the NN is random that should at least give your baseline's results). that would be asuivalent I think to a Y = Y - X[:, -1] and X = X - X[:, -1] $\endgroup$mprouveur– mprouveur2020-09-18 12:30:33 +00:00Commented Sep 18, 2020 at 12:30
- $\begingroup$ I have added the code and an example for a feature set wih the corresponding target value. I try to predict residuals which were generated by removing a priori models. Do you still recommend to work with the difference? $\endgroup$Mark– Mark2020-09-18 13:06:35 +00:00Commented Sep 18, 2020 at 13:06
Add a comment |
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. machine-learning), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you