python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to I create a tensor of euclidean distances from the maxval in an image array using TensorFlow?
I'm trying to write a custom loss function that inputs a batch of multichannel images and outputs a loss based on how well-clustered the pixel values are around the max value of each image on average....
CptKakashki
Votes: 0
Answers: 0
How do i efficiently find the distance from a set of lines/rays to a point cloud
How can i efficiently find the euclidean distance from N unbounded rays (parametrized by a point and a direction) and M points in 3D, using Python/Numpy/PyTorch?
The goal is to end up with N distances...
pbsds
Votes: 0
Answers: 1
Why does the result of ItemSimilarityJob lack some similarities of itemId-pair?
Given that I have the following ratings.csv
userId,itemId,rating
1,1,1
1,2,2
1,3,3
2,2,4
2,3,2
2,5,4
2,6,5
3,1,5
3,3,1
3,6,2
4,4,4
Using org.apache.mahout.cf.taste.hadoop.item.RecommenderJob, we have...
Lavender Lee
Votes: 0
Answers: 0