boostrsa 0.0.1.dev3__tar.gz → 0.0.1.dev4__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.
- {boostrsa-0.0.1.dev3/src/boostrsa.egg-info → boostrsa-0.0.1.dev4}/PKG-INFO +12 -4
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/README.md +11 -3
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/setup.py +1 -1
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/cpgpu/stats.py +4 -4
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/gpu/matrix.py +1 -1
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/searchlight.py +5 -5
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4/src/boostrsa.egg-info}/PKG-INFO +12 -4
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/LICENSE.txt +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/setup.cfg +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/__init__.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/boostrsa_types.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/__init__.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/cpgpu/__init__.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/cpu/__init__.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/cpu/matrix.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/gpu/__init__.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/gpu/basic_operations.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa/cores/gpu/mask.py +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa.egg-info/SOURCES.txt +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa.egg-info/dependency_links.txt +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa.egg-info/requires.txt +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/src/boostrsa.egg-info/top_level.txt +0 -0
- {boostrsa-0.0.1.dev3 → boostrsa-0.0.1.dev4}/tests/test_module1.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: boostrsa
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev4
|
|
4
4
|
Summary: This is toolbox for boosting calculation speed using GPU
|
|
5
5
|
Home-page: https://github.com/SeojinYoon/boostrsa.git
|
|
6
6
|
Author: seojin
|
|
@@ -30,7 +30,7 @@ Basically, this library uses a Nvidia's GPU instead of CPU for parallel processi
|
|
|
30
30
|
|
|
31
31
|
To use this library, you need to have a Nvidia's GPU and CUDA. Additionally, this library heavily relies on Cupy and Numba. It is essential to install the appropriate versions of these libraries.
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### cupy
|
|
34
34
|
|
|
35
35
|
Cupy is designed to work with specific versions of CUDA. See cupy's guide and install appropriate version in correspond to your system (https://github.com/cupy/cupy).
|
|
36
36
|
|
|
@@ -43,17 +43,25 @@ Please check your cuda version to install cupy.
|
|
|
43
43
|
|
|
44
44
|
If you installed the cuda10 in your computer, then install cupy-cuda10x. install cupy-cuda10x. ex) pip install cupy-cuda10x
|
|
45
45
|
|
|
46
|
-
###
|
|
46
|
+
### numba
|
|
47
47
|
|
|
48
48
|
The numba library is a powerful tool that enbales python functions to be compiled to machine code at runtime using the LLVM. One of its key features is the ability to generate native code for different architectures, including CPUs and GPUs, which greatly accelerates the execution of data-heavy and computationally intense python code.
|
|
49
49
|
|
|
50
50
|
Please see installation guideline of numba (https://numba.pydata.org/numba-doc/latest/user/installing.html).
|
|
51
51
|
|
|
52
52
|
Pip installation).
|
|
53
|
+
|
|
53
54
|
- pip install numba
|
|
54
55
|
|
|
56
|
+
### rsatoolbox
|
|
57
|
+
|
|
58
|
+
The rsatoolbox is a Python library specifically designed for Representational Similarity Analysis (RSA).
|
|
59
|
+
|
|
60
|
+
Please see installation guideline of rsatoolbox (https://github.com/rsagroup/rsatoolbox)
|
|
61
|
+
|
|
62
|
+
- pip install rsatoolbox
|
|
55
63
|
|
|
56
|
-
|
|
64
|
+
# Installation
|
|
57
65
|
|
|
58
66
|
pip install boostrsa
|
|
59
67
|
|
|
@@ -13,7 +13,7 @@ Basically, this library uses a Nvidia's GPU instead of CPU for parallel processi
|
|
|
13
13
|
|
|
14
14
|
To use this library, you need to have a Nvidia's GPU and CUDA. Additionally, this library heavily relies on Cupy and Numba. It is essential to install the appropriate versions of these libraries.
|
|
15
15
|
|
|
16
|
-
###
|
|
16
|
+
### cupy
|
|
17
17
|
|
|
18
18
|
Cupy is designed to work with specific versions of CUDA. See cupy's guide and install appropriate version in correspond to your system (https://github.com/cupy/cupy).
|
|
19
19
|
|
|
@@ -26,17 +26,25 @@ Please check your cuda version to install cupy.
|
|
|
26
26
|
|
|
27
27
|
If you installed the cuda10 in your computer, then install cupy-cuda10x. install cupy-cuda10x. ex) pip install cupy-cuda10x
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### numba
|
|
30
30
|
|
|
31
31
|
The numba library is a powerful tool that enbales python functions to be compiled to machine code at runtime using the LLVM. One of its key features is the ability to generate native code for different architectures, including CPUs and GPUs, which greatly accelerates the execution of data-heavy and computationally intense python code.
|
|
32
32
|
|
|
33
33
|
Please see installation guideline of numba (https://numba.pydata.org/numba-doc/latest/user/installing.html).
|
|
34
34
|
|
|
35
35
|
Pip installation).
|
|
36
|
+
|
|
36
37
|
- pip install numba
|
|
37
38
|
|
|
39
|
+
### rsatoolbox
|
|
40
|
+
|
|
41
|
+
The rsatoolbox is a Python library specifically designed for Representational Similarity Analysis (RSA).
|
|
42
|
+
|
|
43
|
+
Please see installation guideline of rsatoolbox (https://github.com/rsagroup/rsatoolbox)
|
|
44
|
+
|
|
45
|
+
- pip install rsatoolbox
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
# Installation
|
|
40
48
|
|
|
41
49
|
pip install boostrsa
|
|
42
50
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import numpy as np
|
|
3
3
|
import cupy as cp
|
|
4
4
|
from numba import cuda, jit
|
|
5
|
-
from boostrsa.
|
|
6
|
-
from boostrsa.
|
|
7
|
-
from boostrsa.
|
|
8
|
-
from boostrsa.
|
|
5
|
+
from boostrsa.boostrsa_types import ShrinkageMethod
|
|
6
|
+
from boostrsa.cores.gpu.basic_operations import outer_sum_square, outer_sum
|
|
7
|
+
from boostrsa.cores.gpu.matrix import diag, eyes
|
|
8
|
+
from boostrsa.cores.gpu.basic_operations import scaling
|
|
9
9
|
|
|
10
10
|
def _covariance_eye(residuals, threads_per_block = 1024):
|
|
11
11
|
"""
|
|
@@ -7,11 +7,11 @@ import itertools
|
|
|
7
7
|
from tqdm import trange
|
|
8
8
|
|
|
9
9
|
# Custom Libraries
|
|
10
|
-
from boostrsa_types import ShrinkageMethod
|
|
11
|
-
from cores.cpu.matrix import convert_1d_to_symmertic, mean_fold_variance
|
|
12
|
-
from cores.cpgpu.stats import _covariance_diag, _covariance_eye
|
|
13
|
-
from cores.gpu.mask import set_mask
|
|
14
|
-
from cores.gpu.matrix import calc_kernel, rdm_from_kernel
|
|
10
|
+
from boostrsa.boostrsa_types import ShrinkageMethod
|
|
11
|
+
from boostrsa.cores.cpu.matrix import convert_1d_to_symmertic, mean_fold_variance
|
|
12
|
+
from boostrsa.cores.cpgpu.stats import _covariance_diag, _covariance_eye
|
|
13
|
+
from boostrsa.cores.gpu.mask import set_mask
|
|
14
|
+
from boostrsa.cores.gpu.matrix import calc_kernel, rdm_from_kernel
|
|
15
15
|
|
|
16
16
|
# Functions
|
|
17
17
|
def calc_sl_precision(residuals,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: boostrsa
|
|
3
|
-
Version: 0.0.1.
|
|
3
|
+
Version: 0.0.1.dev4
|
|
4
4
|
Summary: This is toolbox for boosting calculation speed using GPU
|
|
5
5
|
Home-page: https://github.com/SeojinYoon/boostrsa.git
|
|
6
6
|
Author: seojin
|
|
@@ -30,7 +30,7 @@ Basically, this library uses a Nvidia's GPU instead of CPU for parallel processi
|
|
|
30
30
|
|
|
31
31
|
To use this library, you need to have a Nvidia's GPU and CUDA. Additionally, this library heavily relies on Cupy and Numba. It is essential to install the appropriate versions of these libraries.
|
|
32
32
|
|
|
33
|
-
###
|
|
33
|
+
### cupy
|
|
34
34
|
|
|
35
35
|
Cupy is designed to work with specific versions of CUDA. See cupy's guide and install appropriate version in correspond to your system (https://github.com/cupy/cupy).
|
|
36
36
|
|
|
@@ -43,17 +43,25 @@ Please check your cuda version to install cupy.
|
|
|
43
43
|
|
|
44
44
|
If you installed the cuda10 in your computer, then install cupy-cuda10x. install cupy-cuda10x. ex) pip install cupy-cuda10x
|
|
45
45
|
|
|
46
|
-
###
|
|
46
|
+
### numba
|
|
47
47
|
|
|
48
48
|
The numba library is a powerful tool that enbales python functions to be compiled to machine code at runtime using the LLVM. One of its key features is the ability to generate native code for different architectures, including CPUs and GPUs, which greatly accelerates the execution of data-heavy and computationally intense python code.
|
|
49
49
|
|
|
50
50
|
Please see installation guideline of numba (https://numba.pydata.org/numba-doc/latest/user/installing.html).
|
|
51
51
|
|
|
52
52
|
Pip installation).
|
|
53
|
+
|
|
53
54
|
- pip install numba
|
|
54
55
|
|
|
56
|
+
### rsatoolbox
|
|
57
|
+
|
|
58
|
+
The rsatoolbox is a Python library specifically designed for Representational Similarity Analysis (RSA).
|
|
59
|
+
|
|
60
|
+
Please see installation guideline of rsatoolbox (https://github.com/rsagroup/rsatoolbox)
|
|
61
|
+
|
|
62
|
+
- pip install rsatoolbox
|
|
55
63
|
|
|
56
|
-
|
|
64
|
+
# Installation
|
|
57
65
|
|
|
58
66
|
pip install boostrsa
|
|
59
67
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|