Kuis terkait panduan · Sedang Tingkat

Distance Metrics in Machine Learning Quiz

Tests how Euclidean, Manhattan, cosine, Mahalanobis, and Hamming distances encode similarity, and why feature scaling can change nearest-neighbor results.

Pertanyaan 1 dari 8

Mengapa contoh rute pengiriman memilih jarak Manhattan dibandingkan jarak Euclidean?

Pratinjau setiap pertanyaan8 pertanyaan

Jawaban dan penjelasan muncul saat Anda mengikuti kuis.

  1. Mengapa contoh rute pengiriman memilih jarak Manhattan dibandingkan jarak Euclidean?
    • Because vehicles must travel along street grids rather than in straight lines
    • Because Manhattan distance is always more accurate
    • Because Manhattan distance requires less computation for any dataset
    • Because Euclidean distance cannot handle numeric data
  2. Apa yang diukur oleh jarak kosinus, sebagaimana didefinisikan dalam panduan ini, sehingga cocok untuk sistem rekomendasi?
    • The absolute difference in rating counts
    • The number of matching categorical labels
    • The angle between two vectors rather than their magnitude
    • The square of the Euclidean distance
  3. Informasi tambahan apa yang dimasukkan oleh jarak Mahalanobis yang tidak dimasukkan oleh jarak Euclidean?
    • The alphabetical order of feature names
    • The correlations and differing variances between features via the covariance matrix
    • The total number of rows in the dataset
    • The categorical labels of each point
  4. Untuk jenis data apa jarak Hamming secara khusus cocok, menurut panduan ini?
    • Continuous numeric data with large ranges
    • Only image pixel data
    • Only time-series financial data
    • Equal-length categorical or string data, such as genetic sequences
  5. Langkah pra-pemrosesan apa yang menurut panduan ini biasanya diperlukan sebelum menghitung jarak Euclidean antar fitur?
    • Removing all categorical variables
    • Standardizing or scaling the features so no single feature dominates
    • Converting all features to Hamming-compatible strings
    • Reducing the dataset to two dimensions only
  6. What phenomenon does the guide describe that undermines the assumption that Euclidean distance is always a safe default?
    • Keterlaluan
    • Gradient vanishing
    • The curse of dimensionality, where pairwise distances become similar in high dimensions
    • Kebocoran label
  7. How is cosine distance computed, per the technical section?
    • As one minus the cosine similarity, the normalized dot product of two vectors
    • As the sum of absolute differences per dimension
    • As the square root of the covariance matrix
    • As the count of mismatched positions between two vectors
  8. According to the futureOutlook section, how does metric learning relate to distance metrics in modern deep learning systems?
    • It eliminates the need for any distance function
    • It only applies to Manhattan distance
    • It replaces Hamming distance in all genetic applications
    • A neural network learns an embedding space where a classical distance, like cosine or Euclidean, becomes meaningful after training