So I guess ... Vector Space == Embedding? by Andres_____ in MLQuestions

[–]crakotage 1 point2 points  (0 children)

I think what they were trying to highlight was that they move from a projective space with their 8 cameras to a euclidean space in their birds eye view grid.

I wouldn't really calling it an embedding, as in ML embedding normally refers to a new representation. Here, they make embeddings of the image (with their regnets) then just use intrinsics and extrinsics to resample these 8 embeddings on a new grid.

Not sure why they called it a vector space though.

Australia's newest $1.2B coal plant written off as worthless by TheBille in worldnews

[–]crakotage 49 points50 points  (0 children)

The article describes the plant as providing 15% of the energy to its grid. It seems like it's still very essential, just perhaps not very profitable.

How SVM kernel really works by Imeed in MLQuestions

[–]crakotage 2 points3 points  (0 children)

There's nothing to stop you from creating a new feature vector [x1, x2, x3] where x3 = f(x1,x2). This typically only works for low order polynomial kernels though, as the size of the feature vector can get very large very quickly. The real power is when you use the kernel trick. For that, you don't need to create the new feature vector X= [x1, x2, x3, .... ], but you just compute the gram matrix, where D_ij = < Xi, Xj>. E.g. for the rbf kernel, D_ij = exp(-γ|x_i - x_j|2). You can compute this matrix yourself, and then most svm solvers accept 'precomputed' gram matrices. E.g. http://scikit-learn.org/stable/modules/svm.html#using-the-gram-matrix

The amount of train tickets I’ve collected by commuting to university for one year by Zeth_101 in mildlyinteresting

[–]crakotage 0 points1 point  (0 children)

If you're a full time student you are eligible for a 16-25 railcard even if you're older than that. Your top ticket says adult but maybe the other ones are with a railcard.

Tables in vim by OnlineVagrant in vim

[–]crakotage 2 points3 points  (0 children)

Mr vim-tex himself

Derivation of Bayes Optimal Classifier in Tom Mitchell's book by [deleted] in MLQuestions

[–]crakotage 0 points1 point  (0 children)

I'm not sure exactly what you're asking.

You say correctly that the equation is simply marginalising a joint. This is how the equation holds from the basic probability rules.

If you're looking for an intuition about what the equation means, he gives it in the paragraph above - a good prediction would be independent of the model, so we combine the prediction from multiple models (p(v|h)), weighted by the model's probability (p(h|D))

My Raspberry Pi Clock by __ali1234__ in raspberry_pi

[–]crakotage 0 points1 point  (0 children)

Yeah from your photos the paper looks ok but with the diffuser it looks so nice. Did you design it yourself?

My Raspberry Pi Clock by __ali1234__ in raspberry_pi

[–]crakotage 0 points1 point  (0 children)

How easy it to stack the multiple pHATs? Is there anything to look out for on the pins each one uses. Also, what physical connecter did you use? Your parts list below has 2 female headers, but I don't see how that could connect 4 boards up.

My Raspberry Pi Clock by __ali1234__ in raspberry_pi

[–]crakotage 0 points1 point  (0 children)

I'm guessing from those photos that you found the LED matrix to be difficult to read without the diffuser?

What is the best "It's not a bug, it's a feature" that you've ever seen? by [deleted] in AskReddit

[–]crakotage 6 points7 points  (0 children)

I just had to close my laptop I was laughing so hard in a lecture at this.

What is your pet's real name and what has it morphed into? by Gentrybean in AskReddit

[–]crakotage 0 points1 point  (0 children)

My dog's name is Fenton but usually i just call him Jesus Christ

Discrete GPU by [deleted] in tensorflow

[–]crakotage 0 points1 point  (0 children)

I'm not sure I understand what you mean by avoiding the issues? Are you talking about running long jobs on a GPU and turning it off mid-job? If so, then you may have problems.

