mlquantify 0.1.22__py3-none-any.whl → 0.1.23__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mlquantify/__init__.py CHANGED
@@ -11,4 +11,7 @@ from . import base
11
11
  from . import calibration
12
12
  from . import confidence
13
13
  from . import multiclass
14
- from . import neural
14
+ try:
15
+ from . import neural
16
+ except NameError:
17
+ pass
@@ -4,14 +4,14 @@ from typing import Dict, Any, Sequence
4
4
 
5
5
  import numpy as np
6
6
  from sklearn.model_selection import train_test_split
7
+
7
8
  try:
8
9
  import torch
9
10
  import torch.nn as nn
10
11
  from torch.nn import MSELoss
11
12
  from torch.nn.functional import relu
12
13
  except ImportError:
13
- import warnings
14
- warnings.warn("torch is not installed. Neural network quantifiers will not work.")
14
+ pass
15
15
 
16
16
  from mlquantify.base import BaseQuantifier
17
17
  from mlquantify.base_aggregative import (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mlquantify
3
- Version: 0.1.22
3
+ Version: 0.1.23
4
4
  Summary: Quantification Library
5
5
  Home-page: https://github.com/luizfernandolj/QuantifyML/tree/master
6
6
  Maintainer: Luiz Fernando Luth Junior
@@ -1,4 +1,4 @@
1
- mlquantify/__init__.py,sha256=gFtdd0MKMje_yVztHzEsKA3p-JF90bO-VQxzSplyovU,348
1
+ mlquantify/__init__.py,sha256=eP8dPDFIUnnLlS3GoleXDGqk-Qb7weZ1xZ6oGpLj32A,384
2
2
  mlquantify/base.py,sha256=o7IaKODocyi4tEmCvGmHKQ8F4ZJsaEh4kymsNcLyHAg,5077
3
3
  mlquantify/base_aggregative.py,sha256=uqfhpUmgv5pNLLvqgROCWHfjs3sj_2jfwOTyzUySuGo,7545
4
4
  mlquantify/calibration.py,sha256=chG3GNX2BBDTWIuSVfZUJ_YF_ZVBSoel2d_AN0OChS0,6
@@ -33,7 +33,7 @@ mlquantify/neighbors/_kde.py,sha256=x6DkONFhCec44HPFY5H2DTXjMVKPQkz2kEUmfxx5DrM,
33
33
  mlquantify/neighbors/_utils.py,sha256=CozcKtmd6ZDluMT4bvOj4QI7xwORF_vCIJRucPEzJJo,4123
34
34
  mlquantify/neural/__init__.py,sha256=UFHkMnUCyqi6zmH6YZr6aTq8v0ndbzTWS9se14rSEx8,28
35
35
  mlquantify/neural/_base.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
- mlquantify/neural/_classes.py,sha256=PCX4-LH3QhgEav44u12bhP_T1BHGNoNcB2aVJ4VWIXk,23373
36
+ mlquantify/neural/_classes.py,sha256=gCWC-6kfZOj20CjB1pnquoKF9mDkVutle3hNhtniYsc,23276
37
37
  mlquantify/neural/_perm_invariant.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  mlquantify/neural/_utils.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
39
39
  mlquantify/utils/__init__.py,sha256=4_Mnerh2GV6mOiKYW9SX_mjMTxqKeai0umBCnVj4vow,1370
@@ -50,8 +50,8 @@ mlquantify/utils/_sampling.py,sha256=3W0vUuvLvoYrt-BZpSM0HM1XJEZr0XYIdkOcUP5hp-8
50
50
  mlquantify/utils/_tags.py,sha256=Rz78TLpxgVxBKS0mKTlC9Qo_kn6HaEwVKNXh8pxFT7M,1095
51
51
  mlquantify/utils/_validation.py,sha256=V3y-wbH69yFdogcEtQ15ShvtIrlIZ4ObzduaqLYvXp0,18319
52
52
  mlquantify/utils/prevalence.py,sha256=LG-KXJ5Eb4w26WMpu4PoBpxMSHaqrmTQqdRlyqNRJ1o,2020
53
- mlquantify-0.1.22.dist-info/licenses/LICENSE,sha256=DyKiou3Tffi-9NKcNBomiuHedeiF9sDC2Y9tZK_3Sko,1539
54
- mlquantify-0.1.22.dist-info/METADATA,sha256=Smq1DW-R4IAu7X1ZXxxYy68_oMeoguVhFvDTcyaYdjk,4791
55
- mlquantify-0.1.22.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
56
- mlquantify-0.1.22.dist-info/top_level.txt,sha256=tGEkYkbbFElwULvqENjam3u1uXtyC1J9dRmibsq8_n0,11
57
- mlquantify-0.1.22.dist-info/RECORD,,
53
+ mlquantify-0.1.23.dist-info/licenses/LICENSE,sha256=DyKiou3Tffi-9NKcNBomiuHedeiF9sDC2Y9tZK_3Sko,1539
54
+ mlquantify-0.1.23.dist-info/METADATA,sha256=VPyHGmtBASiO5N3sIZurQdzsPkeqDNKsxZh7FNg03Wk,4791
55
+ mlquantify-0.1.23.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
56
+ mlquantify-0.1.23.dist-info/top_level.txt,sha256=tGEkYkbbFElwULvqENjam3u1uXtyC1J9dRmibsq8_n0,11
57
+ mlquantify-0.1.23.dist-info/RECORD,,