General Discussions

Leacock & Chodorow Distance

Originally posted on PH Bytes:
Leacock and Chodorow propose the below similarity measure:  -log (length / (2 * D)) where: length is the length of the shortest path between the two concepts D is the maximum depth of the taxonomy It is a lexical semantic similarity measure.

General Discussions

Euclidean Distance

Originally posted on PH Bytes:
It is the distance between two points present in the Euclidean space (In geometry, Euclidean space is referred as 2 dimensional Euclidean plane) Plane and Point Formula: The Euclidean distance between points p and q is the length of the line segment connecting them. In the Euclidean plane, if p…

algorithms

Algorithm for Algorithm

We have advanced so much with data science, machine learning and artificial learning that sometimes I really wonder if writing an algorithm would makes sense. With changing data, algorithm turns out to be highly dynamic and difficult to predict how it might behave after certain point of time if we are not aware of type… Continue reading Algorithm for Algorithm

General Discussions

Floyd’s Algorithm – C Implementation

Originally posted on PH Bytes:
All pair shortest path algorithm (Floyd) , C implementation is below. Also available in Github here. #include #include int main() { int n = 4; int i, j, k; int D[5][5] = { {0, 0, 0, 0, 0}, {0, 0, 999, 3, 999}, {0, 2, 0, 999, 999}, {0, 999,…

General Discussions

Handy Codes Library

Every one should have a code library which has all the basic things implemented. Specially those into competitive programming. Use it at required rather than going from scratch. I have started one and its eventually growing. I have kept it open on github, public, and is available here: Day Today Codes Its small yet and… Continue reading Handy Codes Library

General Discussions

Keeping IT Simple

Research challenges are always exciting. They come with an experience of –  “Not knowing where to start”. Well, that’s an amazing experience because we can start anywhere. When we look at what we have, very easily, our mind will point to think something complicated. Some complicated procedure that is not easy. But, a lot of… Continue reading Keeping IT Simple

General Discussions

Knit Arena

I would like to keep this short as an introductory post. More details here: Knit Arena. More to follow soon.

General Discussions

Pointer and Types – C

Originally posted on PH Bytes:
This note covers various types of pointers to be aware of and a few notations used with pointers. Types of Pointers Pointer: Pointer is a variable which holds the address of another variable NULL Pointer: A null pointer has a value reserved for indicating that the pointer does not refer…