Tag:cosine

  • Similarity in Recommendation System

    Time:2020-12-31

    By madhukara puttyCompile VKSource: gitconnected Have you ever thought about how Netflix recommends the movies you want to see? Or how does Amazon show you what you feel you need to buy? Obviously, those websites already know what you like to see or buy. They have a piece of code running in the background that […]

  • Sorting and analysis of loss function in face recognition

    Time:2020-9-30

    catalog Write it at the front Cross-Entropy Loss (softmax loss) Contrastive Loss – CVPR2006 Triplet Loss – CVPR2015 Center Loss – ECCV2016 L-Softmax Loss – ICML2016 A-Softmax Loss – CVPR2017 AM-Softmax Loss-CVPR2018 ArcFace Loss – CVPR2019 Euclidean distance or angular distance and normalization reference resources Blog: blog Garden CSDN blog Write it at the front […]

  • 2. Another way to realize Baidu Beijing time clock

    Time:2020-3-25

    Next, this paper uses the method of calculating angle directly with sine and cosine to draw. Effect preview: https://codepen.io/andy-js/pen/bgnygplRight click to open a new window preview better! Direct code: <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <meta http-equiv=”X-UA-Compatible” content=”ie=edge”> < title > Andy JS: another way to realize Baidu Beijing time […]

  • Math object of native JS

    Time:2019-12-26

    1. Comparison method (common) Math. Min() // the minimum value in a set of numbers cannot be an array, an object, etc. Math. Max() // find the maximum value of a set of numbers eg: math. Min (5,3,5) // 3 2. Rounding (common) Math. Ceil() // round up Math. Round() // round Math. Floor() // […]