That is like saying if I mistyped in a word doc, that word created the loss.
1,760 karma · joined August 5, 2016
inputcoffee.com
The big question in data science is: should I spend more time learning Python or R?
The answer is always: math
That is like saying if I mistyped in a word doc, that word created the loss.
But you haven't responded to the argument. If someone urges you to use Racket, and you have task in front of you (say, put up a website), it sort of matters whether Racket has a framework more than if it has brackets, indents or curly braces.
But if you're talking about Racket, I would want to know what you can do with it. Does it have a data science library? A web app framework?
However, writing your own Tensorflow interface would take several human lifetimes to get it right, and Google already has provided it. So it seems that is not the part you would re-write no matter how good the language is.
In my experience, python is used for Tensorflow, or Pandas, or Django, or Flask, or pytorch or something else that runs on top of it. Sometimes it is even more specialized and I need a wrapper for an API to let me talk to some web data. Maybe I need a crawler/scraper and a parser. There is a specialized language on top of the language.
So when someone says, oh this language is better with objects, or has some syntax thing or the other, or I can reason about it I am left confused.
Its like if I were talking to a professional shoe designer and I ask for hiking boots and they tell me that they're really into having at least two tones to offset the lace and the heels or something.
What am I missing? I want to reason about the language too, but doesn't that pale in comparison to being able to run a specialized library?
Imho, the data problem Tidyverse is trying to solve is basically the ones we face in a database. So, select, join, inner join and so forth. Show me all the rows in this datatable where the 4th columm is larger than the 6th column and the number itself is odd. Something like that.
There might be other ways to do it, but you want your select, filter, summarize, mutate etc functions to all work with each other, pipe to each other and be compatible.
Maybe there is a better way to do all this -- I haven't seen it but I am not an expert -- but you have to show that to me.
So, in base R, walk through a set of example of mutating, joining, filtering and so forth, and show me how they are all easier. Then I'll say, wow there is an alternative to this Tidyverse thing. But in lieu of that demo, this felt more like an intro to a complaint than an actual complaint.
Edit: Also, its funny that Wickham is (apparently) such a nice fellow that people go out of the way to be nice to him in critiques.
> Taking averages, grouped by something? That's AI now.
I think that is right. The algorithm that does the grouped averages is machine learning, and if you put error bars around it, it is stats.
To address your concern: I wouldn't worry about the relevance of applying math and logic to the world. It has always been growing.
Suppose you like fountain pens, and you recommend certain ones. One of your friend looks for fountain pens that their friends recommend and finds the ones you like.
That is just one example of things that don't require explicit questions.
Another one might be you have searched for books or other things and then they follow the same "path". So long as you have similar interests it might work.
People haven't solved this issue, but there is a lot of research out there on networks of connections potentially replacing certain kinds of search.
I am being purposefully vague because I don't think people know what an effective version of that would look like, but its worth exploring.
If you have some data you might ask questions like:
1. Can this network reveal obscure information?
2. When -- if ever -- is it more effective than indexing by words?
Are the articles the same as he had? Did you get a snapshot before it went down?
I am surprised you said you found flask lacking though, because I would have thought they were similar. Can you say more about what you found to be lacking in terms of performance/team, size/code and tooling?
I would love to see something like this for other successful companies.
Too often, we see the tech stacks of famous firms, but not the stacks that preceded them.
It would be very interesting to note if, say, 80% of unicorns started their life as RoR, or PHP projects. It tells you one of two things:
1. Which frameworks were popular n years ago (where n is the average time it takes from launch to unicorn)
2. Which framework actually helps you get an MVP off the ground
Is that high? Low? about right?
Well, it depends if Slack made $100 million in sales and is flat, or if it did $2B in sales and is doubling every year.
(I assume that it doesn't have earnings because its still growing and plowing all that money back into the business)
In finance, I've seen people compute deals worth billions of dollars using excel spreadsheets and a team of MBAs.
You know what would be a great contribution? An extensive set of unit tests, or even just problems with solutions. That way people can write their own implementations and test them. And even if a person were to implement the net in Pytorch of Tensorflow, they could test the work.
So there would be a matrix of weights, and a vector of input nodes, and the "answer" would be the output vector. Then there would be another "answer" which is the output with a particular activation function, and so on.
This library would just be there so people who are doing their own implementation can test their work.
As I said, a unit test would work too but then it would have to be language specific. Just the matrix and answer would be language agnostic.
For people who think: can't you just make up an example yourself using a sheet of paper or in excel.
Yes, for most purposes this is fine, but if you forget one little implementation detail of a three layer network with a ReLu, you really want an external way to check that.
It should read: "Starting a Company Outside Silicon Valley Saved Me Just $1.1M"
Accepting it per se has no particular value. You could generate several random datasets, and accept/reject the null hypothesis between them ad infinitum.
To put it another way, its only interesting if its surprising.
Hear me out.
"To the person who only has a hammer, everything looks like a nail."
The data in front of your is the data you want to analyze, but it doesn't follow that that is the data you ought to analyze. I predict that most of the data you look at will result in nothing. The null hypothesis will not be rejected in the vast majority of cases.
I think we -- machine learning learners -- have a fantasy that the signal is lurking and if we just employ that one very clever technique it will emerge. Sure random forests failed, and neural nets failed and the SVR failed but if I reduce the step size, plug the output of the SVR into the net and change the kernel...
Let me put an example: suppose you want to analyze the movement of the stock market using the movement of the stars. Adding more information on the stars, and more techniques may feel like you're making progress but it isn't.
Conversely, even a simple piece of simple information that requires minimal analysis (this companies sales are way up and no one else but you know it) would be very useful in making that prediction.
The first data set is rich, but simply doesn't have the required signal. The second is simple, but has the required signal. The data that is widely available is unlikely to have unextracted signal left in it.
That's why there are no equivalents in commodities or real estate.
However, if Bezos were to buy a "ton" of real estate in the immediate area and then intervene in the process solely to enrich himself, the share holders of Amazon may feel they have used their money to enrich himself.
(I am not suggesting anything of the sort actually happened in this case.)
Let me tell you a story that may or may not be true. We would need a study to tell us.
There are some very smart people who have noticed that debt is much cheaper than equity. They go into a company and borrow against the cash flows of the company. They borrow enough to buy the company and have cash leftover. Essentially they find money for free. In order to do this, they have to know the bankers who trust them, know how to value the firm and so forth. They go out and make a killing year after year.
You and I look at this and think, how hard can it be? We put up a shingle, and we try to do the same thing. Now we don't have the same relationships so we put everything on our credit card. We can't value the company properly and make a few mistakes. We lose a lot of money for a few years and shut down.
Let's say that when you average your and my performance with the other company, we get the S&P 500 average. And we conclude there is nothing in private equity and that there is no skill involved.
Is that the right way to look at it? Or should say that there is PE as "properly" practiced?
I suggest a simple test: if that other firm makes money year after year then there is skill. If their company is up one year and down the other, and you and I have a good year and then a bad year, it may be luck.
I am not surprised that mediocre performers will enter any market and drag down the average. In order to tell if it is "skill", you have to see consistency.
To put it another way: Is it more likely than average that Sequoia's next fund will beat the S&P?
It just lags the current price. If there is no alpha in the price signal, then the rational thing to do is to just stay at the current price, which is what the algo seems to have learned to do.
“Important” news feels important and one may feel more justified in attending to it.
In other words, I am not a product of neurons firing, I am neurons firing.
I feel like we should reread Descartes' Meditations. But roughly speaking, "I think therefore I am" can be interpreted as "I am thought."
What is essential to me is the information processing that happens as a result of the neurons firing.
Or the worst because there is little opportunity?
In the canonical example, if they think that Pepsi will perform well because of some new health products, then they will go long Pepsi and short Coke. The idea is that all the other events they haven't looked at: a crash, currency shifts, people decide sugar is bad for you, NYC soda ban etc will hit both companies equally hard. The only thing they want to bet on is their single hypothesis.
They can't always do this cleanly, but to the extent they can, they diminish some of the risk around the correlation of asset classes.