import deepchem as dc
See original GitHub issueCurrently deepchem
suffers from a glut of long imports. The package structure leads to long names that aren’t friendly to import or reason with. Here are some proposed changes (building on ideas in #264):
- Like
numpy
ortensorflow
, changedeepchem
import todc
. Then to import a primitive indeepchem.prim
(proposed in #264), users can saydc.prim.foo_bar(...)
- Expose all
deepchem
models indeepchem.models
. Then models can be created withmodel = dc.models.RobustMultitask(...)
for example.
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
I can't import deepchem as dc · Issue #1466 - GitHub
So, When I search conda list, I can found deepchem deepchem 2.1.1.dev243 but The other prob... ... I can't import deepchem as dc...
Read more >Installation — deepchem 2.6.2.dev documentation
Install deepchem via pip or conda by simply running, ... The nightly version is built by the HEAD of DeepChem. ... import deepchem...
Read more >Getting DeepChem running in Colab - Community
... deepchem -c rdkit -c conda-forge -c omnia deepchem-gpu=2.3.0 import sys sys.path.append('/usr/local/lib/python3.7/site-packages/') import deepchem as dc.
Read more >Getting Started with DeepChem | Depth-First
A Featurizer transforms input data into a form more appropriate for machine learning. In [138]:. import deepchem as dc ...
Read more >How to use the deepchem.metrics function in ... - Snyk
import os import numpy as np import shutil import deepchem as dc from deepchem.molnet import load_muv np.random.seed(123) # Load MUV data muv_tasks, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The new names are much more ambiguous. I weep for a new student trying to understand “feats” “hyper” and “trans”. With modern IDEs, the autocomplete should take care of the extra keystrokes
I think the code transition is complete. Feedback from active deepchem users has been mostly positive, so the new API is here to stay. For further style discussions, please raise new issues with specific code examples that are awkward under new API and we can discuss there.