Tag:Center point
-
Handwritten ecarts ring chart
The design draft designs a ring chart, only one ring chart. When echarts is introduced, it always feels like killing a chicken with an ox knife. Anyway, it doesn’t have too high requirements. Just write one yourself! <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <title>Document</title> <style> * { […]
-
Spring boot uses redis Geo
Description of redis Geo Redis official description of Geo Redis 3.2 contains significant changes to the API and implementation of Redis. A new set of commands for Geo indexing was added (GEOADD, GEORADIUS and related commands). About GEO, need to know Redis geo is only available in version 3.2 Use geohash to save the coordinates […]
-
Machine learning – kmeans algorithm principle & & spark implementation
The data developer who doesn’t understand the algorithm is not a good algorithm engineer. I still remember some data mining algorithms mentioned by my tutor when I was a graduate student. I was interested, but I had little contact after working. The Data Engineer despised the chain. Model > real-time > offline warehouse > ETL […]
-
In order to get her started with canvas in 10 minutes, I stayed up late and wrote three small projects and this article
(https://juejin.cn/post/697868… “https://juejin.cn/post/6978685539985653767”)」 preface Hello, everyone. I’m Lin Sanxin. I think back to my school recruitment, ah, I was asked by the interviewer many timescanvasBut I didn’t. later, I always wanted to find a chance to learncanvas, but I haven’t had time.canvasThe position in the front end is becoming more and more important. Therefore, I specially […]
-
Target detection introduction paper yolov1 intensive reading and pytorch source code reproduction (yolov1)
Result display The green line is the image I drew to divide the grid. The loss here is 0.77 I trained. Since I wrote the loss function myself, it may be different from everyone’s. This is not important. What’s important is the learning idea. Key tips yolov1It is a target detection algorithm. It is a […]
-
[mindspire: let’s learn machine with little Mi!] clustering algorithm
I haven’t seen you for a week. I miss you very much! Today, little Mi takes you to learn clustering algorithm! That is, we have finished learning the mainstream supervised learning algorithms. In this issue, we began to contact unsupervised learning algorithms. No more nonsense. Start learning with little MI~ 1. Unsupervised learningWhat is unsupervised […]
-
Machine learning (VI): easy to understand unsupervised learning K-means clustering algorithm and code practice
K-means is an unsupervised learning method for clustering unlabeled data sets. Where k refers to the number of clusters, and means refers to the means to find the center of the cluster. 1、 Unsupervised learning k-means Labeling costs money.Therefore, people study the methods of processing unlabeled data sets. (the author is narrow)Facing the unlabeled data […]
-
The IOS scroll title is displayed in the center when selected
/** Button is the selected title button Width is the width of the scroll view */ -(void)setScrollTitleBtnCenter:(UIButton *)button scrollViewWidth:(CGFloat)width{ //Calculate the distance difference between the center point of the button and the center point of the scrolling view, and the offsetx is finally used as the scrolling offset CGFloat offsetX=button.center.x-width/2; //Calculate the width […]
-
Change the state of the canvas in the custom view to draw
1: Operate canvas Rotate() canvas Scale() stretch canvas Translate() canvas movement 2: Canvas operation canvas?. Save() saves the previous operations……………….. implement various animations in the canvas Restore () restores the canvas. Example 3: 1: Save the previous operation canvas Save() 2: operation on canvas. Here, move the canvas 100 in the X direction and 100 […]
-
Basic data structure and algorithm k-means clustering algorithm
origin Recently read < < my first algorithm book > > ([Japan] Ishida Baohui; Miyazaki Xiuyi)This series of notes is intended to use golang exercises K-means clustering algorithm Clustering is when multiple data are input, The operation of grouping “similar” data into groups. K-means algorithm is one of clustering algorithms. Firstly, k points are randomly […]
-
Html5-css3 summary learning (II)
1、 Rotate 2D rotation refers to rotating an element clockwise or counterclockwise in a 2-dimensional plane Use steps: Add transformation attributes to elementstransform The attribute value isRotate (angle)astransform:rotate(30deg)Clockwise rotation30 degrees div{ transform: rotate(0deg); } triangle div { position: relative; width: 249px; height: 35px; border: 1px solid #000; } div::after { content: “”; position: absolute; top: […]
-
AAAI 2020 | Diou and ciou: the right way for IOU to open in target detection
This paper proposes IOU based Diou loss and ciou loss, and suggests using diou-nms to replace the classic NMS method, making full use of the characteristics of IOU for optimization. Moreover, the method can be simply migrated to the existing algorithm to improve the performance. The experiment improves 5.91map on yolv3, which is worth learning […]