Closed tom-andersson closed 9 months ago
Currently, the GreedyAlgorithm returns X_new_df with columns x1 and x2. See this part of the documentation, where the columns should be lat and lon:
GreedyAlgorithm
X_new_df
x1
x2
lat
lon
The relevant part of the code is here: https://github.com/tom-andersson/deepsensor/blob/e09f985a02ad79d1f5640173de6a9b2bc9587c27/deepsensor/active_learning/algorithms.py#L508
This should just require a one-line change to use self.x1_name and self.x2_name from here: https://github.com/tom-andersson/deepsensor/blob/e09f985a02ad79d1f5640173de6a9b2bc9587c27/deepsensor/active_learning/algorithms.py#L111-L112
self.x1_name
self.x2_name
I'll leave this open as a nice first issue for someone. Please add a unit test for this as well.
Closed by https://github.com/alan-turing-institute/deepsensor/pull/99
Currently, the
GreedyAlgorithm
returnsX_new_df
with columnsx1
andx2
. See this part of the documentation, where the columns should belat
andlon
:The relevant part of the code is here: https://github.com/tom-andersson/deepsensor/blob/e09f985a02ad79d1f5640173de6a9b2bc9587c27/deepsensor/active_learning/algorithms.py#L508
This should just require a one-line change to use
self.x1_name
andself.x2_name
from here: https://github.com/tom-andersson/deepsensor/blob/e09f985a02ad79d1f5640173de6a9b2bc9587c27/deepsensor/active_learning/algorithms.py#L111-L112I'll leave this open as a nice first issue for someone. Please add a unit test for this as well.