With seven of the top 100 Minor League prospects in MLB.com's rankings, the Astros have compiled the best farm system in baseball, according to rankings released Tuesday by ESPN.com's Keith Law.

The Astros have stockpiled talent by trading away veterans for multiple prospects and securing the top pick in the Draft for the last two years (they'll pick first again this June). Law also credits the team's aggressiveness in Latin America and willingness to sign its picks above recommendation with reshaping the farm system.

"They have depth and they have a couple of high-ceiling guys at the top of the system, getting close to the point where the light at the end of the tunnel no longer looks like an oncoming train," Law wrote. "It's been ugly, Astros fans, but hang in there."

The Astros have lost 324 games the last three seasons, including a club-record 111 games last year in their first year in the American League. They're expected to be improved this year after signing veteran pitcher Scott Feldman, trading for center fielder Dexter Fowler and signing relievers Matt Albers, Chad Qualls and Jesse Crain.