Extractionbased on Space Folding Model and Application to Machine Learning