public NaiveBayesClassifier(string jsonPath)
        {   // Creates the bayesInfo object from a json file.
            bayesInfo jsonObj = JsonConvert.DeserializeObject <bayesInfo>(File.ReadAllText(jsonPath));

            i = jsonObj;
        }
        public NaiveBayesClassifier()
        {   // Creating the bayesInfo object=.
            i = new bayesInfo();

            init();
        }