deeplotx 0.4.1__tar.gz → 0.4.3__tar.gz

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.
Files changed (32) hide show
  1. {deeplotx-0.4.1 → deeplotx-0.4.3}/PKG-INFO +8 -4
  2. {deeplotx-0.4.1 → deeplotx-0.4.3}/README.md +6 -2
  3. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/__init__.py +7 -1
  4. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/similarity/__init__.py +5 -0
  5. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx.egg-info/PKG-INFO +8 -4
  6. {deeplotx-0.4.1 → deeplotx-0.4.3}/pyproject.toml +2 -2
  7. {deeplotx-0.4.1 → deeplotx-0.4.3}/LICENSE +0 -0
  8. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/encoder/__init__.py +0 -0
  9. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/encoder/bert_encoder.py +0 -0
  10. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/encoder/long_text_encoder.py +0 -0
  11. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/encoder/longformer_encoder.py +0 -0
  12. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/__init__.py +0 -0
  13. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/auto_regression.py +0 -0
  14. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/base_neural_network.py +0 -0
  15. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/linear_regression.py +0 -0
  16. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/logistic_regression.py +0 -0
  17. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/recursive_sequential.py +0 -0
  18. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/nn/softmax_regression.py +0 -0
  19. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/similarity/distribution.py +0 -0
  20. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/similarity/set.py +0 -0
  21. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/similarity/vector.py +0 -0
  22. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/trainer/__init__.py +0 -0
  23. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/trainer/base_trainer.py +0 -0
  24. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/trainer/text_binary_classification_trainer.py +0 -0
  25. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/util/__init__.py +0 -0
  26. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/util/hash.py +0 -0
  27. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx/util/read_file.py +0 -0
  28. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx.egg-info/SOURCES.txt +0 -0
  29. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx.egg-info/dependency_links.txt +0 -0
  30. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx.egg-info/requires.txt +0 -0
  31. {deeplotx-0.4.1 → deeplotx-0.4.3}/deeplotx.egg-info/top_level.txt +0 -0
  32. {deeplotx-0.4.1 → deeplotx-0.4.3}/setup.cfg +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeplotx
3
- Version: 0.4.1
4
- Summary: Easy-2-use long text classifier trainers.
3
+ Version: 0.4.3
4
+ Summary: Easy-2-use long text NLP toolkit.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
@@ -14,7 +14,11 @@ Requires-Dist: transformers>=4.51.3
14
14
  Requires-Dist: typing-extensions>=4.13.2
15
15
  Dynamic: license-file
16
16
 
17
- # DeepLoTX: Easy2UseLongTextClassifierTrainers
17
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/vortezwohl/LoTC)
18
+
19
+ # DeepLoTX
20
+
21
+ An Easy-2-use long text NLP toolkit
18
22
 
19
23
  ## Installation
20
24
 
@@ -38,7 +42,7 @@ Dynamic: license-file
38
42
 
39
43
  ## Quick Start
40
44
 
41
- To train a binary classifier for text files:
45
+ To train a binary classifier from text files:
42
46
 
43
47
  ```python
44
48
  from deeplotx.util import get_files, read_file
@@ -1,4 +1,8 @@
1
- # DeepLoTX: Easy2UseLongTextClassifierTrainers
1
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/vortezwohl/LoTC)
2
+
3
+ # DeepLoTX
4
+
5
+ An Easy-2-use long text NLP toolkit
2
6
 
3
7
  ## Installation
4
8
 
@@ -22,7 +26,7 @@
22
26
 
23
27
  ## Quick Start
24
28
 
25
- To train a binary classifier for text files:
29
+ To train a binary classifier from text files:
26
30
 
27
31
  ```python
28
32
  from deeplotx.util import get_files, read_file
@@ -4,7 +4,13 @@ import os
4
4
  __ROOT__ = os.path.dirname(os.path.abspath(__file__))
5
5
 
6
6
  from .encoder import BertEncoder, LongTextEncoder, LongformerEncoder
7
- from .nn import LinearRegression, LogisticRegression, SoftmaxRegression
7
+ from .nn import (
8
+ LinearRegression,
9
+ LogisticRegression,
10
+ SoftmaxRegression,
11
+ RecursiveSequential,
12
+ AutoRegression
13
+ )
8
14
  from .trainer import TextBinaryClassifierTrainer
9
15
 
10
16
  __AUTHOR__ = '吴子豪 / Vortez Wohl'
@@ -15,3 +15,8 @@ def ndarray_adapter(*args) -> tuple | np.ndarray:
15
15
  if len(args) > 1:
16
16
  return tuple(args)
17
17
  return args[0]
18
+
19
+
20
+ from .set import jaccard_similarity, ochiai_similarity, dice_coefficient, overlap_coefficient
21
+ from .vector import euclidean_similarity, cosine_similarity, chebyshev_similarity, l2_normalize, z_score_normalize
22
+ from .distribution import cross_entropy, kl_divergence, js_divergence, hellinger_distance
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeplotx
3
- Version: 0.4.1
4
- Summary: Easy-2-use long text classifier trainers.
3
+ Version: 0.4.3
4
+ Summary: Easy-2-use long text NLP toolkit.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
7
7
  License-File: LICENSE
@@ -14,7 +14,11 @@ Requires-Dist: transformers>=4.51.3
14
14
  Requires-Dist: typing-extensions>=4.13.2
15
15
  Dynamic: license-file
16
16
 
17
- # DeepLoTX: Easy2UseLongTextClassifierTrainers
17
+ [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/vortezwohl/LoTC)
18
+
19
+ # DeepLoTX
20
+
21
+ An Easy-2-use long text NLP toolkit
18
22
 
19
23
  ## Installation
20
24
 
@@ -38,7 +42,7 @@ Dynamic: license-file
38
42
 
39
43
  ## Quick Start
40
44
 
41
- To train a binary classifier for text files:
45
+ To train a binary classifier from text files:
42
46
 
43
47
  ```python
44
48
  from deeplotx.util import get_files, read_file
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "deeplotx"
3
- version = "0.4.1"
4
- description = "Easy-2-use long text classifier trainers."
3
+ version = "0.4.3"
4
+ description = "Easy-2-use long text NLP toolkit."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
7
7
  dependencies = [
File without changes
File without changes
File without changes