I'm playing with machine learning algorithms. I use my laptop to develop, but when I want to run some more demanding training I use external server.
The problem I have is how to set a path to dataset so I wouldn't have to change it when copying python files from one platform to another. My current approach is to use the same folder structure and use this to get home directory path. But since some datasets are quite big they are shared among all users, therefore are not in my home directory. My idea is to have a file in my home that will contain all the necessary paths and will be loaded at the beginning, but I'm not convinced that its the best way. (I use python)
Maybe you have some ideas how to do it better?