Ich brauche einige Coulomb-Matrizen von Molekülen für eine maschinelle Lernaufgabe. Coulomb-Matrix? Hier ist eine paper BeschreibungWie erstellt man Coulomb Matrix mit Python?
Ich fand das Python-Paket molml, die eine Methode dafür hat. Jedoch kann ich nicht herausfinden, wie man die API nur für ein einzelnes Molekül verwendet. In allen examples stellen sie die Methode dar, die mit zwei Molekülen bezeichnet wird, warum?
Wie das Beispiel des Verfahrens sieht vor:
H2 = (['H', 'H'],
[[0.0, 0.0, 0.0],
[1.0, 0.0, 0.0]])
HCN = (['H', 'C', 'N'],
[[-1.0, 0.0, 0.0],
[ 0.0, 0.0, 0.0],
[ 1.0, 0.0, 0.0]])
feat.transform([H2, HCN])
Ich brauche etwas wie folgt aus:
atomnames = [list of atomsymbols]
atomcoords = [list of [x,y,z] for the atoms]
coulombMatrice = CoulombMatrix((atomnames,atomcoords)
ich auch eine andere lib (QML) wich verspricht die Möglichkeit, Coulomb-Matrizen zu erzeugen, sondern, Ich bin nicht in der Lage, es unter Windows zu installieren, weil es von Linux GCC-Fortran Compilern abhängt, ich habe bereits cygwin und GCC-Fortran für diesen Zweck installiert.
Danke, Jungs