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
Model-based reinforcement learning in TensorFlow

Bellman Website | Twitter | Documentation (latest) What does Bellman do? Bellman is a package for model-based reinforcement learning (MBRL) in Python,

46 Nov 09, 2022
Official implementation of "CrossPoint: Self-Supervised Cross-Modal Contrastive Learning for 3D Point Cloud Understanding" (CVPR, 2022)

CrossPoint: Self-Supervised Cross-Modal Contrastive Learning for 3D Point Cloud Understanding (CVPR'22) Paper Link | Project Page Abstract : Manual an

Mohamed Afham 152 Dec 23, 2022
This repo is a PyTorch implementation for Paper "Unsupervised Learning for Cuboid Shape Abstraction via Joint Segmentation from Point Clouds"

Unsupervised Learning for Cuboid Shape Abstraction via Joint Segmentation from Point Clouds This repository is a PyTorch implementation for paper: Uns

Kaizhi Yang 42 Dec 09, 2022
Graduation Project

Gesture-Detection-and-Depth-Estimation This is my graduation project. (1) In this project, I use the YOLOv3 object detection model to detect gesture i

ChaosAT 1 Nov 23, 2021
A PyTorch implementation of " EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks."

EfficientNet A PyTorch implementation of EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. [arxiv] [Official TF Repo] Implemen

AhnDW 298 Dec 10, 2022
2021 CCF BDCI 全国信息检索挑战杯(CCIR-Cup)智能人机交互自然语言理解赛道第二名参赛解决方案

2021 CCF BDCI 全国信息检索挑战杯(CCIR-Cup) 智能人机交互自然语言理解赛道第二名解决方案 比赛网址: CCIR-Cup-智能人机交互自然语言理解 1.依赖环境: python==3.8 torch==1.7.1+cu110 numpy==1.19.2 transformers=

JinXiang 22 Oct 29, 2022
CVPR 2021 Challenge on Super-Resolution Space

Learning the Super-Resolution Space Challenge NTIRE 2021 at CVPR Learning the Super-Resolution Space challenge is held as a part of the 6th edition of

andreas 104 Oct 26, 2022
ParmeSan: Sanitizer-guided Greybox Fuzzing

ParmeSan: Sanitizer-guided Greybox Fuzzing ParmeSan is a sanitizer-guided greybox fuzzer based on Angora. Published Work USENIX Security 2020: ParmeSa

VUSec 158 Dec 31, 2022
Only valid pull requests will be allowed. Use python only and readme changes will not be accepted.

❌ This repo is excluded from hacktoberfest This repo is for python beginners and contains lot of beginner python projects for practice. You can also s

Prajjwal Pathak 50 Dec 28, 2022
Mscp jamf - Build compliance in jamf

mscp_jamf Build compliance in Jamf. This will build the following xml pieces to

Bob Gendler 3 Jul 25, 2022
Code for the paper "Improved Techniques for Training GANs"

Status: Archive (code is provided as-is, no updates expected) improved-gan code for the paper "Improved Techniques for Training GANs" MNIST, SVHN, CIF

OpenAI 2.2k Jan 01, 2023
[ICRA 2022] An opensource framework for cooperative detection. Official implementation for OPV2V.

OpenCOOD OpenCOOD is an Open COOperative Detection framework for autonomous driving. It is also the official implementation of the ICRA 2022 paper OPV

Runsheng Xu 322 Dec 23, 2022
Creating predictive checklists from data using integer programming.

Learning Optimal Predictive Checklists A Python package to learn simple predictive checklists from data subject to customizable constraints. For more

Healthy ML 5 Apr 19, 2022
A minimal TPU compatible Jax implementation of NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis

NeRF Minimal Jax implementation of NeRF: Representing Scenes as Neural Radiance Fields for View Synthesis. Result of Tiny-NeRF RGB Depth

Soumik Rakshit 11 Jul 24, 2022
GeoMol: Torsional Geometric Generation of Molecular 3D Conformer Ensembles

GeoMol: Torsional Geometric Generation of Molecular 3D Conformer Ensembles This repository contains a method to generate 3D conformer ensembles direct

127 Dec 20, 2022
public repo for ESTER dataset and modeling (EMNLP'21)

Project / Paper Introduction This is the project repo for our EMNLP'21 paper: https://arxiv.org/abs/2104.08350 Here, we provide brief descriptions of

PlusLab 19 Oct 27, 2022
CVPR 2021 - Official code repository for the paper: On Self-Contact and Human Pose.

TUCH This repo is part of our project: On Self-Contact and Human Pose. [Project Page] [Paper] [MPI Project Page] License Software Copyright License fo

Lea Müller 45 Jan 07, 2023
Out-of-distribution detection using the pNML regret. NeurIPS2021

OOD Detection Load conda environment conda env create -f environment.yml or install requirements: while read requirement; do conda install --yes $requ

Koby Bibas 23 Dec 02, 2022
Using machine learning to predict undergrad college admissions.

College-Prediction Project- Overview: Many have tried, many have failed. Few trailblazers are ambitious enought to chase acceptance into the top 15 un

John H Klinges 1 Jan 05, 2022
Unsupervised Representation Learning via Neural Activation Coding

Neural Activation Coding This repository contains the code for the paper "Unsupervised Representation Learning via Neural Activation Coding" published

yookoon park 5 May 26, 2022