Problems with mackey example
See original GitHub issueHere is what i’ve found: 1.
if dtype == torch.double:
data = np.loadtxt('../../datasets/mg17.csv', delimiter=',', dtype=np.float64)
elif dtype == torch.float:
data = np.loadtxt('../../datasets/mg17.csv', delimiter=',', dtype=np.float32)
Here are wrong pathes to dataset since it’s in the same directory so it should be
if dtype == torch.double:
data = np.loadtxt('datasets/mg17.csv', delimiter=',', dtype=np.float64)
elif dtype == torch.float:
data = np.loadtxt('datasets/mg17.csv', delimiter=',', dtype=np.float32)
- Next.
X_data = np.expand_dims(data[:, [0]], axis=1)
Y_data = np.expand_dims(data[:, [1]], axis=1)
I guess it should be
X_data = np.expand_dims(data[:, [1]], axis=1)
Y_data = np.expand_dims(data[:, [0]], axis=1)
or am i wrong? 3. When launching with these fixes i’m getting
Training error: 0.051316608186617714 Test error: 0.052949286276803606
It’s quite big. Moreover, when i’m trying to make plot to compare real and output i’m getting following picture on “test” data
5000 test outputs
Closer look (100 outputs)
Am i doing something wrong?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
The Mackey topology problem: A complete solution for ...
We show that the Mackey topologies exist in the class LIN 2 of linearly topologized Hausdorff groups and we give a complete description...
Read more >On the Mackey problem for free abelian topological groups
In this note we considerably extend this example by showing that the free abelian topological group A(X) over a non-discrete zero-dimensional ...
Read more >A Guide to Mackey Functors
A Mackey functor is an algebraic structure possessing operations which behave like the induction, restriction and conjugation mappings in group representation ...
Read more >The Mackey Problem for the Compact-Open Topology
are Mackey spaces, except by virtue of some formally stronger property (such as metrizable, barrelled, or bornological). A well-known example of Conway ......
Read more >Mackey-Glass equation
The Mackey-Glass equation is the nonlinear time delay differential ... the equation's development, and some open problems are explored.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, I see your point now! The dataset is the problem, second column is wrong. I don’t how it happened. I will fix the repo ASAP, in the meantime, try this file: https://gist.github.com/stefanonardo/e216b13b21d07d31ca557058028c1198
Great. That worked. Thanks