nonconformist icon indicating copy to clipboard operation
nonconformist copied to clipboard

cowork with TensorFlow?

Open softgearko opened this issue 7 years ago • 1 comments

Thanks for nonconformist library release. I want to connect my regression(LSTM) model in TensorFlow to this nonconformist's IcpRegressor. How can I do this?

softgearko avatar Aug 25 '17 03:08 softgearko

I'm afraid I'm not familiar enough with TensorFLow to provide you with a full code example. However, what you need to do, is create a new model adapter (nonconformist.base.BaseModelAdapter) that maps your TensorFlow regression model to the interface that nonconformist expects.

It should look something like this: https://gist.github.com/donlnz/2032c6166947f0a2e11451dfbbcdb303

donlnz avatar Sep 03 '17 13:09 donlnz