Posts

New Objectives with AI and integration of Blockchain Technology

Artificial intelligence and Blockchain technology are hottest two topics in computer science flied nowadays. However they are both different components of computer science field and they both sub-serve for different purposes in other word to say they are both solving different problems. Although, there are many problems that we might know or not, these two technologies can help us to solve it.  At this point, we need to look for list of problems and solutions and study whether both can be applied into same architecture or not. Therefore problem has to be clearly understood and re-structured. At most asking questions is profoundly important,  such as what do know? what do we need? what are the sub-problems ? what type of methods that need to apply to get what we want? These pre-steps would help us to observe and comprehend the problem, hence we can create our own concept to approach to problematic. Later it would be easier to pl...

NLTK - Conversations

Image
Statement and Response Relationship : Grace stores information from the conversations as statements. Each user's input ( statement ) get tagged with any number ( please see the : NLTK Tagging methods ) and mapped to possible responses. Therefore each statement object has a reference, which links the user's input to a number of other input statements. The response object has counter which looks for the  terms of frequency ( please see the : TF-IDF Algorithm  you can also visit  grace search engine TF-IDF implementation/ Ranking section   )  this attribute indicates the number of times that statement has been given to response. This makes it possible for the bot to determine if a particular  response is more commonly used than another.
Image
Gaussian Blur:     So, my method is based on Ivan Kutskir, Who has demonstrated Gaussian blur using Fast image convolutions by Wojciech Jarosz. According to Ivan, the convolution of two 2D functions f and g is defined as the volume of product of f and shifted ‘g’.  which means that just by shifting one of the function of two, 2D functions blur can be achieved. Since it determines, how much of ‘f’ will get into the result. The Gaussian blur for a 2D function can be defined as a convolution of that function with 2D Gaussian. The Gaussian function is defined as a standard deviation also we are calling it as a ‘radius’. In discrete finite case, we represent our 2D functions as matrices of values. Now we calculate the volume as a sum. Since Gaussian blur, value is in negative (behind the zero) we will use only all the values between (-r,r) something like −r≤x≤r,−r≤y≤r. This part of Weight is also called kernel. The values are i and j and they are average be...
Fixing Git: So, recently I was facing some issues with pushing my committed file to the git branch name Origin/rahi. The problem all started by git not committing any changes to the branch and making clone branch of same name, which I was able to delete easily by switching back and forth between branches but switching back to ‘Origin/rahi’ was not working. In my further analysis I found that the reason behind the issue was the complexity of the local folder. So, I reinstate the git and local folder, then I clone the repository first. Later I tried to check the status, I got all the result globally, which was strange because I didn’t have git installed globally. Still I tried to commit checking that is it working if I commit any one file from local folder or not.  I found the git could not find the file since again the git was installed locally point globally and was excluding the local folder, Since it consider that to be it’s base for operating globally. I thought let me ...