Comments (2)
Hi Robin,
Happy to hear espsim is useful to you! You can use the joblib library to parallelize over function calls. E.g. if you want to compute something over a large dataset, instead of
results = [f(x) for x in large_dataset]
you could do
from joblib import Parallel, delayed
results = Parallel(n_jobs=8, verbose=1)(delayed(f)(x) for x in large_dataset)
to parallelize over 8 cores (or any other number you want). You can use any function, e.g. GetEspSim, or EmbedAlignConstrainedScore, etc. You can check out the benchmarks 3 and 4 in the benchmarks folder to see examples.
from espsim.
This is a great solution, thank you so much!
Kind regards,
Robin
from espsim.
Related Issues (19)
- Vectorizing `GaussianInt` speed up HOT 4
- Trouble while installing in Google Colab HOT 5
- import model HOT 2
- Git tag or pypi release HOT 10
- Stochastic results HOT 1
- Package versions not included in environment.yml file HOT 3
- When viewing aligned conformations how to select the best aligned? HOT 2
- Fails to install HOT 4
- error when using `psi4/resp`: `Fatal Error: RHF: RHF reference is only for singlets.` HOT 3
- how to generate figure 10 HOT 2
- ML partial charges HOT 2
- substructure similarity HOT 1
- New use case - comparison of docking poses HOT 3
- Origin of Pre-Computed Co-efficients HOT 6
- conda pakage HOT 4
- Psi4 error HOT 3
- DM21 integration HOT 2
- ESP similarity formala intuition 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 espsim.