-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
43 add example notebooks #46
base: main
Are you sure you want to change the base?
Conversation
Reviewer's Guide by SourceryThis pull request adds example notebooks demonstrating how to use the perovskite solar cell database. It includes a notebook for predicting the band gap of perovskites using CrabNet and data from the Perovskite Database in NOMAD. The notebook covers data retrieval, cleaning, model building, evaluation, and prediction. It also adds example uploads for the ions database. Flow diagram of the CrabNet perovskite bandgap prediction workflowgraph TD
A[Data Retrieval] -->|NOMAD API| B[Data Processing]
B --> C[Data Cleaning]
C --> D[Split Data]
D -->|80%| E[Training Set]
D -->|10%| F[Validation Set]
D -->|10%| G[Test Set]
E --> H[Train CrabNet Model]
F --> I[Validate Model]
G --> J[Test Model]
H --> K[Final Model]
K --> L[Predict Individual Formulas]
subgraph Data Cleaning
M[Remove NaNs] --> N[Group Repeated Formulas]
N --> O[Check Element Prevalence]
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Pepe-Marquez - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
@hampusnasstrom, the first two notebooks are going in. @siamakn was doing some cleaning of the perovskite database, so let's make sure we include him as a contributor in the PR. The pipelines are not passing at the moment because there are empty notebooks. |
@Pepe-Marquez ideally you would have added siamak as a co-author of the commit where you added the notebook but I can try to add him to the PR itself later. Just don't forget it before me merge. |
Summary by Sourcery
Add example notebooks demonstrating how to use the perovskite database and predict bandgap using CrabNet.
New Features:
Tests: