Skip to content

mehditeymorian/JNotes

Repository files navigation

JNotes

My Jupyter Notebooks 📑🧾

Content

Stackoverflow Users Similarities

Calculating Jaccord, Cosine L1NORM, and Cosine L2NORM similarities for top 5 Stackoverflow users based on their votes on questions. Full Detail

Equation Minimization Using Genetic Algorithm

Starting from an initial population, chromosomes evolve through generations and converge toward an optimal answer. in each generation crossovers take place where offsprings chromosomes are generated from selected parents. also each chromosome have a posibility to mutate. the mutation is necessary to avoid local minimums. In This example we are trying to minimze a square root equation. Full Detail

Tag Recommendation for Stackoverflow Questions

A matrix of tags is created and filled by Confidence(Tag1, Tag2). Confidence is a type of association rule for calculating closeness of items in a dataset. Confidence is the percentage of all transactions satisfying X that also satisfy Y. Full Detail

Polynomial Approximation using Genetic Algorithms

Each gene consists of 2 number, one is coefficient and the other is x's power. A chromosomes has many genes which forms a polynomial. for example 1 2 1 3 represent X^2 + X^3. Starting from a population of chromosomes, we calculate the difference between the expected polynomial and current one. Then those with highest difference get eliminated. the process will repeat until a good answer is reached. Full Detail

process