I hereby claim:
- I am ddimitris on github.
- I am ddimitris (https://keybase.io/ddimitris) on keybase.
- I have a public key whose fingerprint is 93FE 2716 5516 F739 81B7 2B93 DE14 84DD A09B 4BC9
To claim this, I am signing this object:
| class Cosine | |
| def initialize vecA, vecB | |
| @vecA = vecA | |
| @vecB = vecB | |
| end | |
| def calculate_similarity | |
| return nil unless @vecA.is_a? Array | |
| return nil unless @vecB.is_a? Array | |
| return nil if @vecA.size != @vecB.size |
I hereby claim:
To claim this, I am signing this object:
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package Main; | |
| import connectivity.DbController; | |
| import connectivity.MySqlDriver; | |
| import java.sql.SQLException; |
| import java.util.Arrays; | |
| /** | |
| * | |
| * @author Dedousis Dimitris <[email protected]> | |
| */ | |
| public class Ask2 { | |
| public static void main(String[] args) { |