#rstats tip: do you have a text column representing choices along a Likert scale, which you'd like to turn into a numeric 1-N value?
— David Robinson (@drob) January 14, 2019
Try the built-in match() function! pic.twitter.com/H7etoJRFrB
#rstats tip: do you have a text column representing choices along a Likert scale, which you'd like to turn into a numeric 1-N value?
— David Robinson (@drob) January 14, 2019
Try the built-in match() function! pic.twitter.com/H7etoJRFrB
Speeding Up JSON Schema Validation in Python https://t.co/elZmRIMr28
— PyCoder’s Weekly (@pycoders) January 13, 2019
"If you’re building an NLP algorithm today, don’t do it on your own! Start from the best open-sourced algorithms [...] and then give back to the community by open-sourcing your improved algorithm and ideas."
— Sebastian Ruder (@seb_ruder) January 11, 2019
Good advice from @huggingface's @Thom_Wolfhttps://t.co/WMUEbJuaZN
#python lists have the count() method that returns the number of occurrences of an element:
— Daily Python Tip (@python_tip) December 31, 2018
>>> lst = [1, 1, 2, 3, 4, 5, 1, 3, 3, 3, 7, 9, 3]
>>> lst.count(2)
1
Most common item:
>>> max(lst, key=lst.count)
3
Display debug information about the compiled regular expression with re.DEBUG flag.https://t.co/aPjeqC4gCV#python #regexp pic.twitter.com/mdqWQnYrxu
— Daily Python Tip (@python_tip) December 27, 2018
“Technology come and go, but it has a lot in common. Set priorities right. Invest 80% of your learning time in fundamentals. Leave 20% for frameworks, libraries and tools.”” https://t.co/z3XV2PDrkH
— Denny Britz (@dennybritz) December 19, 2018
The same applies to ML. Pick fundamentals over the latest Deep RL algo or xGAN.
Anomaly detector in PyTorch: https://t.co/9D82gvOvUg
— PyTorch (@PyTorch) December 18, 2018
#Numpy append is slow because it creates a copy. See running times of appending 10,000 values from https://t.co/A7EdFeD8ou:
— Daily Python Tip (@python_tip) December 18, 2018
* list.append: 0.0015
* deque.append: 0.0014
* np.append: 0.05
If possible, it is better to allocate the array beforehand. Example: https://t.co/RWo0BmlJZ6
How does one come up with radically new, high impact ideas, and become a senior researcher? I don’t have the answer, but I think being more creative helps. I find that this list of questions help me filter out what I should spend my time working on: pic.twitter.com/ENq3fhG7xK
— hardmaru (@hardmaru) December 15, 2018
Reminder that the combine_words() function in knitr is really really helpful #rstats pic.twitter.com/22HtpOYWg6
— 🎄❄️ Andrew Heiss, festive PhD ❄️🎄 (@andrewheiss) December 14, 2018
TIL — @rstudio edition
— Colin Fay 🤘 (@_ColinFay) December 13, 2018
If you add "# do not edit by hand" on the top of your script, a little flag "This file is read-only" will show the next time you'll open it.
It doesn't prevent from editing the file, but it's a nice flag to use when collaborating.
(I'm on Version 1.2.1147) pic.twitter.com/fyy2lNpiOw
If there's one public speaking tip I wish I'd absorbed earlier, it's this:
— David Smith (@revodavid) December 10, 2018
Pause.
A 5-10 second pause feels like an eternity, but it emphasizes key points, helps the audience absorb your words, and gives you a chance to collect your thoughts. Add a few to your next talk.