层次分析法的优缺点,层次分析法的三大原则

首页 > 教育 > 作者:YD1662024-05-11 07:35:48

层次分析法的优缺点,层次分析法的三大原则(5)

层次分析法的优缺点,层次分析法的三大原则(6)

上面三张图是三个方案在各个标准上的评分,整个体系的评分如下图:

层次分析法的优缺点,层次分析法的三大原则(7)

三个标准权重:C=[0.230,0.648,0.122]

A1的评分:A1=[0.105,0.592,0.149]

A2的评分:A1=[0.258,0.333,0.066]

A3的评分:A1=[0.637,0.075,0.785]

计算各个方案总评分并对方案进行排序:A1、A3、A2

方案A1:A1*C=[0.230,0.648,0.122]*[0.105,0.592,0.149]=0.426

方案A2:A2*C=[0.230,0.648,0.122]*[0.258,0.333,0.066]=0.283

方案A3:A3*C=[0.230,0.648,0.122]*[0.637,0.075,0.785]=0.291

import numpy as np import pandas as pd C=np.array([0.230,0.648,0.122]) A1=np.array([0.105,0.592,0.149]).T A2=np.array([0.258,0.333,0.066]).T A3=np.array([0.637,0.075,0.785]).T print(f'方案A1 得分:%.3f' % C.dot(A1)) #矩阵相乘 print(f'方案A2 得分:%.3f' % C.dot(A2)) print(f'方案A3 得分:%.3f' % C.dot(A3))

层次分析法的优缺点,层次分析法的三大原则(8)

上一页123下一页

栏目热文

文档排行

本站推荐

Copyright © 2018 - 2021 www.yd166.com., All Rights Reserved.