scikit-network 0.33.1__cp310-cp310-win_amd64.whl → 0.33.2__cp310-cp310-win_amd64.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.
Potentially problematic release.
This version of scikit-network might be problematic. Click here for more details.
- {scikit_network-0.33.1.dist-info → scikit_network-0.33.2.dist-info}/METADATA +9 -7
- {scikit_network-0.33.1.dist-info → scikit_network-0.33.2.dist-info}/RECORD +33 -33
- {scikit_network-0.33.1.dist-info → scikit_network-0.33.2.dist-info}/WHEEL +1 -1
- sknetwork/classification/vote.cp310-win_amd64.pyd +0 -0
- sknetwork/classification/vote.cpp +6 -6
- sknetwork/clustering/leiden_core.cp310-win_amd64.pyd +0 -0
- sknetwork/clustering/leiden_core.cpp +6 -6
- sknetwork/clustering/louvain_core.cp310-win_amd64.pyd +0 -0
- sknetwork/clustering/louvain_core.cpp +6 -6
- sknetwork/gnn/base_activation.py +1 -0
- sknetwork/hierarchy/paris.cp310-win_amd64.pyd +0 -0
- sknetwork/hierarchy/paris.cpp +215 -233
- sknetwork/linalg/diteration.cp310-win_amd64.pyd +0 -0
- sknetwork/linalg/diteration.cpp +6 -6
- sknetwork/linalg/push.cp310-win_amd64.pyd +0 -0
- sknetwork/linalg/push.cpp +215 -233
- sknetwork/ranking/betweenness.cp310-win_amd64.pyd +0 -0
- sknetwork/ranking/betweenness.cpp +6 -6
- sknetwork/topology/cliques.cp310-win_amd64.pyd +0 -0
- sknetwork/topology/cliques.cpp +215 -233
- sknetwork/topology/core.cp310-win_amd64.pyd +0 -0
- sknetwork/topology/core.cpp +216 -234
- sknetwork/topology/cycles.py +2 -2
- sknetwork/topology/minheap.cp310-win_amd64.pyd +0 -0
- sknetwork/topology/minheap.cpp +6 -6
- sknetwork/topology/triangles.cp310-win_amd64.pyd +0 -0
- sknetwork/topology/triangles.cpp +6 -6
- sknetwork/topology/weisfeiler_lehman_core.cp310-win_amd64.pyd +0 -0
- sknetwork/topology/weisfeiler_lehman_core.cpp +6 -6
- sknetwork/visualization/graphs.py +1 -1
- {scikit_network-0.33.1.dist-info → scikit_network-0.33.2.dist-info/licenses}/AUTHORS.rst +0 -0
- {scikit_network-0.33.1.dist-info → scikit_network-0.33.2.dist-info/licenses}/LICENSE +0 -0
- {scikit_network-0.33.1.dist-info → scikit_network-0.33.2.dist-info}/top_level.txt +0 -0
sknetwork/topology/cycles.py
CHANGED
|
@@ -78,8 +78,8 @@ def get_cycles(adjacency: sparse.csr_matrix, directed: Optional[bool] = None) ->
|
|
|
78
78
|
>>> from sknetwork.topology import get_cycles
|
|
79
79
|
>>> from sknetwork.data import cyclic_digraph
|
|
80
80
|
>>> graph = cyclic_digraph(4, metadata=True)
|
|
81
|
-
>>> get_cycles(graph.adjacency, directed=True)
|
|
82
|
-
|
|
81
|
+
>>> len(get_cycles(graph.adjacency, directed=True))
|
|
82
|
+
1
|
|
83
83
|
"""
|
|
84
84
|
|
|
85
85
|
if directed is False:
|
|
Binary file
|
sknetwork/topology/minheap.cpp
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"/d2FH4-"
|
|
9
9
|
],
|
|
10
10
|
"include_dirs": [
|
|
11
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
11
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-09xj1dam\\overlay\\Lib\\site-packages\\numpy\\_core\\include"
|
|
12
12
|
],
|
|
13
13
|
"language": "c++",
|
|
14
14
|
"name": "sknetwork.topology.minheap",
|
|
@@ -44,10 +44,10 @@ END: Cython Metadata */
|
|
|
44
44
|
#else
|
|
45
45
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
46
46
|
#endif
|
|
47
|
-
#define CYTHON_ABI "
|
|
47
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
48
48
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
49
49
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
50
|
-
#define CYTHON_HEX_VERSION
|
|
50
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
51
51
|
#define CYTHON_FUTURE_DIVISION 1
|
|
52
52
|
#include <stddef.h>
|
|
53
53
|
#ifndef offsetof
|
|
@@ -2070,7 +2070,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
2070
2070
|
#if !CYTHON_VECTORCALL
|
|
2071
2071
|
#if PY_VERSION_HEX >= 0x03080000
|
|
2072
2072
|
#include "frameobject.h"
|
|
2073
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
2073
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
2074
2074
|
#ifndef Py_BUILD_CORE
|
|
2075
2075
|
#define Py_BUILD_CORE 1
|
|
2076
2076
|
#endif
|
|
@@ -25517,7 +25517,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
25517
25517
|
#include "compile.h"
|
|
25518
25518
|
#include "frameobject.h"
|
|
25519
25519
|
#include "traceback.h"
|
|
25520
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
25520
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
25521
25521
|
#ifndef Py_BUILD_CORE
|
|
25522
25522
|
#define Py_BUILD_CORE 1
|
|
25523
25523
|
#endif
|
|
Binary file
|
sknetwork/topology/triangles.cpp
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"/d2FH4-"
|
|
9
9
|
],
|
|
10
10
|
"include_dirs": [
|
|
11
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
11
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-09xj1dam\\overlay\\Lib\\site-packages\\numpy\\_core\\include"
|
|
12
12
|
],
|
|
13
13
|
"language": "c++",
|
|
14
14
|
"name": "sknetwork.topology.triangles",
|
|
@@ -44,10 +44,10 @@ END: Cython Metadata */
|
|
|
44
44
|
#else
|
|
45
45
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
46
46
|
#endif
|
|
47
|
-
#define CYTHON_ABI "
|
|
47
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
48
48
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
49
49
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
50
|
-
#define CYTHON_HEX_VERSION
|
|
50
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
51
51
|
#define CYTHON_FUTURE_DIVISION 1
|
|
52
52
|
#include <stddef.h>
|
|
53
53
|
#ifndef offsetof
|
|
@@ -1813,7 +1813,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
1813
1813
|
#if !CYTHON_VECTORCALL
|
|
1814
1814
|
#if PY_VERSION_HEX >= 0x03080000
|
|
1815
1815
|
#include "frameobject.h"
|
|
1816
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
1816
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
1817
1817
|
#ifndef Py_BUILD_CORE
|
|
1818
1818
|
#define Py_BUILD_CORE 1
|
|
1819
1819
|
#endif
|
|
@@ -7517,7 +7517,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
7517
7517
|
#include "compile.h"
|
|
7518
7518
|
#include "frameobject.h"
|
|
7519
7519
|
#include "traceback.h"
|
|
7520
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
7520
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
7521
7521
|
#ifndef Py_BUILD_CORE
|
|
7522
7522
|
#define Py_BUILD_CORE 1
|
|
7523
7523
|
#endif
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated by Cython 3.0.
|
|
1
|
+
/* Generated by Cython 3.0.12 */
|
|
2
2
|
|
|
3
3
|
/* BEGIN: Cython Metadata
|
|
4
4
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"/d2FH4-"
|
|
9
9
|
],
|
|
10
10
|
"include_dirs": [
|
|
11
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
11
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-09xj1dam\\overlay\\Lib\\site-packages\\numpy\\_core\\include"
|
|
12
12
|
],
|
|
13
13
|
"language": "c++",
|
|
14
14
|
"name": "sknetwork.topology.weisfeiler_lehman_core",
|
|
@@ -44,10 +44,10 @@ END: Cython Metadata */
|
|
|
44
44
|
#else
|
|
45
45
|
#define __PYX_EXTRA_ABI_MODULE_NAME ""
|
|
46
46
|
#endif
|
|
47
|
-
#define CYTHON_ABI "
|
|
47
|
+
#define CYTHON_ABI "3_0_12" __PYX_EXTRA_ABI_MODULE_NAME
|
|
48
48
|
#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI
|
|
49
49
|
#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "."
|
|
50
|
-
#define CYTHON_HEX_VERSION
|
|
50
|
+
#define CYTHON_HEX_VERSION 0x03000CF0
|
|
51
51
|
#define CYTHON_FUTURE_DIVISION 1
|
|
52
52
|
#include <stddef.h>
|
|
53
53
|
#ifndef offsetof
|
|
@@ -2051,7 +2051,7 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
|
|
|
2051
2051
|
#if !CYTHON_VECTORCALL
|
|
2052
2052
|
#if PY_VERSION_HEX >= 0x03080000
|
|
2053
2053
|
#include "frameobject.h"
|
|
2054
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
2054
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
2055
2055
|
#ifndef Py_BUILD_CORE
|
|
2056
2056
|
#define Py_BUILD_CORE 1
|
|
2057
2057
|
#endif
|
|
@@ -25018,7 +25018,7 @@ static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) {
|
|
|
25018
25018
|
#include "compile.h"
|
|
25019
25019
|
#include "frameobject.h"
|
|
25020
25020
|
#include "traceback.h"
|
|
25021
|
-
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API
|
|
25021
|
+
#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API && !defined(PYPY_VERSION)
|
|
25022
25022
|
#ifndef Py_BUILD_CORE
|
|
25023
25023
|
#define Py_BUILD_CORE 1
|
|
25024
25024
|
#endif
|
|
@@ -166,7 +166,7 @@ def get_node_colors(n: int, labels: Optional[Iterable], scores: Optional[Iterabl
|
|
|
166
166
|
elif scores is not None:
|
|
167
167
|
colors_score = COOLWARM_RGB.copy()
|
|
168
168
|
n_colors = colors_score.shape[0]
|
|
169
|
-
colors_score_svg = np.array(['rgb' + str(tuple(colors_score[i])) for i in range(n_colors)])
|
|
169
|
+
colors_score_svg = np.array(['rgb' + str(tuple([int(c) for c in colors_score[i]])) for i in range(n_colors)])
|
|
170
170
|
if isinstance(scores, dict):
|
|
171
171
|
keys = np.array(list(scores.keys()))
|
|
172
172
|
values = np.array(list(scores.values()))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|