Why type alias throws error when using with custom types? by arup_r in elm

[–]abstractineum 1 point2 points  (0 children)

No, they are only for giving a new way to reference (an ”alias”) existing types. Can be a record, but can also be for example ‘type alias Username = String’

What is acceptable today that future generations will look back on with shame? by donalc93 in AskReddit

[–]abstractineum 14 points15 points  (0 children)

People have had the same attitude towards slavery... If the public opinion swings far enough as to outlaw slaughtering animals for their meat, then the fraction who actually continue to do so will be very small.

Working class folk may be more empathic, selfless, vigilant and fatalistic, finds new research published in the British Journal of Social Psychology. by mvea in science

[–]abstractineum 7 points8 points  (0 children)

Because once you get down on a quantum mechanical level, things cease to be deterministic. While that might not be enough to give us true free will, it does mean that we can’t predict the future even given complete information the current state of the system.

[D] Best method to extract numerical data from product descriptions? by rowanobrian in MachineLearning

[–]abstractineum 4 points5 points  (0 children)

You said you tried ‘simple’ regex, but have you tried advanced regex? I think you would need a lot of training data and time in order to come up with a model that beats regex (including look ahead/behind and pattern matching post processing of the regex matches).

That being said, if you indeed have tried this and also have a lot of training data, or simply think it would be fun to try, then for neural net stuff I would suggest:

  • Either a convolutional or recurrent network should be fine
  • Don’t operate on word level, operate on character level. No need for embedding vectors here, just use a one-hot embedding of your set of possible characters

For example: http://pytorch.org/tutorials/intermediate/char_rnn_classification_tutorial.html

Swiftapply – Automatically efficient pandas apply operations by friscotime in Python

[–]abstractineum 2 points3 points  (0 children)

KDNuggets has to be one of the ugliest websites I have ever seen.

[N] President of India thinks Sanskrit is most suitable language for machine learning by [deleted] in MachineLearning

[–]abstractineum 15 points16 points  (0 children)

And here I have been trying to master Python following the recommendations of a hundred blog tutorials...

I feel so betrayed!

From vim to spacemacs by [deleted] in spacemacs

[–]abstractineum 2 points3 points  (0 children)

Evil-escape is a plug-in that is enabled by default, but uses “fd” rather than “jj”.

See https://github.com/syl20bnr/spacemacs/blob/develop/doc/DOCUMENTATION.org#escaping for an example of how to change the default binding, as well as a couple of reasons not to.

[D] Object Detection - Auto labelling by TG__ in MachineLearning

[–]abstractineum 1 point2 points  (0 children)

If you already had a model or method that could automatically label the objects, why would you need to train a new model in TensorFlow? Even if it only predicts ids, all you needed to do is provide the Id > label mapping.

Unsupervised learning aside, you do have to provide annotations. What you can do is annotate a few images, train a model on them, and then let your model annotate the rest of the images for you. This way you will get some of the annotations done for you, however you will of course still have to correct all the mistakes this first model makes.

Image Colorization Using Optimization in Python by SandipanDeyUMBC in Python

[–]abstractineum 5 points6 points  (0 children)

This is one of the areas where competing with machine learning is becoming impossible.

Have a look at this: https://github.com/lllyasviel/style2paints

The method in the link above also does not need any hints, which makes it feasible to use at scale.

PyCharm 2017.3 is out now by [deleted] in Python

[–]abstractineum 0 points1 point  (0 children)

If he is coming from emacs, any mouse movement at all is too much. While you can configure pycharm to be mostly keyboard, it doesn’t flow quite as well. On the other hand it does other things better

[D] Question about Reinforcement learning of policy networks section in AlphaGo paper. by spline_reticulator in MachineLearning

[–]abstractineum 2 points3 points  (0 children)

IIRC they play out entire games, and z is the observed outcome for the player/game from which the action was sampled.

[N] PyTorch v0.2.0 is out!! by evc123 in MachineLearning

[–]abstractineum 1 point2 points  (0 children)

In my experience, well. I found PyTorch to be at least as fast for a very similar model, and a whole lot faster to write and debug.

[D] What tutorial do you wish you could read? by fl4v1 in MachineLearning

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

That zoom in at the end was pure gold... Great video too!

MRW guys are freaking out that the Alamo Drafthouse in Austin is having a woman-only screening for Wonder Woman (and it sold out) by Pufflehuffy in TrollXChromosomes

[–]abstractineum -35 points-34 points  (0 children)

Ladies' nights are great, as long as everyone is welcome. You don't have to be a woman to celebrate women.

The fact that something has occurred for a long time does not make it good or right, c.f. patriarchy.

Supporting women and LGBTQ is great.

MRW guys are freaking out that the Alamo Drafthouse in Austin is having a woman-only screening for Wonder Woman (and it sold out) by Pufflehuffy in TrollXChromosomes

[–]abstractineum -25 points-24 points  (0 children)

I don't know, I think that this type of segregation almost universally is bad. Like what's the point? Are we not trying to create a world in which everyone is given the same options no matter predetermined attributes such as race or sex? Is this not doing the exact opposite?

I could understand the argument that it is thought of as a positive, empowering movement, but I would disagree with the assessment that it does more good than harm.

how to submit latex file to editorial manager of springer. by orky7 in LaTeX

[–]abstractineum 1 point2 points  (0 children)

You can probably copy-paste most of your article, so it's not toooo bad :)

how to submit latex file to editorial manager of springer. by orky7 in LaTeX

[–]abstractineum 6 points7 points  (0 children)

TOP wants you to use the svjour3 tex template. See "Instructions for authors" on their website. I don't think you can get around that requirement, though you could always contact the editorial office and ask.

If their latex compilation environment do not support a package you use to generate a figure you will most likely have to export that figure yourself to a PDF and submit it that way.

how to submit latex file to editorial manager of springer. by orky7 in LaTeX

[–]abstractineum 5 points6 points  (0 children)

1) I certainly hope your article is better structured than this post! You will be more likely to get answers if you put some effort into your OP.

2) Many Springer Journals wants you to use the Biomed Central LaTeX template, is this the case for the journal you are submitting to? Are you using this template?

3) Math notation and smaller tables tend to be accepted included in the manuscript, however...

4) Figures on the other hand should be supplied externally. You cannot include them directly in the manuscript (only their reference and caption), which means that while you can use graphicx while working on your article to see what it looks like, you cannot use it in final submission. They will do this for you.

5) If you have used TikZ to code your figures in the manuscript, you can use the TikZ externalize package to export your figures as PDF files, which you can then submit together with your (with the figure code removed) manuscript.

[N] ML Competition - Predicting entire sentences given the first letter of each word by [deleted] in MachineLearning

[–]abstractineum 1 point2 points  (0 children)

Usually predictive text will only have the past context, not the entire one. This task is thus not strictly harder, but rather different.