Comments (9)
Note - I have created what should be a working Jupyter notebook for the initial intro.
Someone should go through the remaining tutorials and make sure they work ...
from matminer.
Picking this up, if no one objects. Also, I kind of prefer the pymatgen format for showing the notebooks, which is to have the exported html linked in the documentation and a link to the nbviewer page for interactive versions. I'm not sure it'll play nicely with plotly, but if it does, I'll switch it over.
from matminer.
@montoyjh , when plotting in your tutorial, will you consider using figrecipes plotly wrappers? @ardunn and I are improving its defaults and adding 1-2 new plotly plots here and would appreciate your feedback if you end up using any of them. We may be able to submit a PR within the next few days if you can wait with plotting as there will be some re-structuring.
from matminer.
Sure, that sounds great. The plotly functionality seems pretty great for looking at outliers or in areas of descriptor space you're particularly interested in.
from matminer.
I'm also having a bit of trouble with accessing 2 of the tutorials via git-lfs, specifically MPDS_UO_bondlengths.ipynb and the one on PbTe bandgaps. I can get them from the gists linked in the docs, if need be, but just wanted to mention it.
from matminer.
@montoyjh We had lots of problems with git-lfs and tried our best to nuke git-lfs and all traces. Instead of git-lfs we wanted to do all the tutorials via gist - i.e., so they don't occupy space in the main repo, avoid the problems of git-lfs, but are still easy to access/modify/update/comment on. Was there some remnants of git-lfs left over?
from matminer.
Ah, great.
As far as gist, can I propose an alternative solution? If you leave the notebooks in unexecuted form, they take up significantly less space (all of the notebooks take up around 100-200K, as opposed to 20-40M). If done this way, they can still be included in the repo. When building the docs, you can run jupyter nbconvert --to html --execute
which will execute the cells and export to html, which then would be copied to the _static folder and linked in docs.
Pros:
- Don't have to maintain external gists (i. e. one place for notebooks where they get fed into the docs directly)
- I can write a unit-test for the notebooks if they're on the main repo, to ensure the examples are working.
Cons:
- the exported HTML in the docs are still heavy (seems like roughly 50% of what the executed notebooks are). Perhaps there's a way to not include these in the repo but still in the docs?
from matminer.
from matminer.
The tutorials have been fixed and moved to matminer_examples, I'm considering this closed; additional thoughts should go to the matminer_examples repo
from matminer.
Related Issues (20)
- Materials Project time split dataset - `load_data_from_json` returns `None` during debugging (conditionally)
- `matminer.datasets.utils._validate_dataset()` flaky on Windows? HOT 5
- [FEATURE REQUEST] SkipAtom compositional featurizer
- AttributeError: 'DensityFeatures' object has no attribute 'desired_features' HOT 1
- SOAP features HOT 2
- Suggestion: OPTIMADE data retriever HOT 1
- Fail to approach MPData HOT 4
- Handling NaNs from ElementProperty HOT 3
- CI failing due to broken mongo service
- Fixing matminer's multiprocessing problem HOT 1
- New release 0.9.0? HOT 2
- WenAlloy wrong valence electron counts
- mp-api for MPDataRetrieval needs upgrade badly
- Missing compatibility with pandas v2 HOT 11
- Issue link to matsci.org broken
- compatibility request: pandas-2+ HOT 2
- Error in import composition HOT 6
- Simple composition-based featurization fails due to an upgrade in pymatgen HOT 2
- Re-enable tests that are skipped in CI HOT 3
- when I import matminer,mistake as following:ValueError: Unexpected atomic number Z=119。 HOT 3
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 matminer.