Skip to content

Part one in a series of tutorials about creating a model for predicting house prices using Keras / Tensorflow in Python and preparing all the necessary data for importing the model in a javascript application using tensorflow.js. Let me know what do you think about it!

License

Notifications You must be signed in to change notification settings

drginm/real-estate-tensorflow

Repository files navigation

Python Real Estate

This project shows how to create a model for predicting house prices and exporting some data for later use inside a Tensorflow.js application

You can read/see more about this in:

Important files to run

  • predict.py
  • train_model.py
  • share_preprocessing_tfjs.py

Tensorflowjs Converter

Building the image using docker

    docker build -t tf-converter .

Running the converter using docker

    docker run -it --rm --name tf-converter -v "$(pwd)":/workdir tf-converter --input_format keras ./model/-inputsscaled-outputsscaled-categorical/model.h5 ./shared/model

Install the converter and run it without docker

    pip install tensorflowjs

    tensorflowjs_converter --input_format keras \
                        ./model/-inputsscaled-outputsscaled-categorical/model.h5 \
                        ./shared/model

More resources

About

Part one in a series of tutorials about creating a model for predicting house prices using Keras / Tensorflow in Python and preparing all the necessary data for importing the model in a javascript application using tensorflow.js. Let me know what do you think about it!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages