{"action":"opened","issue":{"url":"https://api.github.com/repos/dkpro/dkpro-tc/issues/285","labels_url":"https://api.github.com/repos/dkpro/dkpro-tc/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/dkpro/dkpro-tc/issues/285/comments","events_url":"https://api.github.com/repos/dkpro/dkpro-tc/issues/285/events","html_url":"https://github.com/dkpro/dkpro-tc/issues/285","id":110011564,"number":285,"title":"Model Saving/Loading: Store TC version used for training","user":{"login":"Horsmann","id":8234699,"avatar_url":"https://avatars.githubusercontent.com/u/8234699?v=3","gravatar_id":"","url":"https://api.github.com/users/Horsmann","html_url":"https://github.com/Horsmann","followers_url":"https://api.github.com/users/Horsmann/followers","following_url":"https://api.github.com/users/Horsmann/following{/other_user}","gists_url":"https://api.github.com/users/Horsmann/gists{/gist_id}","starred_url":"https://api.github.com/users/Horsmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horsmann/subscriptions","organizations_url":"https://api.github.com/users/Horsmann/orgs","repos_url":"https://api.github.com/users/Horsmann/repos","events_url":"https://api.github.com/users/Horsmann/events{/privacy}","received_events_url":"https://api.github.com/users/Horsmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-06T13:48:33Z","updated_at":"2015-10-06T13:48:33Z","closed_at":null,"body":"Hi,\r\nan open point for the model saving/loading is storing the TC version under which a model was trained. \r\n\r\nIt is in general a good idea to be able to associate a model with a certain TC version. \r\n\r\nThis would be helpful to point the user to potential problems in the version of TC used for training the model and the one that is used at the moment. For instance the recent API changes of the FE now returning Sets instead of List looked like a \"bug\", but was simply a changed API. \r\n\r\nWhat we need for such a version test is a place from where we can retrieve the version. Is there an API as `getCurrentVersionFromPom()`? Or any other location that reliably auto-updates when the POM-version is changed?\r\n\r\nWe then could simply write the version info into the model and compare the version numbers. For a mismatch between version we could print a warning."}}