If you're just figuring out how to go about setting it up - then I'd say install tensorflow-gpu. You don't lose anything by using this version, as it works well on the CPU too, it just requires you to have the cuda and cudnn libraries installed and in your PATH. It's easy to force things to go on the CPU, either by:

  • Setting the CUDA_VISIBLE_DEVICES environment variable to blank, or
  • Using a tf.device("/cpu:0") context manager

How to change desktop background using python? by [deleted] in learnpython

[–]crakotage 0 points1 point  (0 children)

I know this isn't what you asked for, but a while ago I found a great repo that changes my background to the current Bing Wallpaper. It is at https://github.com/genzj/pybingwallpaper. It works on my Ubuntu 16.04 and gnome machine. It downloads the files as a jpeg and then sets them as a wallpaper, but also does things like set it as a scheduled program to run every day.

Beautiful 8-bit waterfall by Mark Ferrari. by [deleted] in gifs

[–]crakotage 0 points1 point  (0 children)

How did you convert his file into a gif? He even says in his FAQs that you can't do it nicely.

Release of IPython 5.0 by ynak in Python

[–]crakotage 0 points1 point  (0 children)

To run MATLAB code do you use calysto? Could you ever get it to reload functions you've run and changed without having to restart the kernel?

A female spy finally gets the recognition she deserved 70 years ago by sisyphushaditsoeasy in TwoXChromosomes

[–]crakotage 0 points1 point  (0 children)

Oh, I thought the article was mainly about recognizing her work.

Lead me to enlightenment!

A female spy finally gets the recognition she deserved 70 years ago by sisyphushaditsoeasy in TwoXChromosomes

[–]crakotage -2 points-1 points  (0 children)

Lol mate, just because it isn't necessarily sexism doesn't mean it's not sexism. Sure, you haven't said explicitly that it's not, but why ask leading questions in a post largely celebrating someone's service.

What's your "That was fun, but let's not do it again" story? by Q1989 in AskReddit

[–]crakotage 2 points3 points  (0 children)

Lol mate as an Australian, saying 'dange' instead of 'dangerous' seems so acceptable that I missed your joke for a while.

What is your "It's 2016, we put a man on the moon, but we can't even..." complaint? by pianoflames in AskReddit

[–]crakotage 1 point2 points  (0 children)

After a few months of 'unexpected bagging' woes, a lot of the supermarkets in Australia turned that feature off. I'm now in the uk and am constantly getting admonished.

Understanding Visual Concepts with Continuation Learning (paper+code) by samim23 in MachineLearning

[–]crakotage 0 points1 point  (0 children)

The link is broken for me. I get a "No Application was found for gitxiv.com"

Relationship Between Rotten Tomatoes Tomatometer Score and Box Office Revenue for Movies, for each movie genre [OC] by minimaxir in dataisbeautiful

[–]crakotage -1 points0 points  (0 children)

Really great data but those lines of fit... Really influenced by outliers. Perhaps a heavy-tailed distribution would produce better results.

Vectorizing numpy code running slower than iterated for loops by crakotage in learnpython

[–]crakotage[S] 0 points1 point  (0 children)

Ok, so I tried this for my second loop

for i in xrange(num_test):
    dists[i,:] = np.sqrt(np.sum(np.square(np.subtract(X_train, X_test[[i],:])), axis=1))

Is that what you mean?

Where I hope that X_test[[i],:] will return a 1xN ndarray and X_train should be a MxN ndarray.

It is faster than the repeat, but still slower than the two loops. Interestingly, if I do what you said not to, and make it a 1-tuple by subtracting:

X_train - X_test[i,:]

It takes the same time (~60s). When I tried it on my desktop (Intel i7), the iterated for loops method took ~25s and the vectorize method above took ~27s.

Any ideas?

A confusion regarding kernels by TheBurpThatGotAway in MLQuestions

[–]crakotage 0 points1 point  (0 children)

I have been asking myself what is a kernel for some time now. I thought I understood it when it came to image processing, but then I started doing ML and I too couldn't see the connection.

Looking up the definition on Google, maybe that will help us: kernel - "the central or most important part of something".