Vector.ai assignment

Overview

fabio-tests-nisargatman

Low Level Approach:

###Tables: continents: id*, name, population, area, createdAt, updatedAt

countries: id*, name, population, area, number_of_hospitals,number_national_parks,continent_id**, createdAt, updatedAt

cities: id*, name, population, area, number_of_roads,number_of_trees,country_id**, createdAt, updatedAt

###APIs:

  • [GET] /api/wiki/continents:

    • Fetch the data from Continents table and return to client in json format.
  • [POST] /api/wiki/continents:

    • All the continents data (name, population & area) should be saved in continents table with CreatedTimeStamp.
    • Making all these fields mandatory as this data is required for Country level validation(Area & Population)
  • [PUT] /api/wiki/continents/<int:id>:

    • Update the changes of data corresponding to given continent ID in Continent table.
  • [DELETE] /api/wiki/continents/<int:id>:

    • If ID exists then delete the continent along with corresponding countries and cities[Assumed this way]
    • Else through an exception.
  • [GET] /api/wiki/continents/<int:id>/countries:

    • Fetch the data from Countries table corresponds to specific given continent ID and return to client in json format.
  • [POST] /api/wiki/continents/<int:id>/countries:

    • All the countries data (name, population, area, no.hospitals & no.national parks) should be saved in countries table with CreatedTimeStamp.
    • Making no.hospitals & no.national parks are optional as there is no dependency.
  • [PUT] /api/wiki/continents/<int:id>:

    • Validate the data if data which is related to population and area. This should not exceed continent data.
    • Update the changes of data corresponding to given country ID in countries table.
  • [DELETE] /api/wiki/continents/<int:id>:

    • If ID exists then delete the country along with corresponding cities[Assumed this way]
    • Else through an exception.
  • [GET] /api/wiki/continents/<int:id>/countries/<int:id>/cities:

    • Fetch the data from Cities table corresponds to specific given Country ID and return to client in json format.
  • [POST] /api/wiki/continents/<int:id>/countries/<int:id>/cities:

    • All the Cities data (name, population, area, no.roads & no.trees) should be saved in Cities table with CreatedTimeStamp but area and population should be validated (less or equal) against corresponding country data(area & population).
    • Making no.trees & no.roads are optional as there is no dependency.
  • [PUT] /api/wiki/continents/<int:id>/<int:id>/cities/<int:id>:

    • Validate the data if data which is related to population and area. This should not exceed corresponding country data(area & population).
    • Update the changes of data corresponding to given country ID in countries table.
  • [DELETE] /api/wiki/continents/<int:id>/<int:id>/cities/<int:id>:

    • If ID exists then delete the City
    • Else through an exception.
Owner
Ravi Pullagurla
Software Engineer at Lloyds Banking Group (LBG)
Ravi Pullagurla
This repository contains Prior-RObust Bayesian Optimization (PROBO) as introduced in our paper "Accounting for Gaussian Process Imprecision in Bayesian Optimization"

Prior-RObust Bayesian Optimization (PROBO) Introduction, TOC This repository contains Prior-RObust Bayesian Optimization (PROBO) as introduced in our

Julian Rodemann 2 Mar 19, 2022
A PyTorch Implementation of Single Shot Scale-invariant Face Detector.

S³FD: Single Shot Scale-invariant Face Detector A PyTorch Implementation of Single Shot Scale-invariant Face Detector. Eval python wider_eval_pytorch.

carwin 235 Jan 07, 2023
A variational Bayesian method for similarity learning in non-rigid image registration (CVPR 2022)

A variational Bayesian method for similarity learning in non-rigid image registration We provide the source code and the trained models used in the re

daniel grzech 14 Nov 21, 2022
Evolution Strategies in PyTorch

Evolution Strategies This is a PyTorch implementation of Evolution Strategies. Requirements Python 3.5, PyTorch = 0.2.0, numpy, gym, universe, cv2 Wh

Andrew Gambardella 333 Nov 14, 2022
Efficient Speech Processing Tookit for Automatic Speaker Recognition

