Skip to content

Commit

Permalink
* Added latest QR classifiers. Updated version info.
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Scheffler <[email protected]>
  • Loading branch information
danschef committed Oct 8, 2020
1 parent dcb8a45 commit dd12cf3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 7 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
History
=======

0.8.1 (2020-10-08)
------------------

* Added latest QR classifiers.


0.8.0 (2020-10-07)
------------------

Expand Down Expand Up @@ -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.


Expand Down
3 changes: 2 additions & 1 deletion spechomo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
4 changes: 2 additions & 2 deletions spechomo/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
1 change: 1 addition & 0 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,4 @@ def test_export_classifiers_as_JSON(self):
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')))

0 comments on commit dd12cf3

Please sign in to comment.