Notebook Walkthrough
File: test.ipynb
Setup
import exobengal as ex
params = ex.ExoParams()
params.depth = 0.01
params.period = 3.0
params.duration = 2.0 / 24.0
params.impact = 0.2
params.prad = 0.9
params.slog_g = 4.5
params.teq = 900
params.steff = 5500
Train and predict
detect = ex.DetectExoplanet()
detect.train_cnn()
detect.cnn(params)
new_detect = ex.DetectExoplanet()
new_detect.train_random_forest()
new_detect.random_forest(params)
Notes & warnings
- TensorFlow may show GPU/oneDNN notices on CPU-only machines.
- Saving as
.h5
may show a deprecation notice; behavior is correct.