Giter VIP home page Giter VIP logo

helper_functions's Introduction

helper_functions

Helper functions for some common tasks which includes the following:

  1. Return the train data from csv and a shuffled of that trained data (preprocess_data(filename, fraction, rand_state))
  2. Load and prepare image data (load_and_prep_image(filename, img_shape=224, scale=True))
  3. Plot confusion matrix (make_confusion_matrix(y_true, y_pred, classes=None, figsize=(10, 10), text_size=15, norm=False, savefig=False))
  4. Make predictions on image and plot them (pred_and_plot(model, filename, class_names))
  5. Creates a tensorboad callback (create_tensorboard_callback(dir_name, experiment_name))
  6. Plot loss curves (plot_loss_curves(history))
  7. Compare histories (compare_historys(original_history, new_history, initial_epochs=5))
  8. Unzip data (unzip_data(filename))
  9. Walthrough directory retruning the content (walk_through_dir(dir_path))
  10. Calculates accuracy, precision, recall and f1 score for a model (calculate_results(y_true, y_pred))

helper_functions's People

Contributors

jayveersinh-raj 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.