Eric Bruning retweeted
this is wild — kNN using a gzip-based distance metric outperforms BERT and other neural methods for OOD sentence classification
intuition: 2 texts similar if cat-ing one to the other barely increases gzip size
no training, no tuning, no params — this is the entire algorithm:
![for (x1, _) in test_set: Cx1 = len(gzip.compress(x1.encode())) distance_from_x1 = [] for (x2, _) in training_set: Cx2 = len(gzip.compress(x2. encode()) x1x2 = " ".join([x1, x2]) Cx1x2 = len(gzip.compress(x1x2. encode()) ncd = (Cx1x2 - min(Cx1,Cx2)) / max(Cx1, Cx2) distance_from_x1.append(ncd) sorted_idx = np.argsort(np.array(distance_from_x1)) top_k_class = training_set[sorted_idx[:k], 1] predict_class = max(set(top_k_class), key=top_k_class.count)](https://pbs.twimg.com/media/F05HxqsWwAAHRCI.jpg?name=small&format=webp)
ALT for (x1, _) in test_set: Cx1 = len(gzip.compress(x1.encode())) distance_from_x1 = [] for (x2, _) in training_set: Cx2 = len(gzip.compress(x2. encode()) x1x2 = " ".join([x1, x2]) Cx1x2 = len(gzip.compress(x1x2. encode()) ncd = (Cx1x2 - min(Cx1,Cx2)) / max(Cx1, Cx2) distance_from_x1.append(ncd) sorted_idx = np.argsort(np.array(distance_from_x1)) top_k_class = training_set[sorted_idx[:k], 1] predict_class = max(set(top_k_class), key=top_k_class.count)
this paper's nuts. for sentence classification on out-of-domain datasets, all neural (Transformer or not) approaches lose to good old kNN on representations generated by.... gzip aclanthology.org/2023.findin…
Eric Bruning retweeted
Even more animations can be found here: bit.ly/EuropesfirstLI
Eric Bruning retweeted
Here are the extraordinary 1st results from #MTGI1's Lightning Imager!⚡️
We can now for the first time detect lightning over Europe & Africa👏
Watch here: youtu.be/wjNq-xMWE28
Please note: These animations were created from raw preliminary data and are not for operational use.
Eric Bruning retweeted
The 1-minute Infrared images with an overlay of #GLM Flash Extent Density showed abundant lightning activity associated with this Mesoscale Convective System: cimss.ssec.wisc.edu/satellit… #IAwx #MOwx #ILwx
Eric Bruning retweeted
Reminder: If you've used MetPy, we'd love for you to take our 2023 User Survey, which closes at the end of the week. This should only take 5-10 minutes and is really important for guiding our work and reporting to our NSF sponsor. forms.gle/s312GsEjGFR2p1os6
Eric Bruning retweeted
Are you ready to be thunderstruck?
We will soon reveal the first results from #MTGI1’s Lightning Imager! ⚡️
This is the FIRST EVER 🛰️ instrument designed to detect lightning over Europe & Africa!
Save the date and join @eumetsat, @esa & @LDO_Space next week to find out more 👇
Eric Bruning retweeted
🌪️ Don't miss the new MetPy Monday tutorial on our YouTube channel, showing you how to use mouse click events to draw weather fronts and other features on a map with Python. 🗺️#MetPyMonday #WeatherVisualization #PythonProgramming youtu.be/I5d6ze6kRGU
Eric Bruning retweeted
As we always do at the start of #LightningSafety Awareness Week, let’s start with a spelling lesson to remind you what we’re talking about this week. It’s #lightning. #LSAW23
Eric Bruning retweeted
Supercell + high speed camera = awesomeness at 100,000fps! Here’s a CG with multiple return strokes. #okwx #lightning
Eric Bruning retweeted
Hey! We have a session! Sarah Bang, @WxSarahS , and I are convening a session @theAGU annual meeting on Advancements in Lightning Meteorology, the session info can be found here:
agu.confex.com/agu/fm23/prel…
It's a co-organized session with ASE and Atmospheric Sciences.
Eric Bruning retweeted
One reason to have multiple lightning datasets when working decision support for #LightningSafety. This lightning flash is real but mislocated. Radar, satellite, GLM, and LMA all do not support lightning is this area of #tnwx near Lawrenceburg
Eric Bruning retweeted
Good day at Texas Tech for a good presentation on lightning research among other things. Thank you Dr Kelcy Brunner.
Eric Bruning retweeted
My first upward lightning strike captured. Single 25sec exposure. This was taken around 11pm West of Slaton, looking West to the South of Lubbock, Texas @NWSLubbock #TXwx
Eric Bruning retweeted
14 Close Range CGs Over Lubbock youtu.be/ExF2uE3VpkA | @WeatherNation @weatherchannel #txwx #lightning
Eric Bruning retweeted
Lightning over downtown Lubbock, TX Saturday night. This was a single shot 5 sec. long exposure. #lightning #lubbock #texas #txwx @NWSLubbock – at Lubbock, TX
Eric Bruning retweeted
Have you used MetPy? We'd love for you to take our 2023 User Survey. It should only take 5-10 minutes and is really important: results are used in our reports to NSF and guide our on-going improvements. Feel free to share with others who might miss it. forms.gle/BxcMzFG41MaJo1sX9
Eric Bruning retweeted
Happy to announce that I'll be continuing studies in atmospheric electricity (TRACER and Phased-Array Imaging Radars!) at @Atmo_TTU as an RA under @deeplycloudy!
Excited for the future, gig'em and guns up!
Eric Bruning retweeted
Jiménez Tortilleria y Taqueria in Lubbock separates itself from the local pack by offering tacos filled with guisados and topped with fried eggs. texasmonthly.com/food/jimene…
Eric Bruning retweeted
Students! Interested in joining this summer's Unidata Users Workshop in Boulder, CO? Travel support is available for up to ten students. Apply for support by April 27, 2023! buff.ly/3mr3YWO































