I went to a liberal arts college and had small class sizes (most around 9-15 in size, with the largest being 30) - I could see my professors 1:1 pretty much anytime I wanted, but there was also a preceptor (TA) for each class who didn't teach, but was available to answer questions related to assignments, projects etc. I went to the house of many of my professors for food or drinks too. Generally also was on a first name basis with professors.
The downside is that liberal arts colleges aren't research institutions and they are generally undergraduate only. This means you don't have as many choices for advanced courses. However, the professors at liberal arts colleges really tend to be there for the teaching and tend to enjoy that. One of my math professors was the head of the mathematical association of America and also authored the books on Analysis (the mathematical subject - not a data science thing) we were using.