406 karma · joined Feb 8, 2012 (14y ago) · 180 submissions
1.
Visualization of Covid-19 infection rates(stsievert.com ↗)
1 points · by skierscott · 6y ago · discuss
comment 8y ago · link · parent
Neural nets should return a low confidence score. But, the popular approach (described below) ignores that. Neural nets ignore confidence because of a technique called softmax [1].
This happens as the final operation of a neural net, and is required for training.
Softmax is a tool to make an array of positive numbers look like a probability distribution:
out = x / x.sum()
x[i] is a class prediction, but x.sum() != 1. Say if the network was uncertain, x[cat, dog] = [0.03, 0.01]. These are small values that do not imply great confidence (the network was trained on vectors with out.sum() = 1. The network would predict “dog” using softmax because out[dog] = 0.75 > 0.25 = out[cat].But then in inference/prediction, the confidence is ignored. What if x.sum() is small? That would imply that the network is uncertain.
comment 8y ago · link · parent
> In other words, once the agreement is signed, GCBD — a company solely owned by the state — would get a key that can access all iCloud user data in China, legally.
What user data will this decrypt? Are iMessage and FaceTime still safe?
comment 8y ago · link · parent
http://stsievert.com/blog/2015/01/31/the-mysterious-eigenval...
comment 9y ago · link · parent
Most of mine have to do with developer productovity and I didn’t find until Python 3.5.
– @, the matmul operator
– fstrings (f”{foo}”)
– parameter typing (foo: int = 0) which has exciting work with Cython
– other async features. I forget what library it was (tensorflow?) but for Python 3 it had better async support
16.
TensorFlow meets PyTorch with Eager execution(medium.com ↗)
3 points · by skierscott · 9y ago · discuss
comment 9y ago · link · parent
This makes Dask (pure Python paralleization) run 20% faster https://twitter.com/mrocklin/status/923581208482721794 according to Matthew Rocklin, the main developer
comment 9y ago · link · parent
http://stsievert.com/blog/2017/06/11/coreml/
I verified this because I'm a graduate student studying ML and I'll likely use this.
comment 9y ago · link · parent
Briefly, the benefits of PyTorch are
* easy conversion to NumPy arrays (meaning rest of Python can be used!). This is a bottleneck in Tensorflow; for reasonable sizes, PyTorch is 1000x faster.
* trackbacks are easy to follow (because defines graph by running)
* it’s as fast as tensorflow [2] (or at least torch is, which calls the same C functions as PyTorch, and there’s a tweet [4] by a core dev saying to expect the same speeds). Plus on the web I’ve only found anecdotes that support PyTorch faster than tensorflow.
* it’s easy to extend; everything is a simple Python class. e.g., see their different optimizers [3]
[1]:http://stsievert.com/blog/2017/09/07/pytorch/
[2]:https://github.com/soumith/convnet-benchmarks
[3]:https://github.com/pytorch/pytorch/tree/master/torch/optim
[4]:https://twitter.com/soumithchintala/status/83545486710789734...
comment 9y ago · link · parent
comment 9y ago · link · parent
One first hand story: this person searched a database to find tax records for a specific individual and their income. The records were de-anonymized but there’s enough data there he could figure it out.
We should design systems to preserve individual privacy. The person I heard the story from had no business in this persons tax records.
comment 9y ago · link · parent
comment 9y ago · link · parent
The Keras lead developer wrote a post called "The future of deep learning"[1]. The podcast Partially Derivative has a good summary of it[2].
On the implementation side, I'm looking forward to distribution. Computers are all around us, sitting by idly – how can we put them to use? How can we make them secure? We're starting to see integration of ML models into mobile systems (with Apple's .mlmodel and ARKit).
[1]:https://blog.keras.io/the-future-of-deep-learning.html
[2]:http://partiallyderivative.com/podcast/2017/07/25/the_future...
[3]:http://papers.nips.cc/paper/4390-hogwild-a-lock-free-approac...
comment 9y ago · link · parent
The example they present from that page:
\documentclass{article}
\usepackage{luacode}
\begin{document}
\pagestyle{empty}
\begin{luacode*}
function esn (n)
return (1 + 1/n)^n
end
function etn (n)
tex.print(string.format('%5d & %1.8f \\\\', n, esn(n)))
end
\end{luacode*}
Convergence to $e$:
\begin{tabular}{ll}
\rule[-2mm]{0pt}{4mm}$n$ & $(1 + \frac{1}{n})^n$ \\
\hline
\luadirect{
for n = 10, 110, 10 do
tex.print(etn(n))
end
}
\hline
\end{tabular}
\end{document}
which allows a pretty table to be printed in the document.comment 9y ago · link · parent
> that can also become a full desktop computer with an option for a compatible keyboard, mouse, and monitor ... It can be a desktop computer and phone all-in-one.
I'm interested to see their solution. How useable will the interface be?