'Accelerating optimization over the space of probability measures', by Shi Chen, Qin Li, Oliver Tse, Stephen J. Wright.
http://jmlr.org/papers/v26/23-1288.html
#optimization #optimizing #gradient
'Log Barriers for Safe Black-box Optimization with Application to Safe Reinforcement Learning', by Ilnura Usmanova, Yarden As, Maryam Kamgarpour, Andreas Krause.
http://jmlr.org/papers/v25/22-0878.html
#optimization #gradient #optimizing
If you need to waste 45 seconds, here's a California scrub-jay trying to decide which peanut to take. The one with the broken shell? The one without the broken shell?? Oh, the suspense! #bird #BirdFeeder #peanuts #jay #optimizing https://www.youtube.com/watch?v=6C3f08dAi08
Design Tips to Hide Layer Lines in 3D Printed Parts - [Slant 3D] knows a lot about optimizing 3D prints so that they can be cranked out ... - https://hackaday.com/2024/03/04/design-tips-to-hide-layer-lines-in-3d-printed-parts/ #3dprinterhacks #massproduction #3dprinting #layerlines #optimizing #dfm
I took a longer break than I initially wanted, but tomorrow we'll finally be back with the first #LetsProfile of the year!
Join me in optimizing various #FrostDB queries! See you there!
'Black Box Variational Inference with a Deterministic Objective: Faster, More Accurate, and Even More Black Box', by Ryan Giordano, Martin Ingram, Tamara Broderick.
http://jmlr.org/papers/v25/23-1015.html
#variational #optimizer #optimizing
(8/8) #Optimizing nested #datastructures in #Python:
**Profiling:** Before optimizing, profile your code to identify resource-intensive areas and focus on the most impactful improvements.
Example: Use Python's `cProfile` module to analyze code performance.
(7/8) #Optimizing nested #datastructures in #Python:
**Generators or lazy evaluation:** Use generators or lazy evaluation techniques to process data incrementally, saving memory and improving performance.
Example: Use a generator to read large files line-by-line.
(6/8) #Optimizing nested #datastructures in #Python:
**Data compression:** Reduce memory usage by compressing data with repetitive patterns using gzip or zlib.
Example: Compress large text data with gzip.
(5/8) #Optimizing nested #datastructures in #Python:
**Appropriate data structures:** Choose data structures based on access patterns. Use dictionaries when accessing elements by specific keys.
Example: Use a dictionary to store items with unique identifiers.
(4/8) #Optimizing nested #datastructures in #Python:
**Dictionaries with fixed keys:** If inner dictionaries have constant keys, consider using named tuples or custom classes for better performance.
Example: Replace `{'x': 1, 'y': 2}` with a named tuple or class `Point(x=1, y=2)`.
(3/8) #Optimizing nested #datastructures in #Python:
**Use NumPy or Pandas:** For numerical computations or tabular data, utilize NumPy arrays or Pandas DataFrames for faster operations.
Example: Convert a nested list into a NumPy array for mathematical operations.
(2/8) #Optimizing nested #datastructures in #Python:
**Custom classes:** Create specific classes for inner dictionaries with fixed keys to improve efficiency, readability, and maintainability.
Example: Instead of `{'name': 'John', 'age': 30}`, use a `Person` class with attributes `name` and `age`.
(1/8) #Optimizing nested #datastructures in #Python:
1. **Reduce nesting:** Avoid unnecessary layers of nesting. Flatten the structure or use simpler data types like tuples when inner dictionaries have few keys.
Example: Instead of `List[Dict[Any, List[Dict[Any, Any]]]]`, consider `List[Tuple[Key, Value]]`.
Everybody claims to do org transformation these days. So many people brag to have "done" transformations. I once met a 29-year-old who boosted she had "guided several larger transformations in corporations."
Fine by me.
We believe, however, that #transformation, by definition, is #transformative: It means to "overcome the system"! That is the opposite of #optimizing, #implementing, or bringing in #tools. Here, a system's principles must change from set A to set B.
Can you claim that?
#betacodex
To #SEO or not to #SEO, that is the question. Whether 'tis nobler in the mind to suffer the slings and arrows of outrageous #rankings, or to take arms against a sea of troubles, and by #optimizing end them?