# Kmeans: Between class intertia

I'm using KMeans of scikit-learn for clustering of forums.

The attribute inertia_ of model gives the within class inertia but how can i get the between class inertia? In other word how can I verify the quality of my clustering?

Thanks

between-class variance = total variance - within-class variance