आयाम घटाव: फीचर निष्कर्षण

Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

Lisa Stuart

Data Scientist

अनसुपरवाइज़्ड लर्निंग मेथड्स

  • Principal component analysis (PCA) --> Lesson 3.1
  • Singular value decomposition (SVD) --> Lesson 3.1
  • क्लस्टरिंग/ग्रुपिंग --> Lesson 3.3
  • अन्वेषणीय डेटा माइनिंग
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

आयाम घटाव != फीचर चयन

PCA प्लॉट

फीचर चयन

1 https://slideplayer.com/slide/9699240/ 2 https://www.analyticsvidhya.com/blog/2016/03/practical-guide-principal-component-analysis-python/
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

Curse of dimensionality

आयाम बनाम परफॉर्मेंस प्लॉट

1 https://www.visiondummy.com/2014/04/curse-dimensionality-affect-classification/
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

1-D सर्च

1-D सर्च स्पेस

Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

2-D सर्च

2-D सर्च स्पेस

Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

3-D सर्च

3-D सर्च स्पेस

Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

आयाम घटाव विधियाँ

  • PCA
  • SVD
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

PCA

Iris का PCA प्लॉट

  • PCA
    • X और y के बीच संबंध
    • प्रिंसिपल एक्सिस ढूँढकर निकाला जाता है
    • ट्रांसलेट, रोटेट और स्केल करता है
    • डेटा का लोअर-डायमेंशनल प्रोजेक्शन
1 https://scikit-learn.org/stable/modules/decomposition.html
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

SVD

Iris का SVD प्लॉट

  • SVD
    • लीनियर अल्जेब्रा और वेक्टर कैलकुलस
    • डेटा मैट्रिक्स को तीन मैट्रिक्स में तोड़ता है
    • 'सिंगुलर' वैल्यू मिलती हैं
    • डेटा का variance लगभग singular values के SS के बराबर
1 https://galaxydatatech.com/2018/07/15/singular-value-decomposition/
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

डायमेंशन रिडक्शन फंक्शन

Function/method returns
sklearn.decomposition.PCA principal component analysis
sklearn.decomposition.TruncatedSVD singular value decomposition
PCA/SVD.fit_transform(X) डेटा को fit और transform करता है
PCA/SVD.explained_variance_ratio_ PCs द्वारा समझाया गया variance
Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

अभ्यास करते हैं!

Python में Machine Learning इंटरव्यू प्रश्नों का अभ्यास

Preparing Video For Download...