Git Product home page Git Product logo

laprediction's People

Contributors

jnsll avatar

Watchers

 avatar  avatar

laprediction's Issues

Option to take 'Extend data' or default data

There are two cases to use the data for the prediction:

  1. the rates are [1,2,7,30,90,182,365,730,3652]
  2. the rates are extended to have 30 different rates in total

The code should be changed to make the scripts use the files corresponding to the related case thanks to an option.
Scripts to change:

  • Basic_pred.py
  • AllFeaturesForASite.py
  • OneGlobalFeatureFileAllSites.py

Take the variable permeability value into account in the names of the models/folders

At the moment, the permeability value has been fixed at 86.4 m/d. So in all the names of folders/models/etc, the string contains "Permeability_86.4".
It now should be adapted to "permeability" + str(permeability).

/!\ What's more, there is an issue with the location where the maps (depth, amp, etc) are stored. At the moment, they are all stored in the model_time_0_geo_0_thick_1_K_86.4_Sy_0.1_Step1_site1_Chronicle0 folder. The depth map that is not linked to specific values of the initial reference simulation (K=86.4) should not be stored inside that folder. Especially, now that, for example, the folder for the reference simulation with permeability=8.64 does not exist. The depth map is only using the topology values from the reference simulation but those are identical for all the simulations.

Store number of subcatch of each site

Save the numbers of the subcatchs of each site. It will enable some computations (e.g., loops) to be done for the exact number of subcatchs and not more than that.
It can be stored as a python object (pickled dictionary?) or in a file (csv to be opened as a pandas dataframe ?).

Use a common helpers.py file

At the moment, there are several helpers.py files. Actually, there is one in every subfolder of src. A common helpers.py file should be used instead. It will prevent having some mismatch between the different files.

In every script calling helpers.py, the path to the helpers folder should be added with something like this:
sys.path.append(os.path.join(os.path.dirname(__file__), '..', 'helpers'))

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.