private static DataNormalization restoreNormalizerFromFileDeprecated(File file) {
        try (ZipFile zipFile = new ZipFile(file)) {
            ZipEntry norm = zipFile.getEntry(NORMALIZER_BIN);

            // checking for file existence
            if (norm == null)
                return null;

            InputStream stream = zipFile.getInputStream(norm);
            ObjectInputStream ois = new ObjectInputStream(stream);

            try {
                DataNormalization normalizer = (DataNormalization) ois.readObject();
                return normalizer;
            } catch (ClassNotFoundException e) {
                throw new RuntimeException(e);
            }
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
private static DataNormalization restoreNormalizerFromFileDeprecated ( File file ) { try ( ZipFile zipFile = new ZipFile ( file ) ) { ZipEntry norm = zipFile . getEntry ( NORMALIZER_BIN ) ; if ( norm == null ) return null ; InputStream stream = zipFile . getInputStream ( norm ) ; ObjectInputStream ois = new ObjectInputStream ( stream ) ; try { DataNormalization normalizer = ( DataNormalization ) ois . readObject ( ) ; return normalizer ; } catch ( ClassNotFoundException e ) { throw new RuntimeException ( e ) ; } } catch ( Exception e ) { throw new RuntimeException ( e ) ; } }
@deprecated

This method restores normalizer from a given persisted model file serialized with Java object serialization

@param file
@return