Skip to content

Commit 1fbd2df

Browse files
committed
Advances in documentation and examples.
1 parent ffea773 commit 1fbd2df

File tree

16 files changed

+106
-354
lines changed

16 files changed

+106
-354
lines changed

Project.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ description = "StreamingSampling is a Julia-based proof-of-concept implementatio
77
[deps]
88
Determinantal = "2673d5e8-682c-11e9-2dfd-471b09c6c819"
99
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
10-
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
1110
Ipopt = "b6b21f68-93f8-5de0-b562-5493be1d77c9"
1211
JuMP = "4076af6c-e467-56ae-b986-b466b2749572"
1312
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
# StreamingSampling
1+
# StreamingSampling.jl
22

3-
StreamingSampling is a Julia-based proof-of-concept implementation of a streamed variant of maximum-entropy sampling (UPmaxentropy). It is designed to process large datasets stored on disk with minimal impact on RAM. The method first computes first-order inclusion probabilities using a DPP-based heuristic, and then feeds these probabilities into the classical UPmaxentropy algorithm to produce diverse samples.
3+
Documentation for [StreamingSampling](https://github.com/emmanuellujan/StreamingSampling.jl).
44

5-
## References
5+
StreamingSampling is a Julia-based proof-of-concept implementation of a streamed variant of maximum-entropy sampling ([UPmaxentropy](https://www.rdocumentation.org/packages/sampling/versions/2.11/topics/UPmaxentropy)). It is designed to process large datasets stored on disk with minimal impact on RAM. The method begins by computing first-order inclusion probabilities using a [DPP](https://dahtah.github.io/Determinantal.jl/dev/)-based heuristic, and then feeds these probabilities into the classical UPmaxentropy algorithm to produce diverse samples.
66

7-
1. UPmaxentropy — Original maximum-entropy sampling method ([Link](https://www.rdocumentation.org/packages/sampling/versions/2.11/topics/UPmaxentropy))
8-
2. DPPs for diversity sampling — general background on determinantal point processes ([Link](https://dahtah.github.io/Determinantal.jl/dev/))

docs/Manifest.toml

Lines changed: 0 additions & 322 deletions
This file was deleted.

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
DocumenterCitations = "daee34ce-89f3-4625-b898-19384cb65244"
4+
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
35
StreamingSampling = "e1325ea1-13b9-452d-9115-4dbfefa12b3b"

docs/citation.bib

Whitespace-only changes.

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DocMeta.setdocmeta!(
1010
recursive = true,
1111
)
1212

13-
ENV["BASE_PATH"] = joinpath(@__DIR__, "../")
13+
ENV["BASE_PATH"] = joinpath(@__DIR__, "../")
1414

1515
# Citations ####################################################################
1616
bib = CitationBibliography(joinpath(@__DIR__, "citation.bib"))
@@ -54,7 +54,7 @@ makedocs(
5454
expandfirst = [],
5555
draft = false,
5656
pages = ["Home" => "index.md",
57-
"Install and run examples" => "install-and-run-examples.md",
57+
"Install and run" => "install-and-run.md",
5858
"Basic examples" => basic_examples,
5959
"API" => "api.md"],
6060
format = Documenter.HTML(;

docs/src/api.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# API Reference
2+
3+
This page provides a list of all documented types and functions and in StreamingSampling.jl.
4+
5+
6+
```@autodocs
7+
Modules = [StreamingSampling]
8+
Order = [:type, :function, :constant]
9+
```

docs/src/index.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22
CurrentModule = StreamingSampling
33
```
44

5-
# StreamingSampling
5+
# StreamingSampling.jl
66

77
Documentation for [StreamingSampling](https://github.com/emmanuellujan/StreamingSampling.jl).
88

9-
```@index
10-
```
9+
StreamingSampling is a Julia-based proof-of-concept implementation of a streamed variant of maximum-entropy sampling ([UPmaxentropy](https://www.rdocumentation.org/packages/sampling/versions/2.11/topics/UPmaxentropy)). It is designed to process large datasets stored on disk with minimal impact on RAM. The method begins by computing first-order inclusion probabilities using a [DPP](https://dahtah.github.io/Determinantal.jl/dev/)-based heuristic, and then feeds these probabilities into the classical UPmaxentropy algorithm to produce diverse samples.
1110

12-
```@autodocs
13-
Modules = [StreamingSampling]
14-
```

docs/src/install-and-run.md

Whitespace-only changes.

examples/gen-data/Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[deps]
2+
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
3+
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
4+
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"

0 commit comments

Comments
 (0)