@@ -61,13 +61,13 @@ To use the QUESTS package to create descriptors and compute entropies, you can u
6161``` python
6262from ase.io import read
6363from quests.descriptor import get_descriptors
64- from quests.entropy import perfect_entropy , diversity
64+ from quests.entropy import entropy , diversity
6565
6666dset = read(" dataset.xyz" , index = " :" )
6767x = get_descriptors(dset, k = 32 , cutoff = 5.0 )
6868h = 0.015
6969batch_size = 10000
70- H = perfect_entropy (x, h = h, batch_size = batch_size)
70+ H = entropy (x, h = h, batch_size = batch_size)
7171D = diversity(x, h = h, batch_size = batch_size)
7272```
7373
@@ -131,14 +131,14 @@ Note that this constraint requires the descriptors to be generated using the tra
131131import torch
132132from ase.io import read
133133from quests.descriptor import get_descriptors
134- from quests.gpu.entropy import perfect_entropy
134+ from quests.gpu.entropy import entropy
135135
136136dset = read(" dataset.xyz" , index = " :" )
137137x = get_descriptors(dset, k = 32 , cutoff = 5.0 )
138138x = torch.tensor(x, device = " cuda" )
139139h = 0.015
140140batch_size = 10000
141- H = perfect_entropy (x, h = h, batch_size = batch_size)
141+ H = entropy (x, h = h, batch_size = batch_size)
142142```
143143
144144#### Computing overlap between datasets
0 commit comments