if (index.equals("vocabCount"))
return getVocabCountFromHbase();
else if (index.equals("sigma_jSigma_k"))
return getSigma_jSigma_kFromHbase();
else
throw new InvalidDatastoreException();
} else if (vectorName.equals("labelWeight")) {
return getWeightFromHbase(BayesConstants.LABEL_SUM, index);
} else if (vectorName.equals("thetaNormalizer")) {
return getWeightFromHbase(BayesConstants.LABEL_THETA_NORMALIZER, index)
/ thetaNormalizer;
} else if (vectorName.equals("params")) {
if(index.equals("alpha_i")) return alpha_i;
else throw new InvalidDatastoreException();
} else {
throw new InvalidDatastoreException();
}
}