Binary Star Fractions from the LAMOST DR4