Making Predictions
Load trained models and classify new samples.
RandomForest
from exobengal.exobengal import DetectExoplanet
detector = DetectExoplanet()
sample = [365.0, 1.0, 288.0, 1.0, 4.44, 5778, 0.1, 5.0, 100.0]
print(detector.random_forest(sample))
CNN
from exobengal.exobengal import DetectExoplanet
detector = DetectExoplanet()
sample = [365.0, 1.0, 288.0, 1.0, 4.44, 5778, 0.1, 5.0, 100.0]
print(detector.cnn(sample))
kNN
from exobengal.exobengal import DetectExoplanet
detector = DetectExoplanet()
sample = [365.0, 1.0, 288.0, 1.0, 4.44, 5778, 0.1, 5.0, 100.0]
print(detector.knn(sample))