Design tips when modelling for machine learning

Hello,

What are good references for designing a graph and applying machine learning? I am looking for:

  1. Tips on when an entity should be a node vs property of a node to best facilitate ML?
  2. Walk-through of dataset to problem to DB design to ML

Any pointers? Thanks.