In this article, we introduce two new classes of analytic functions Jtanh and JSG which are associated with the activation functions and defined by the ratio of analytic representations of convex and starlike functions. For functions in these classes, our primary goal is to determine the sharp upper bounds of second and third Hankel determinants.