In this book, we main present the recent results in theoretical chemistry and ontology similarity measuring. The whole contexts can be divided into six parts which corresponding to six papers (or notes) in the field of chemical topological index computing and ontology function optimization using the tricks in machining learning. The results presented in this book are didn't published in any journal, and are new and novel in the related topics. We believe that the results in the book will inspire the relevant researchers.