Skip to content

Commit

Permalink
wip: Integrate predictions based on machine learning models - updated…
Browse files Browse the repository at this point in the history
… predictions job to use models path (#22)
  • Loading branch information
claustres committed Nov 16, 2021
1 parent e70fe25 commit a724d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jobfile-predictions.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const _ = require('lodash')
// Configuration
const dbUrl = process.env.DB_URL || 'mongodb://127.0.0.1:27017/kano'
const baseUrl = process.env.PREDIKT_URL || 'http://localhost:5000/predict'
const modelsPath = process.env.MODELS_PATH || path.join('..', 'predikt', 'models', 'output', 'water_level_rnn', 'multiple', '12H')
const modelsPath = process.env.PREDIKT_MODELS_PATH || path.join('..', 'predikt', 'models', 'output', 'water_level_rnn', 'multiple', '12H')
const ttl = parseInt(process.env.TTL) || (7 * 24 * 60 * 60) // duration in seconds
const timeout = parseInt(process.env.TIMEOUT) || (30 * 60 * 1000) // duration in miliseconds
const collection = 'hubeau-observations'
Expand Down

0 comments on commit a724d55

Please sign in to comment.