Commit b32dcd3
authored
Fixes and improves examples in README and documentation. (finos#32)
* Fixes and improves examples in README and documentation.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Shutdown any currently running backend when exiting Python.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Adds new examples (random forest and bigram counter).
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Adds the examples to the documentation.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Bump version number.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Run and test the documentation examples before publishing.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Donwload the example file for the bigram example instead of storing it in the repository.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Removes the use of argparse in examples.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Shows the package version in the documentation's sidebar.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Uses Scaler's default address for the local managed backend.
Signed-off-by: rafa-be <raphael@noisycamp.com>
* Rewrite and improve examples from the quickstart tutorial.
Signed-off-by: rafa-be <raphael@noisycamp.com>
---------
Signed-off-by: rafa-be <raphael@noisycamp.com>1 parent c577402 commit b32dcd3
File tree
28 files changed
+720
-387
lines changed- .github/workflows
- docs/source
- _static
- _templates
- tutorials
- examples
- api_usage
- california_housing
- count_bigrams
- portfolio_metrics
- images
- parfun
- backend
28 files changed
+720
-387
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| 43 | + | |
40 | 44 | | |
41 | 45 | | |
42 | 46 | | |
| |||
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
48 | 59 | | |
49 | 60 | | |
50 | 61 | | |
51 | 62 | | |
52 | 63 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | | - | |
| 74 | + | |
62 | 75 | | |
63 | | - | |
64 | 76 | | |
65 | | - | |
66 | | - | |
| 77 | + | |
67 | 78 | | |
68 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
69 | 83 | | |
| 84 | + | |
70 | 85 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 86 | + | |
| 87 | + | |
74 | 88 | | |
75 | 89 | | |
76 | 90 | | |
| |||
80 | 94 | | |
81 | 95 | | |
82 | 96 | | |
83 | | - | |
| 97 | + | |
84 | 98 | | |
85 | | - | |
86 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
87 | 108 | | |
88 | 109 | | |
89 | 110 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments