Skip to content

Commit 2a81954

Browse files
authored
Update README.md
1 parent c304ff8 commit 2a81954

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ You can check that the model (i.e., list of parts) that you have provided proper
222222

223223
## Likelihood, Complexity and Evidence:
224224

225-
The following functions are defined in `LogL.cpp`, `Complexity.cpp` and `LogE.cpp`.
225+
The following functions are defined in `LogL.cpp`, `LogE.cpp`, and `Complexity.cpp`.
226226

227227
Users can also get **specific information about an MCM** with the following functions:
228228
- `double`**`LogL_MCM`**`(vector<pair<uint32_t, unsigned int>> Kset, map<uint32_t, uint32_t> Partition, unsigned int N)` returns the log-likelihood of the MCM defined by `Partition`;
@@ -238,6 +238,8 @@ Users can also get **specific information about any subcomplete part (SC-part)**
238238

239239
## Print (in a file) the state probabilities P(s) for the model (and the probability P(k)):
240240

241+
The following functions are defined in `P_s.cpp`.
242+
241243
To print the value of the state probabilities P(s) in the data and in the fitted model, and the values of P(k), one can use:
242244
- (1) the function `void`**`PrintFile_StateProbabilites_OriginalBasis`**`(vector<pair<uint32_t, unsigned int>> Nset, list<uint32_t> Basis, map<uint32_t, uint32_t> MCM_Partition, unsigned int N, string filename = "Result")`, where `Nset` contains the histogram of the original dataset, `Basis` contains the basis on which the specified MCM is defined, `MCM_Partition` contains the partition corresponding to MCM used, and `filename` is a string used to create the output filenames.
243245
- (2) the function `void`**`PrintFile_StateProbabilites_NewBasis`**`(vector<pair<uint32_t, unsigned int>> Kset, map<uint32_t, uint32_t> MCM_Partition, unsigned int N, string filename = "Result")`, where `Kset` is the histogram of occurrence of the states in the data written in any chosen basis, `MCM_Partition` is the partition defining the chosen MCM in the same basis, `N` is the size of the dataset, and `filename` is a string used to create the output file.

0 commit comments

Comments
 (0)