GithubHelp home page GithubHelp logo

anne-15 / drive-smart Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 261 KB

A model built with tensorflow to predict the expected time travel of a delivery system

Python 33.17% PureBasic 66.83%
sklearn tensorflow

drive-smart's Introduction

Drive Smart Project

A model built to predict the expected time travel of a delivery system. The model is built with two different technologies; tensorflow and sktlearn.

The tensorflow model

A linear regression problem that tends to solve and predict the expected arrival time in seconds given the distance in kilometers. We used the regression neural networks algorithm to create a model but first the data sample.csv had to be filtered and reduced to 2 columns only (the data that was required). Then the null values eliminated.

The sklearn model

The process is basically the similar to the tensorflow model the only difference is that we used a different language, python.

Saving the models

After bulding the models from the given algorithms, we saved the models so that we don't have to train the algorithm every time we run the model to save on time and space. The saved model under the folder new_model from the sklearn model. We used pickle to save the model due to its simplicity and reliability.

With the tensorflow model, we saved checkpoints of the training model during the training process. Then a saved model of the trained model after training the check points.

The main file for the model

app(1).py - an API to export the machine learning and AI model for external applications. model.py - tensorflow model model_s.py - sklearn model new_model - saved model sklearn

drive-smart's People

Contributors

anne-15 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.