Convenience functions (starclass.convenience)

Training set convenience functions.

Code author: Rasmus Handberg <rasmush@phys.au.dk>

starclass.convenience.get_classifier(classifier_key)[source]

Get class for given classifier key.

Parameters

classifier_key (str) – Classifier keyword. Choices can be found in classifier_list().

Returns

Class for the classifier.

Return type

BaseClassifier

Code author: Rasmus Handberg <rasmush@phys.au.dk>

starclass.convenience.get_trainingset(tset_key='keplerq9v3')[source]

Get training set class for given training set key.

Parameters

tset_key (str) – Training set keyword. Choices can be found in trainingset_list().

Returns

Class for the training set.

Return type

TrainingSet

Code author: Rasmus Handberg <rasmush@phys.au.dk>

starclass.convenience.trainingset_available(tset_key)[source]

Check if a training set is available, meaning that it has been downloaded and set up.

Parameters

tset_key (str) – Training set keyword. Choices can be found in trainingset_list().

Returns

True if the trainingset is available.

Return type

bool

Code author: Rasmus Handberg <rasmush@phys.au.dk>