Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 49809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:29:41+00:00 2026-05-10T16:29:41+00:00

What is an algorithm to compare multiple sets of numbers against a target set

  • 0

What is an algorithm to compare multiple sets of numbers against a target set to determine which ones are the most ‘similar’?

One use of this algorithm would be to compare today’s hourly weather forecast against historical weather recordings to find a day that had similar weather.

The similarity of two sets is a bit subjective, so the algorithm really just needs to diferentiate between good matches and bad matches. We have a lot of historical data, so I would like to try to narrow down the amount of days the users need to look through by automatically throwing out sets that aren’t close and trying to put the ‘best’ matches at the top of the list.

Edit: Ideally the result of the algorithm would be comparable to results using different data sets. For example using the mean square error as suggested by Niles produces pretty good results, but the numbers generated when comparing the temperature can not be compared to numbers generated with other data such as Wind Speed or Precipitation because the scale of the data is different. Some of the non-weather data being is very large, so the mean square error algorithm generates numbers in the hundreds of thousands compared to the tens or hundreds that is generated by using temperature.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T16:29:42+00:00Added an answer on May 10, 2026 at 4:29 pm

    I think the mean square error metric might work for applications such as weather compares. It’s easy to calculate and gives numbers that do make sense.

    Since your want to compare measurements over time you can just leave out missing values from the calculation.

    For values that are not time-bound or even unsorted, multi-dimensional scatter data it’s a bit more difficult. Choosing a good distance metric becomes part of the art of analysing such data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 64k
  • Answers 64k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer I read something somewhat detailed about this once and I… May 11, 2026 at 10:54 am
  • added an answer We tested both and found Enyim to perform the best… May 11, 2026 at 10:54 am
  • added an answer how about you bind _ to a function roughly like… May 11, 2026 at 10:54 am

Related Questions

What is an algorithm to compare multiple sets of numbers against a target set
The question gives all necessary data: what is an efficient algorithm to generate a
What is an effective algorithm for nesting 1 dimensional lengths into predefined stock lengths?
Duplicate : What is the best algorithm for an overridden System.Object.GetHashCode? If you've written
What is the most efficient algorithm for grouping identical items together in an array,
You have an ascending list of numbers, what is the most efficient algorithm you
what is an efficient way to get a certain time for the next day
What is an efficient way to implement a singleton design pattern in Java?
What is an elegant way to sort objects in PHP? I would love to
What is an example of a fast SQL to get duplicates in datasets with

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.