Many B2 visitors take recreational courses such as cooking, dancing, computer, etc. The general rules are that the courses cannot be for credit or more than 18 hours a week. You should be fine. Enjoy.
not covered specifically in the regulations but casual courses less than a certain number of hours a week are permitted so stay under that number.