Comments (1)
Sorry for the late reply. The code that is reported as error is the mean absolute error, see:
diff = computed_values - self.placeholders['target_values'][internal_id,:]
task_target_mask = self.placeholders['target_mask'][internal_id,:]
task_target_num = tf.reduce_sum(task_target_mask) + SMALL_NUMBER
diff = diff * task_target_mask # Mask out unused values
self.ops['accuracy_task%i' % task_id] = tf.reduce_sum(tf.abs(diff)) / task_target_num
(cf. https://github.com/microsoft/gated-graph-neural-network-samples/blob/master/chem_tensorflow.py#L158)
The loss itself is half of the mean squared error (tf.reduce_sum(0.5 * tf.square(diff)) / task_target_num
).
from gated-graph-neural-network-samples.
Related Issues (14)
- Where can we got the pytorch version? HOT 3
- UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. HOT 1
- Do you use GPU for training? HOT 2
- How to use the trained models? HOT 5
- Can I use float rather than int in the graph? HOT 3
- Unable to wget the sample data HOT 2
- Dense for small graph? HOT 1
- Chemical accuracy values HOT 2
- Please explain comments like ' # [b x v x h]' HOT 4
- where are the gates during propagation HOT 5
- Explaining data in .json files HOT 2
- It seems strange to set the lowest value of valid accuracy as the best result. HOT 2
- tying layers HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gated-graph-neural-network-samples.