Comments (2)
Thanks @epapoutsellis some initial thoughts but I can take another look next week -
- PDHG with
verbose=2
does not print primal-dual gap as before
A callback to print the primal-dual gap would be useful for CIL and shouldn't be difficult to write - I can take a look next week.
- Different precision in objective values between
ProgressCallback
andTextProgressCallback
I think this is a question for @casperdcl. But are you referring to the different values for it/s or the 2dp vs3dp for ProgressCallback
and TextProgressCallback
?
- There is no
timing
attribute inPDHG
orAlgorithm
class. This used to return a list with times (perupdate_objective_interval
) without measuring computational time of the objectives.
Again, it should be possible to write a callback for this. What timings are you interested in? Being able to time each iteration, excluding the objective calculation?
- What does it mean
13.57it/s
? For some stochastic algs, it would be nice to get the time per one iteration when a stochastic gradient is used and the time per one iteration when full gradient iscomputed.
13.57it/s
is the number of iterations per second so the reciprocal of time per iteration.
from cil.
Since we compute primal-dual gap by default, I think is better to print it (if one wants) as we did before.
Also, it is strange to see a continuous representation for iterations
, e.g., 13.57 iterations. Seconds per iteration is more reasonable which is equal to Seconds per execution time for the update
method.
Why in ProgressCallback
we get 11.57it/s
and with TextProgressCallback
13.01 it/s
?
We can do many things with callbacks
but previous default behaviour was much better. Also, printing in jupyter is very strange.
from cil.
Related Issues (20)
- Documentation for code which relies on optional packages is not rendered HOT 5
- islicer should raise error if origin is set to an unexpected string
- Inconsistency in how logging works across CIL HOT 1
- Automatically tested code examples in the documentation
- GPU test markers
- CIL unittests on windows test_dataexample.TestRemoteData
- Upgrade TIGRE plugin to TIGRE 2.6 HOT 3
- Add options for step-size rules and pre-conditioners to the GD algorithm
- SGD documentation - small changes HOT 1
- docker: `23.1.1` HOT 1
- functions and `out` argument HOT 2
- Documentation: TIGRE plugin docs are not rendered
- Incorrect objective calculation for SIRT HOT 1
- Gradient descent objective is stored twice for the initial value
- docstring ugly formatting for Algorithm
- callbacks not a package and limited doc available HOT 2
- Add functionality to islicer for 2D data
- Change in behaviour of PDHG HOT 4
- BlockDataContainer geometry and pnorm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cil.