New Post

Confusion Matrix with Real-Life Examples || Artificial Intelligence || ~...

Image
Learn about the Confusion Matrix with Real-Life Examples. A confusion matrix is a table that shows how well an AI model makes predictions. It compares the actual results with the predicted ones and tells which are right or wrong. It includes True Positive (TP), False Positive (FP), False Negative (FN), and True Negative (TN). Video Chapters: Confusion Matrix in Artificial Intelligence 00:00 Introduction 00:12 Confusion Matrix 03:48 Metrices Derived from Confusion Matrix 04:26 Confusion Matrix Example 1 05:44 Confusion Matrix Example 2 08:10 Confusion Matrix Real-Life Uses #artificialintelligence #machinelearning #confusionmatrix #algorithm #optimization #research #happylearning #algorithms #meta #optimizationtechniques #swarmintelligence #swarm #artificialintelligence #machinelearning

JavaScript Analog Clock || Step-By-Step || ~xRay Pixy


---------------------------- clock.html ---------------------------------------

<html>
<head>
<title>Javascript Analog Clock</title>
<link rel ="stylesheet" href="clock.css">
<script src = "clock.js"></script>
</head>
<body>
<div id="clockBox">
     <div id="hour"></div>
     <div id="minute"></div>
     <div id="second"></div>
     <div id="point"></div>
</div>
</body>
</html>


------------------------------ clock.css -----------------------------------------
#clockbox{
          height: 650px;
          width: 650px;
          background: url(clc.png);
          background-size:100%;
          margin:auto;
       
}
#hour, #minute, #second{
                        position:absolute;
                        background:red;
                        border-radius:15px;
                        transform-origin:bottom;
}

#hour{
                        width:1.6%;
                        height:25%;
                        left:48.85%;
                        top: 25%;
                        
}
#minute{
                        width: 1.4%;
                        height:30%;
                        left: 48.9%;
                        top:18%;
                        
}

#second{
                        width:0.8%;
                        height:36%;
                        top: 9%;
                        left: 49.25%;
                          
}

              
---------------------------- clock.js ---------------------------------------------------

setInterval(() => {
                       D = new Date();
                       H = D.getHours();
                       M = D.getMinutes();
                       S = D.getSeconds();
                       
                       H_rotation = 30 * H + M / 2;
                       M_rotation = 6 * M;
                       S_rotation = 6 * S;
                       
                       hour.style.transform =`rotate(${H_rotation}deg)`;
                       minute.style.transform =`rotate(${M_rotation}deg)`;
                       second.style.transform =`rotate(${S_rotation}deg)`;
                     
},1000);

Comments

Popular Post

PARTICLE SWARM OPTIMIZATION ALGORITHM NUMERICAL EXAMPLE

Cuckoo Search Algorithm for Optimization Problems

Particle Swarm Optimization (PSO)

PSO (Particle Swarm Optimization) Example Step-by-Step

how is the LBP |Local Binary Pattern| values calculated? Step-by-Step with Example

PSO Python Code || Particle Swarm Optimization in Python || ~xRay Pixy

Grey Wolf Optimization Algorithm

Grey Wolf Optimization Algorithm Numerical Example

Bat algorithm Explanation Step by Step with example

Whale Optimization Algorithm Code Implementation || WOA CODE || ~xRay Pixy