Commit dd12cf34 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

* Added latest QR classifiers. Updated version info.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent dcb8a458
Pipeline #14354 passed with stages
in 5 minutes and 26 seconds
......@@ -2,6 +2,12 @@
History
=======
0.8.1 (2020-10-08)
------------------
* Added latest QR classifiers.
0.8.0 (2020-10-07)
------------------
......@@ -36,7 +42,7 @@ History
------------------
* Moved scipy imports function/class level to avoid static TLS ImportError.
* environment_spechomo.yml now ueses Python 3.7+.
* environment_spechomo.yml now uses Python 3.7+.
* scikit-learn is now pinned to 0.23.2+ due to classifier recreation.
......
......@@ -220,7 +220,8 @@ def export_classifiers_as_JSON(export_rootDir,
def download_pretrained_classifiers(method, tgt_dir=options['classifiers']['rootdir']):
remote_filespecs = {
'100k_conservrsp_SCA_SD100percSA90perc_without_aviris__SCADist90pSAM40p': {
'LR': 'https://nextcloud.gfz-potsdam.de/s/czxJrCERkp8G8d9/download',
'LR': 'https://nextcloud.gfz-potsdam.de/s/Rzb75kckBreFfNE/download',
'QR': 'https://nextcloud.gfz-potsdam.de/s/Kk4zoCXxAEkAFZL/download',
}
}
clf_name = options['classifiers']['name']
......
......@@ -24,5 +24,5 @@
# You should have received a copy of the GNU Lesser General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.8.0'
__versionalias__ = '20201007.01'
__version__ = '0.8.1'
__versionalias__ = '20201008.01'
......@@ -72,3 +72,4 @@ class Test_Utils(unittest.TestCase):
def test_download_pretrained_classifiers(self):
with TemporaryDirectory() as td:
self.assertIsNotNone(download_pretrained_classifiers('LR', os.path.join(td, 'not_existing_subdir')))
self.assertIsNotNone(download_pretrained_classifiers('QR', os.path.join(td, 'not_existing_subdir')))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment