PyInteraction module

The calculation of interaction descriptors. You can choose three types of

interacation descriptors. You can freely use and distribute it. If you

hava any problem, you could contact with us timely!

Authors: Zhijiang Yao and Dongsheng Cao.

Date: 2016.06.14

Email: gadsby@163.com

PyInteraction.CalculateInteraction1(dict1={}, dict2={})[source]

Calculate the two interaction features by combining two different

features.

Usage:

res=CalculateInteraction(dict1,dict2)

Input: dict1 is a dict form containing features.

dict2 is a dict form containing features.

Output: res is a dict form containing interaction

features.

PyInteraction.CalculateInteraction2(dict1={}, dict2={})[source]

Calculate the two interaction features by combining two different

features.

Usage:

res=CalculateInteraction(dict1,dict2)

Input: dict1 is a dict form containing features.

dict2 is a dict form containing features.

Output: res is a dict form containing interaction

features.

PyInteraction.CalculateInteraction3(dict1={}, dict2={})[source]

Calculate the two interaction features by

F=[Fa(i)+Fb(i)),Fa(i)*Fb(i)] (2n)

It’s used in same type of descriptors.

Usage:

res=CalculateInteraction(dict1,dict2)

Input: dict1 is a dict form containing features.

dict2 is a dict form containing features.

Output: res is a dict form containing interaction

features.