distclassipy 0.1.6a0__py3-none-any.whl → 0.2.0a0__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.
- distclassipy/__init__.py +1 -1
- distclassipy/classifier.py +101 -235
- distclassipy/distances.py +903 -903
- {distclassipy-0.1.6a0.dist-info → distclassipy-0.2.0a0.dist-info}/METADATA +4 -4
- distclassipy-0.2.0a0.dist-info/RECORD +8 -0
- distclassipy-0.1.6a0.dist-info/RECORD +0 -8
- {distclassipy-0.1.6a0.dist-info → distclassipy-0.2.0a0.dist-info}/LICENSE +0 -0
- {distclassipy-0.1.6a0.dist-info → distclassipy-0.2.0a0.dist-info}/WHEEL +0 -0
- {distclassipy-0.1.6a0.dist-info → distclassipy-0.2.0a0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: distclassipy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0a0
|
|
4
4
|
Summary: A python package for a distance-based classifier which can use several different distance metrics.
|
|
5
5
|
Author-email: Siddharth Chaini <sidchaini@gmail.com>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -694,7 +694,7 @@ Requires-Python: >=3.10
|
|
|
694
694
|
Description-Content-Type: text/markdown
|
|
695
695
|
License-File: LICENSE
|
|
696
696
|
Requires-Dist: joblib>=1.3.2
|
|
697
|
-
Requires-Dist: numpy
|
|
697
|
+
Requires-Dist: numpy>=1.25.2
|
|
698
698
|
Requires-Dist: pandas>=2.0.3
|
|
699
699
|
Requires-Dist: scikit-learn>=1.2.2
|
|
700
700
|
|
|
@@ -740,9 +740,9 @@ X, y = make_classification(
|
|
|
740
740
|
random_state=0,
|
|
741
741
|
shuffle=False,
|
|
742
742
|
)
|
|
743
|
-
clf = dcpy.DistanceMetricClassifier(
|
|
743
|
+
clf = dcpy.DistanceMetricClassifier()
|
|
744
744
|
clf.fit(X, y)
|
|
745
|
-
print(clf.predict([[0, 0, 0, 0]]))
|
|
745
|
+
print(clf.predict([[0, 0, 0, 0]]), metric="canberra")
|
|
746
746
|
```
|
|
747
747
|
|
|
748
748
|
## Features
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
distclassipy/__init__.py,sha256=6VtvWg_rRYBq32yLJT66FTbmNWg9YHU4rkauZvXntUY,1076
|
|
2
|
+
distclassipy/classifier.py,sha256=PPw5QtEFnn7bBVvOChP8i089zAuRFYFXJ4acvE-n4V8,15199
|
|
3
|
+
distclassipy/distances.py,sha256=ncahGJeY9-bHkxI4z2CfBY9TTHWuQA_u3y_A4KCyfE4,52009
|
|
4
|
+
distclassipy-0.2.0a0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
5
|
+
distclassipy-0.2.0a0.dist-info/METADATA,sha256=5awD25us2ZanOyyPvLyAOH13SMJ7pjWFNTK643QAMD0,46561
|
|
6
|
+
distclassipy-0.2.0a0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
7
|
+
distclassipy-0.2.0a0.dist-info/top_level.txt,sha256=jiwqhSkq7CMCjV_Zar2dSDBO63o5C_Dp2tpGiVV6COE,13
|
|
8
|
+
distclassipy-0.2.0a0.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
distclassipy/__init__.py,sha256=FwFi7gL2oYHlN5Q6zSmIP5Htm5Ok5YrxBayVZ9b0Q38,1076
|
|
2
|
-
distclassipy/classifier.py,sha256=XT_Yo9grS-h1DkwIxNLTgrTZGh15Tj3kQAxa-vRFxos,21554
|
|
3
|
-
distclassipy/distances.py,sha256=B-gVwdDYYa9xakE4tn7NoRHQeRIGvkijEsU5YnsjqdE,53082
|
|
4
|
-
distclassipy-0.1.6a0.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
5
|
-
distclassipy-0.1.6a0.dist-info/METADATA,sha256=NXb3LvwZZaKxbaHZOdv6HYeob_zphkbNLX0pZ-9c-VM,46562
|
|
6
|
-
distclassipy-0.1.6a0.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
7
|
-
distclassipy-0.1.6a0.dist-info/top_level.txt,sha256=jiwqhSkq7CMCjV_Zar2dSDBO63o5C_Dp2tpGiVV6COE,13
|
|
8
|
-
distclassipy-0.1.6a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|