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.
You might also like...
Implementation of Geometric Vector Perceptron, a simple circuit for 3d rotation equivariance for learning over large biomolecules, in Pytorch. Idea proposed and accepted at ICLR 2021
Implementation of Geometric Vector Perceptron, a simple circuit for 3d rotation equivariance for learning over large biomolecules, in Pytorch. Idea proposed and accepted at ICLR 2021

Geometric Vector Perceptron Implementation of Geometric Vector Perceptron, a simple circuit with 3d rotation equivariance for learning over large biom

Vector Neurons: A General Framework for SO(3)-Equivariant Networks
Vector Neurons: A General Framework for SO(3)-Equivariant Networks

Vector Neurons: A General Framework for SO(3)-Equivariant Networks Created by Congyue Deng, Or Litany, Yueqi Duan, Adrien Poulenard, Andrea Tagliasacc

General Virtual Sketching Framework for Vector Line Art (SIGGRAPH 2021)
General Virtual Sketching Framework for Vector Line Art (SIGGRAPH 2021)

General Virtual Sketching Framework for Vector Line Art - SIGGRAPH 2021 Paper | Project Page Outline Dependencies Testing with Trained Weights Trainin

Neural implicit reconstruction experiments for the Vector Neuron paper
Neural implicit reconstruction experiments for the Vector Neuron paper

Neural Implicit Reconstruction with Vector Neurons This repository contains code for the neural implicit reconstruction experiments in the paper Vecto

Geometric Vector Perceptron --- a rotation-equivariant GNN for learning from biomolecular structure

Geometric Vector Perceptron Code to accompany Learning from Protein Structure with Geometric Vector Perceptrons by B Jing, S Eismann, P Suriana, RJL T

This repository contains a set of codes to run (i.e., train, perform inference with, evaluate) a diarization method called EEND-vector-clustering.

EEND-vector clustering The EEND-vector clustering (End-to-End-Neural-Diarization-vector clustering) is a speaker diarization framework that integrates

The all new way to turn your boring vector meshes into the new fad in town; Voxels!
The all new way to turn your boring vector meshes into the new fad in town; Voxels!

Voxelator The all new way to turn your boring vector meshes into the new fad in town; Voxels! Notes: I have not tested this on a rotated mesh. With fu

[SIGGRAPH Asia 2021] DeepVecFont: Synthesizing High-quality Vector Fonts via Dual-modality Learning.

DeepVecFont This is the homepage for "DeepVecFont: Synthesizing High-quality Vector Fonts via Dual-modality Learning". Yizhi Wang and Zhouhui Lian. WI

Owner
Ravi Pullagurla
Software Engineer at Lloyds Banking Group (LBG)
Ravi Pullagurla
Official implementation of our paper "LLA: Loss-aware Label Assignment for Dense Pedestrian Detection" in Pytorch.

LLA: Loss-aware Label Assignment for Dense Pedestrian Detection This project provides an implementation for "LLA: Loss-aware Label Assignment for Dens

null 35 Dec 6, 2022
Official implementation of our CVPR2021 paper "OTA: Optimal Transport Assignment for Object Detection" in Pytorch.

OTA: Optimal Transport Assignment for Object Detection This project provides an implementation for our CVPR2021 paper "OTA: Optimal Transport Assignme

null 217 Jan 3, 2023
Jittor Medical Segmentation Lib -- The assignment of Pattern Recognition course (2021 Spring) in Tsinghua University

THU模式识别2021春 -- Jittor 医学图像分割 模型列表 本仓库收录了课程作业中同学们采用jittor框架实现的如下模型: UNet SegNet DeepLab V2 DANet EANet HarDNet及其改动HarDNet_alter PSPNet OCNet OCRNet DL

null 48 Dec 26, 2022
Introduction to AI assignment 1 HCM University of Technology, term 211

Sokoban Bot Introduction to AI assignment 1 HCM University of Technology, term 211 Abstract This is basically a solver for Sokoban game using Breadth-

Quang Minh 4 Dec 12, 2022
It is the assignment for COMP 576 in Rice University

COMP-576 It is the assignment for COMP 576 in Rice University There are two programming assignments and one Final Project. Assignment 1: It is a MLP a

Maojie Tang 1 Nov 25, 2021
ML-PersonalWork - Big assignment PersonalWork in Machine Learning, 2021 autumn BUAA.

ML-PersonalWork - Big assignment PersonalWork in Machine Learning, 2021 autumn BUAA.

Snapdragon Lee 2 Dec 16, 2022
Python implementation of MULTIseq barcode alignment using fuzzy string matching and GMM barcode assignment

Python implementation of MULTIseq barcode alignment using fuzzy string matching and GMM barcode assignment.

MT Schmitz 2 Feb 11, 2022
Reinforcement-learning - Repository of the class assignment questions for the course on reinforcement learning

DSE 314/614: Reinforcement Learning This repository containing reinforcement lea

Manav Mishra 4 Apr 15, 2022
Torch-mutable-modules - Use in-place and assignment operations on PyTorch module parameters with support for autograd

Torch Mutable Modules Use in-place and assignment operations on PyTorch module p

Kento Nishi 7 Jun 6, 2022
Job Assignment System by Real-time Emotion Detection

Emotion-Detection Job Assignment System by Real-time Emotion Detection Emotion is the essential role of facial expression and it could provide a lot o

null 1 Feb 8, 2022