What is F1 score?

We know that for unbalanced datasets we can’t rely on accuracy. Here we have to measure the performance of the model using Precision & Recall. But the question arises, how much Precision and how much Recall. Since Precision and Recall share an inverse relationship, we can’t have the ideal scenario where both Precision & Recall are high. We need a metric that quantifies the balance between precision and recall. A metric which could tell us if the Precision Recall Tradeoff is optimum or not. This where F1 score comes in, it is the harmonic mean of Precision & Recall.

It is mostly used for unbalanced datasets and acts as a substitute for accuracy metric.

Operators in C programming language

Operators are symbols that tells the compiler to perform specific functions.

C language provides the following types of operators:-

1. Arithmetic Operators

These operators are used to perform mathematical/arithmetic operations.

+(Addition), (Subtraction), *(Multiplication), /(Division), %(Modul), ++(Increment), (Decrement)

2. Relational Operators

These operators are used to compare values, in condition.

==(Equal to), !=(Not Equal to), >(Greater Than),  <(Smaller Than), >=(Greater Than or Equal to), <=(Smaller Than or Equal to)

3. Logical Operators

These operators are used to combine two or more conditions.

&&(Logical AND), ||(Logical OR), !(Logical NOT)

4. Bitwise Operators

The Bitwise operators are used to perform bit-level calculations. The operators are first converted to bit-level and then the calculation is performed.

&(Binary AND), |(Binary OR), ^(BinaryXOR), ~(Binary One’s Complement), <<(Binary Left Shift), >>(Binary Right Shift)

5. Assignment Operators

These operators are used to assign value to a variable.

=(Simple assignment), +=(Add AND assignment), -=(Subtract AND assignment), *=(Multiply AND assignment), /=(Divide AND assignment), %=(Modulus AND assignment), <<=(Left shift AND assignment), >>(Right shift AND assignment), &=(Bitwise AND assignment), ^=(Bitwise exclusive OR and assignment), |=(Bitwise inclusive OR and assignment)

6. Misc Operators

sizeof()(Returns the size of a variable), &(Returns the address of a variable), *(Pointer to a variable), ?:(Conditional Expression) 

Storage Classes in C programming language

A storage class represents the location of a variable.

We have four different storage classes in a C:-

1. auto

It is the default storage class for all local variables.

2. register

It is used to define local variables that should be stored in a register instead of RAM.

3. static

It is a local variable which is capable of returning a value even when control is transferred to the function call.

4. extern

It is a global variable that is visible to ALL the program files.

Derived Data Type in C programming language

Derived Data Type:-

1. Pointers

It is a variable which stores the address/memory location of another variable.

2. Array

An array is a collection of data items, all of the same type, accessed using a common name.

3. Structure

It is a user defined data type available in C that allows us to combine data items of different kinds.

4. Union

It is a special data type available in C that allows us to store different data types in the same memory location.

5. Function

A function contains a group of statements that specify the computing operations to be
done.

List of keywords in C programming language

auto              break             case            char

const             continue       default       do

double          else                enum          extern

float              for                  goto            if

int                 long                register     return

short            signed            sizeof          static

struct           switch            typedef      union

unsigned     void                volatile      while