-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtim.txt
87 lines (54 loc) · 2.93 KB
/
tim.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
TIM
===
[[set tim_version]]: 1.3.0
[Back to Homepage of Kalle Rutanen][Back]
[Back]: http://kaba.hilvi.org
_TIM_ is a cross-platform C++ / Matlab library for efficient non-linear time-series analysis.
[TimHomepage]: http://kaba.hilvi.org/tim
Download TIM 1.3.0
------------------
[Download TIM Matlab [[tim_version]]][TIM-Matlab-1.3.0]
This package contains 64-bit prebuilds of TIM 1.3.0 for Windows and Linux.
TIM 1.3.0 can also be built under Mac OS X, but unfortunately I don't have access to such a machine.
Note that the interface has changed somewhat from 1.2.0.
__Note__: For Windows, you need to have the [Visual C++ Redistributable for Visual Studio 2019][VisualRedist-1.3.0]
installed for the prebuilt TIM 1.3.0 to work.
[VisualRedist-1.3.0]: https://aka.ms/vs/16/release/vc_redist.x64.exe
[TIM-Matlab-1.3.0]: [[-+Ref]]: tim-matlab-1.3.0.zip
Download TIM 1.2.0
------------------
[Download TIM Matlab 1.2.0][TIM-Matlab-1.2.0]
This package contains 32-bit and 64-bit prebuilds of TIM 1.2.0 for Windows, Linux, and Mac OS X.
__Note__: For Windows, you need to have the [Visual C++ Redistributable for Visual Studio 2012 Update 2][VisualRedist-1.2.0] installed for the prebuilt TIM 1.2.0 to work.
[VisualRedist-1.2.0]: http://www.microsoft.com/en-us/download/details.aspx?id=30679
[TIM-Matlab-1.2.0]: [[-+Ref]]: tim-matlab-1.2.0.zip
Getting started
---------------
In Matlab console, assuming TIM is on Matlab path:
% Generate lots of 10-dimensional gaussian distributed vectors.
A = randn(10, 100000)
% Estimate differential entropy for the underlying random vector.
tim.differential_entropy_kl(A);
Core count
----------
The maximum number of threads Matlab uses for parallel computation is limited by `maxNumCompThreads`, which on my computer and Matlab version is set to 8. Check this value by executing on Matlab console:
maxNumCompThreads
If your computer has a larger amount of logical processors (e.g. 8 physical cores + hyperthreading = 16 logical processors), set this number higher to make full use of them:
maxNumCompThreads(16)
Employing all of the cores may make the computer unresponsive during the computation. While this is efficient, for multitasking it may be more productive to reserve some processors for other tasks (e.g. use 14 instead).
Source code
-----------
The source code for TIM is hosted on [GitHub][] in a [Git][]
repository. Assuming you have Mercurial installed, the repository can
be cloned from the command-line by
git clone https://github.org/kaba2/tim
The source code always reflects the current development; it is unstable.
To obtain the source code corresponding to this version, write
[[+Verbatim]]:
git checkout [[tim_version]]
[GitHub]: http://github.com/kaba2/tim
[Git]: http://git-scm.com
License
-------
TIM is licensed under the [MIT license][MIT].
[MIT]: http://opensource.org/licenses/mit-license.php