Giter VIP home page Giter VIP logo

gospel-authoring's Introduction

gospel-authoring

DNN applied over the Four-Gospel Corpus (RV60): The aim is to identify the most probable BOOK given some fragment.

The original data was extracted from: https://www.unoenelsenor.com.ar/biblia.htm and after was manually splited, extracting the books of interest for the project.

  • 14/06/2020

At this point this project is built on two files:

  1. generate.ipynb: This script takes care of the data extraction. It reads the TXT files (One per each gospel) and generates multiple CSV files stored in the 'processed/' folder.

  2. script.ipynb: The main script. It loads the CSVs, merge them in one only file. Also, creates the flow for the training using the fast.ai built-in functions.

The first iteration of the training was completed with results: A lot of work is needed here for improvements.


train_loss: 0.692559 valid_loss: 0.673879 accuracy: 0.593023


  • 15/06/2020

Parametric optimization: I adjusted the batch_size to 16 Changed the optimizer for RMSProp Changed the learning rate to a slice [1e-3 : 1e-2] Changed the loss Function to Cross Entropy

Balance the dataset by sampling to 170 observation per book.

Plot the confusion matrix

Display a sample of the prediction using learn.show_results()

Test on Specific data: Fragments of "Acts of the apostles" and "First Epistle of John" -> Test succesful

Troubles: I'm starting to see the fact that the trhee first gospels (Matthew, Mark, Luke) have a common origin. Mark got a little amount of predictions and Matthew and Mark fragmenst are usually false attributed to Luke. This effect was reduced a bit using the balance samplig at the begining.

Last epoch metrics:


train_loss: 1.328234 valid_loss: 1.292800 accuracy: 0.411765


*Note: In some other rounds of training, I got near 46% accuracy results.

gospel-authoring's People

Contributors

ludthor avatar

Watchers

James Cloos avatar  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.