Skip to content
Quantoros

How can scikit-learn estimators work with strings, trees or graphs instead of numeric feature vectors?

Classic MLLevel: AdvancedCustom distances and feature representations

How can scikit-learn estimators work with strings, trees or graphs instead of numeric feature vectors?

Hints
  • State the task, inputs and prediction target.
  • Compare with a simple baseline: assumptions, objective and independent validation.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: scikit-learn developers — Official FAQ · BSD-3-Clause · answer: Quantoros editorial

Related questions