Sugar Efficient Speech Processing Tookit for Automatic Speaker Recognition | HuggingFace | What's New EfficientTDNN: Efficient Architecture Search for

WangRui 14 Sep 14, 2022
Bayesian Image Reconstruction using Deep Generative Models

Bayesian Image Reconstruction using Deep Generative Models R. Marinescu, D. Moyer, P. Golland For technical inquiries, please create a Github issue. F

Razvan Valentin Marinescu 51 Nov 23, 2022
PanopticBEV - Bird's-Eye-View Panoptic Segmentation Using Monocular Frontal View Images

Bird's-Eye-View Panoptic Segmentation Using Monocular Frontal View Images This r

63 Dec 16, 2022
Generalized Random Forests

generalized random forests A pluggable package for forest-based statistical estimation and inference. GRF currently provides non-parametric methods fo

GRF Labs 781 Dec 25, 2022
piSTAR Lab is a modular platform built to make AI experimentation accessible and fun. (pistar.ai)

piSTAR Lab WARNING: This is an early release. Overview piSTAR Lab is a modular deep reinforcement learning platform built to make AI experimentation a

piSTAR Lab 0 Aug 01, 2022
Align and Prompt: Video-and-Language Pre-training with Entity Prompts

ALPRO Align and Prompt: Video-and-Language Pre-training with Entity Prompts [Paper] Dongxu Li, Junnan Li, Hongdong Li, Juan Carlos Niebles, Steven C.H

Salesforce 127 Dec 21, 2022
Multiview 3D object detection on MultiviewC dataset through moft3d.

Multiview Orthographic Feature Transformation for 3D Object Detection Multiview 3D object detection on MultiviewC dataset through moft3d. Introduction

Jiahao Ma 20 Dec 21, 2022
Custom implementation of Corrleation Module

Pytorch Correlation module this is a custom C++/Cuda implementation of Correlation module, used e.g. in FlowNetC This tutorial was used as a basis for

Clément Pinard 361 Dec 12, 2022
Learning Tracking Representations via Dual-Branch Fully Transformer Networks

Learning Tracking Representations via Dual-Branch Fully Transformer Networks DualTFR ⭐ We achieves the runner-ups for both VOT2021ST (short-term) and

phiphi 19 May 04, 2022
Quasi-Dense Similarity Learning for Multiple Object Tracking, CVPR 2021 (Oral)

Quasi-Dense Tracking This is the offical implementation of paper Quasi-Dense Similarity Learning for Multiple Object Tracking. We present a trailer th

ETH VIS Research Group 327 Dec 27, 2022
This is the official PyTorch implementation of our paper: "Artistic Style Transfer with Internal-external Learning and Contrastive Learning".

Artistic Style Transfer with Internal-external Learning and Contrastive Learning This is the official PyTorch implementation of our paper: "Artistic S

51 Dec 20, 2022
The final project for "Applying AI to Wearable Device Data" course from "AI for Healthcare" - Udacity.

Motion Compensated Pulse Rate Estimation Overview This project has 2 main parts. Develop a Pulse Rate Algorithm on the given training data. Then Test

Omar Laham 2 Oct 25, 2022
Adaptive FNO transformer - official Pytorch implementation

Adaptive Fourier Neural Operators: Efficient Token Mixers for Transformers This repository contains PyTorch implementation of the Adaptive Fourier Neu

NVIDIA Research Projects 77 Dec 29, 2022
An open framework for Federated Learning.

Welcome to Intel® Open Federated Learning Federated learning is a distributed machine learning approach that enables organizations to collaborate on m

Intel Corporation 397 Dec 27, 2022
FAST Aiming at the problems of cumbersome steps and slow download speed of GNSS data

FAST Aiming at the problems of cumbersome steps and slow download speed of GNSS data, a relatively complete set of integrated multi-source data download terminal software fast is developed. The softw

ChangChuntao 23 Dec 31, 2022
Deep Image Search is an AI-based image search engine that includes deep transfor learning features Extraction and tree-based vectorized search.

Deep Image Search - AI-Based Image Search Engine Deep Image Search is an AI-based image search engine that includes deep transfer learning features Ex

139 Jan 01, 2023