Skip to main content

A package for learning and teaching mathematical modeling

Project description

Model-Insight

Description

Model-insight is a Python third-party library that loads commonly used mathematical modeling data sets and performs modeling processing (such as evaluation problems, simulation problems, etc.). At the same time, we can also learn the related knowledge of mathematical modeling.

Installing

Use pip

>>>pip install model-insight==0.4.2

Load Datasets

>>>from model_insight.load_datasets import load_#

Several datasets are availiable:

  • Evaluation
    • Battery
    • Roller coaster
    • Aircraft
  • Optimization
    • oil
    • swim
    • portfolio
  • Change
    • Population of U.S.
    • Shanghai COVID cases
  • Prediction
    • Restaurant sales
    • Mead lake
    • Titanic
  • Explaination
    • Adult salary

Multi-criteria Decision Making

Model-Insight provides some functions to preprocess data, give weights, and do comprehensive evaluation. For example,

>>>from model_insight.mcdm_functions import ahp
>>>judgement_matrix = np.array([[1,2,3],[1/2,1,4],[1/3,1/4,1]])
>>>ahp_weights = ahp(judgement_matrix)
>>>ahp_weights
>>>The Max Eigenvalue is  (3.1078473338549757+0j)
array([0.51713362+0.j, 0.35856042+0.j, 0.12430596+0.j])

Welcome to cooperation

If you are interested in this project, you can contact me via learningmm@163.com.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

model-insight-0.44.tar.gz (378.8 kB view details)

Uploaded Source

File details

Details for the file model-insight-0.44.tar.gz.

File metadata

  • Download URL: model-insight-0.44.tar.gz
  • Upload date:
  • Size: 378.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.5

File hashes

Hashes for model-insight-0.44.tar.gz
Algorithm Hash digest
SHA256 c85b5f0d64c02a9a16313abf17e83f897de25580144c34168da3b2c242bfaaf8
MD5 99a3a996d35466303a1736e6a28e85b7
BLAKE2b-256 4a19432f45000d3983f89abab3b7ef23cb67e5c35bf97e1cec52630ddcf2380d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page