This repository was archived by the owner on Dec 8, 2024. It is now read-only.
Commit 2b46207
Silvia
Develop (#98)
* Corrected small bug in predict function
* Started updating so that model can be trained after its been reloaded
* Minor modifications
* Updated model so one can predict from xyz and disabled shuffling in training because it leads to a problem with predictions
* Fix for the problem of shuffling
* Added some tests to make sure the predictions work
* Fixed a tensorboard problem
* The saving of the model doesn't cause an error if the directory already exists
* Fixed a bug that made a test fail
* Modified the name of a parameter
* Made modifications to make te symmetry functions more numerically stable
* Added a hack that makes ARMP work with fortran ACSF when there are padded representations. Currently works *ONLY* when there is one molecule for the whole data set.
* corrected bug in score function for padded molecules
* Changes that make the model work quickly even when there is padding.
* Fixed discrepancies between fortran and TF acsf
* Corrected bug in setting of ACSF parameters
* Attempt at fixing issue #10
* another attempt at fixing #10
* Removed a pointless line
* set-up
* Added the graceful killer
* Modifications which prevent installation from breaking on BC4
* Modification to add neural networks to qmlearn
* Fix for issue #8
* Random comment
* Started including the atomic model
* Made the atomic neural network work
* Fixed a bug with the indices
* Now training and predictions don't use the default graph, to avoid problems
* uncommented examples
* Removed unique_elements in data class
This can be stored in the NN class, but I might reverse the change later
* Made tensorflow an optional dependency
The reason for this approach is that pip would just auto install tensorflow and you might want the gpu version or your own compiled one.
* Made is_numeric non-private and removed legacy code
* Added 1d array util function
* Removed QML check and moved functions from utils to tf_utils
* Support for linear models (no hidden layers)
* fixed import bug in tf_utils
* Added text to explain that you are scoring on training set
* Restructure.
But elements are still not working
Sorted elements
* Moved documentation from init to class
* Constant features will now be removed at fit/predict time
* Moved get_batch_size back into utils, since it doesn't depend on tf
* Made the NeuralNetwork class compliant with sklearn
Cannot be any transforms of the input data
* Fixed tests that didn't pass
* Fixed mistake in checks of set_classes() in ARMP
* started fixing ARMP bugs for QM7
* Fixed bug in padding and added examples that give low errors
* Attempted fix to make representations single precision
* Hot fix for AtomScaler
* Minor bug fixes
* More bug fixes to make sure tests run
* Fixed some tests that had failures
* Reverted the fchl tests to original
* Fixed path in acsf test
* Readded changes to tests
* Modifications after code review
* Version with the ACSF basis functions starting at 0.8 A
* Updated ACSF representations so that the minimum distance at which to start the binning can be set by the user
* Modified the name of the new parameter (minimum distance of the binning in ACSF)1 parent 2c9c7b7 commit 2b46207
7 files changed
Lines changed: 46 additions & 30 deletions
File tree
- qml
- aglaia
- data
- representations
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
594 | 594 | | |
595 | 595 | | |
596 | 596 | | |
597 | | - | |
| 597 | + | |
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
845 | 849 | | |
846 | 850 | | |
847 | 851 | | |
| |||
1695 | 1699 | | |
1696 | 1700 | | |
1697 | 1701 | | |
1698 | | - | |
| 1702 | + | |
| 1703 | + | |
1699 | 1704 | | |
1700 | 1705 | | |
1701 | 1706 | | |
| |||
1765 | 1770 | | |
1766 | 1771 | | |
1767 | 1772 | | |
1768 | | - | |
| 1773 | + | |
| 1774 | + | |
1769 | 1775 | | |
1770 | 1776 | | |
1771 | 1777 | | |
| |||
2121 | 2127 | | |
2122 | 2128 | | |
2123 | 2129 | | |
2124 | | - | |
| 2130 | + | |
2125 | 2131 | | |
2126 | 2132 | | |
2127 | 2133 | | |
| |||
2423 | 2429 | | |
2424 | 2430 | | |
2425 | 2431 | | |
2426 | | - | |
| 2432 | + | |
| 2433 | + | |
2427 | 2434 | | |
2428 | 2435 | | |
2429 | 2436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | | - | |
210 | | - | |
| 210 | + | |
| 211 | + | |
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
418 | | - | |
419 | | - | |
| 420 | + | |
| 421 | + | |
420 | 422 | | |
421 | 423 | | |
422 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
324 | | - | |
325 | | - | |
| 326 | + | |
| 327 | + | |
326 | 328 | | |
327 | 329 | | |
328 | 330 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | | - | |
| 552 | + | |
| 553 | + | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
| 579 | + | |
| 580 | + | |
579 | 581 | | |
580 | 582 | | |
581 | 583 | | |
582 | 584 | | |
583 | 585 | | |
584 | 586 | | |
585 | | - | |
586 | | - | |
| 587 | + | |
| 588 | + | |
587 | 589 | | |
588 | 590 | | |
589 | 591 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
| |||
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
116 | | - | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | | - | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
| |||
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
133 | | - | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
131 | | - | |
| 132 | + | |
132 | 133 | | |
133 | 134 | | |
134 | 135 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
145 | | - | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | | - | |
| 163 | + | |
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| |||
0 commit comments