Featured Post

SQL Interview Success: Unlocking the Top 5 Frequently Asked Queries

Image
 Here are the five top commonly asked SQL queries in the interviews. These you can expect in Data Analyst, or, Data Engineer interviews. Top SQL Queries for Interviews 01. Joins The commonly asked question pertains to providing two tables, determining the number of rows that will return on various join types, and the resultant. Table1 -------- id ---- 1 1 2 3 Table2 -------- id ---- 1 3 1 NULL Output ------- Inner join --------------- 5 rows will return The result will be: =============== 1  1 1   1 1   1 1    1 3    3 02. Substring and Concat Here, we need to write an SQL query to make the upper case of the first letter and the small case of the remaining letter. Table1 ------ ename ===== raJu venKat kRIshna Solution: ========== SELECT CONCAT(UPPER(SUBSTRING(name, 1, 1)), LOWER(SUBSTRING(name, 2))) AS capitalized_name FROM Table1; 03. Case statement SQL Query ========= SELECT Code1, Code2,      CASE         WHEN Code1 = 'A' AND Code2 = 'AA' THEN "A" | "A

IoT real concept for auto insurance

IoT in insurance is a connected car which helps transforming how insurance premiums can be calculated.

With the help of a small wireless device that plugs into the diagnostic port, Metromile offers a “per-mile” usage-based insurance. Often, low-mileage drivers overpay for insurance because they’re subsidizing those who drive the most.

Insurance Calculation

But since the number one risk indicator for drivers is time on the road, Metromile can offer insurance pro-rata by tracking the miles driven.
Mile-based insurance an application of IoT
#Mile-based insurance an application of IoT:
According to wiki: Usage-based insurance (UBI) -also known as pay as you drive (PAYD) and pay how you drive (PHYD) and mile-based auto insurance is a type of vehicle insurance whereby the costs are dependent upon the type of vehicle used, measured against time, distance, behavior, and place.

This differs from traditional insurance, which attempts to differentiate and reward "safe" drivers, giving them lower premiums and/or a no-claims bonus.


However, conventional differentiation is a reflection of history rather than present patterns of behavior.


This means that it may take a long time before safer (or more reckless) patterns of driving and changes in lifestyle feed through into premiums.

Usage of IoT technique - Pay as you drive (PAYD) means that the insurance premium is calculated dynamically, typically according to the amount driven. There are three types of usage-based insurance:
  • Coverage is based on the odometer reading of the vehicle. 
  • Coverage is based on mileage aggregated from GPS data, or the number of minutes the vehicle is being used as recorded by a vehicle-independent module transmitting data via cellphone or RF technology. 
  • Coverage is based on other data collected from the vehicle, including speed and time-of-day information, the historic riskiness of the road, driving actions in addition to distance or time traveled. IoT Beginner to an expert in a nutshell
The formula can be a simple function of the number of miles driven or can vary according to the type of driving or the identity of the driver. Once the basic scheme is in place, it is possible to add further details, such as an extra risk premium if someone drives too long without a break, uses their mobile phone while driving, or travels at an excessive speed.

Telematic usage-based insurance (i.e. the latter two types, in which vehicle information is automatically transmitted to the system) provides a much more immediate feedback loop to the driver, by changing the cost of insurance dynamically with a change of risk. This means drivers have a stronger incentive to adopt safer practices.

For example, if a commuter switches to public transport or to working at home, this immediately reduces the risk of rush hour accidents. With usage-based insurance, this reduction would be immediately reflected in the cost of car insurance for that month. The smartphone as measurement probe for insurance telematics has been surveyed.

Comments

Popular posts from this blog

How to Fix datetime Import Error in Python Quickly

Explained Ideal Structure of Python Class

How to Check Kafka Available Brokers