HN user

inputcoffee

1,760 karma

@inputcoffee

inputcoffee.com

The big question in data science is: should I spend more time learning Python or R?

The answer is always: math

Posts27
Comments404
View on HN
research.fb.com 7y ago

Horizon: Facebook’s Open Source Applied Reinforcement Learning Platform

inputcoffee
174pts21
news.ycombinator.com 8y ago

Ask HN: Why does everything break immediately when starting a new language?

inputcoffee
1pts2
www.mckinsey.com 8y ago

A machine-learning approach to venture capital

inputcoffee
1pts0
news.ycombinator.com 9y ago

Ask HN: How do you feel about ghostwriters?

inputcoffee
2pts0
blogs.scientificamerican.com 9y ago

Errol Morris (Fog of War) Studied with Thomas Kuhn (Structure of Sc. Revolution)

inputcoffee
2pts0
twitter.com 9y ago

Steve Sinofksy Finds HBO's Silicon Valley Suggests Friends Upvote HN

inputcoffee
3pts1
www.bbc.co.uk 9y ago

Macron condemns 'massive' hacking attack

inputcoffee
130pts242
www.washingtonpost.com 9y ago

Free Higher Education to Be Introduced in New York State

inputcoffee
2pts0
news.ycombinator.com 9y ago

Ask HN: Why does GitHub not have purpose of the module in the comments?

inputcoffee
2pts1
newrepublic.com 9y ago

Who Will Win the 2016 Nobel Prize in Literature?

inputcoffee
1pts0
inputcoffee.com 9y ago

Product Ideas for Twitter

inputcoffee
3pts0
inputcoffee.com 9y ago

To: Jack Dorsey CC: Sundar Pichai, Bob Iger Re: What Should Twitter Do?

inputcoffee
1pts0
inputcoffee.com 9y ago

Startups Should Be the Purview of the Psychology Department

inputcoffee
1pts0
inputcoffee.com 9y ago

Startups Should Be the Purview of the Psychology Department

inputcoffee
2pts2
inputcoffee.com 9y ago

The most notable luminaries of our time are wrong to fear AI

inputcoffee
19pts44
mmcardle.github.io 9y ago

Graphically Design the Database for Your Django Code

inputcoffee
1pts1
www.weforum.org 9y ago

People in developed countries consistently overestimate immigration levels

inputcoffee
2pts0
www.weforum.org 9y ago

Things we need are getting more expensive. Other stuff is getting cheaper. Why?

inputcoffee
2pts0
medium.com 9y ago

How to not be impressed by spurious correlations

inputcoffee
4pts2
techcrunch.com 9y ago

DraftKings raises $150M in new funding just in time for the NFL season

inputcoffee
1pts1
www.bloomberg.com 9y ago

Central Bankers Spurn Call for Radical Approach at Jackson Hole

inputcoffee
3pts0
www.washingtonpost.com 9y ago

ITT is no longer allowed to enroll students who rely on federal loans and grants

inputcoffee
204pts130
www.weforum.org 9y ago

This economist asked people to flip a coin on important life decisions

inputcoffee
1pts0
disruptiveinnovation.org 9y ago

How an Anomaly Focus Eliminates Bias

inputcoffee
8pts0
thenextweb.com 9y ago

Kobe Bryant is now a venture capitalist, because what else do rich guys do?

inputcoffee
1pts0
news.ycombinator.com 9y ago

Ask HN: How important is “general knowledge” to you?

inputcoffee
2pts3
www.ivoryturret.com 9y ago

Show HN: Another HN clone to find great academic papers

inputcoffee
1pts0

The Fidelity "minus sign mistake" didn't create a loss. The mistake was in relaying the information to the end user. It didn't actually cause a loss of that magnitude.

That is like saying if I mistyped in a word doc, that word created the loss.

I am not offended that you think I may not program. That is fine. (I mean less than some, more than others. I have coded up the examples I brought up.)

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.

True, if we were talking about Data science, and you were bringing up Python or R or Julia, fair enough.

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?

Well, I assume people write mountains of code in the library. If you're making a machine learning product, that is still a lot of work.

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.

I am always confused when people talk about the language itself.

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?

I was waiting for the critique... but I never quite saw it.

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.

I've been trying to explain to people why I think ML is Stats rebranded but this is the most succinct expression of that sentiment:

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.

I don't think it would be questions.

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.

It was thought that one way of finding information is to ask your network (Facebook and Twitter would be examples), and then they would pass on the message and a chain of trusted sources would get the information back to you.

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?

I admit, it really makes you think about iterations and MVP in a new way.

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?

This is really interesting.

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

These declarations of valuation should be followed by a little note explaining what multiple of earnings (or, failing that, sales) this represents, and how fast it is growing.

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)

There are so many little details to remember when you implement a Neural Network from "scratch". Or, I suppose, even if you do not.

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.

Accepting the null hypothesis has utility only if you have some reason to believe it would not be accepted.

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.

Alternative take: there isn't that much low hanging fruit there.

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.

Insider trading is wrong based on the theory that the insider -- the owner of some shares -- has a fiduciary duty to the company.

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.)

Well, if you accept the premise that this is "fine and good", then why should[edit:n't, as in why shouldn't] the PE class beat the S&P.

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.

It would be more interesting to see if the top Private Equity firms are consistently the top firms. note: if private equity matches the market, the top firms beat it.

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?

This doesn't take away from the exercise, but I notice the model seems to "predict" the movement just after it occurs.

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.

Alternative explanation for modern writers: write then there is less breaking news.

“Important” news feels important and one may feel more justified in attending to it.

You have it backwards: those neurons firing is my free will.

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.

The majority -- perhaps the vast majority -- of headge funds are long/short funds.

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.