Skip to content
#

Machine learning

machine-learning logo

Machine learning is the practice of teaching a computer to learn. The concept uses pattern recognition, as well as other forms of predictive algorithms, to make judgments on incoming data. This field is closely related to artificial intelligence and computational statistics.

Here are 36,057 public repositories matching this topic...

songs18
songs18 commented Nov 25, 2019

In tensorflow website, it describes tf.losses.cosine_simialrity as follows:
Note that it is a negative quantity between -1 and 0, where 0 indicates orthogonality and values closer to -1 indicate greater similarity.
In fact, the quantity is from 1. to -1., it just takes a negative from normal cosine_similarity.
The page is at
https://tensorflow.google.cn/api_docs/python/tf/keras/losses/cosine_

maor121
maor121 commented Nov 26, 2019

Small thing, but costed me several hours to find :)
In the documentation example of Siamese mnist .

We see a code for contrastive loss, based on a paper. But the labels in this function are reversed from
the paper. Meaning in the paper Y=0 if X1,X2 are from same domain, Y=1 other

wincentbalin
wincentbalin commented Jul 16, 2018

Short description

I am trying to train Tesseract on Akkadian language. The language-specific.sh script was modified accordingly. When converting the training text to TIFF images, the text2image program crashes.

Environment

  • Tesseract Version: 3.04.01
  • Commit Number: the standard package in Ubuntu, package version 3.04.01-4, commit unknown
  • Platform: Linux ubuntu
You can’t perform that action at this time.