添加目录和文件
This commit is contained in:
parent
0ed998d086
commit
1ac0cde704
|
|
@ -0,0 +1,215 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset=“UTF-8”>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table style="width: 100%">
|
||||
|
||||
<tr>
|
||||
|
||||
<th>变量名</th>
|
||||
|
||||
<th>样本1</th>
|
||||
|
||||
<th>样本2</th>
|
||||
|
||||
<th>样本3</th>
|
||||
|
||||
<th>样本4</th>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>SeriousDlqin2yrs</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>RevolvingUtilizationOfUnsecuredLines</td>
|
||||
|
||||
<td>0.96</td>
|
||||
|
||||
<td>0.66</td>
|
||||
|
||||
<td>0.23</td>
|
||||
|
||||
<td>0.91</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>Age</td>
|
||||
|
||||
<td>40.00</td>
|
||||
|
||||
<td>38.00</td>
|
||||
|
||||
<td>30.00</td>
|
||||
|
||||
<td>49.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>NumberOfTime30-59DaysPastDueNotWorse</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>1.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>1.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>DebtRatio</td>
|
||||
|
||||
<td>0.12</td>
|
||||
|
||||
<td>0.09</td>
|
||||
|
||||
<td>0.04</td>
|
||||
|
||||
<td>0.02</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>MonthlyIncome</td>
|
||||
|
||||
<td>2600.00</td>
|
||||
|
||||
<td>3042.00</td>
|
||||
|
||||
<td>3300.00</td>
|
||||
|
||||
<td>63588.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>NumberOfOpenCreditLinesAndLoans</td>
|
||||
|
||||
<td>4.00</td>
|
||||
|
||||
<td>2.00</td>
|
||||
|
||||
<td>5.00</td>
|
||||
|
||||
<td>7.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>NumberOfTimes90DaysLate</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>1.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>NumberRealEstateLoansOrLines</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>1.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>NumberOfTime60-89DaysPastDueNotWorse</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>NumberOfDependents</td>
|
||||
|
||||
<td>1.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
<td>0.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<script>
|
||||
|
||||
window.addEventListener('message', function(event) {
|
||||
|
||||
if (event.data.action === 'requestHeight') {
|
||||
|
||||
const iframeId = event.data.iframeId;
|
||||
|
||||
adjustIframeHeight(iframeId);
|
||||
|
||||
}
|
||||
|
||||
}, false);
|
||||
|
||||
function adjustIframeHeight(iframeId) {
|
||||
|
||||
const height = document.documentElement.scrollHeight + 16;
|
||||
|
||||
console.log(height)
|
||||
|
||||
window.parent.postMessage({action: 'responseHeight', iframeId: iframeId, height: height}, '*');
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
@ -0,0 +1,416 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Awesome-pyecharts</title>
|
||||
<script type="text/javascript" src="https://assets.pyecharts.org/assets/v5/echarts.min.js"></script>
|
||||
|
||||
</head>
|
||||
<body >
|
||||
<div id="ede163b87a834f55b6eb4e22fea162ad" class="chart-container" style="width:500px; height:350px; "></div>
|
||||
<script>
|
||||
var chart_ede163b87a834f55b6eb4e22fea162ad = echarts.init(
|
||||
document.getElementById('ede163b87a834f55b6eb4e22fea162ad'), 'white', {renderer: 'canvas'});
|
||||
var option_ede163b87a834f55b6eb4e22fea162ad = {
|
||||
"animation": true,
|
||||
"animationThreshold": 2000,
|
||||
"animationDuration": 1000,
|
||||
"animationEasing": "cubicOut",
|
||||
"animationDelay": 0,
|
||||
"animationDurationUpdate": 300,
|
||||
"animationEasingUpdate": "cubicOut",
|
||||
"animationDelayUpdate": 0,
|
||||
"aria": {
|
||||
"enabled": false
|
||||
},
|
||||
"color": [
|
||||
"#165DFF",
|
||||
"#14C9C9",
|
||||
"#5470c6",
|
||||
"#91cc75",
|
||||
"#fac858",
|
||||
"#ee6666",
|
||||
"#73c0de",
|
||||
"#3ba272",
|
||||
"#fc8452",
|
||||
"#9a60b4",
|
||||
"#ea7ccc"
|
||||
],
|
||||
"series": [
|
||||
{
|
||||
"type": "bar",
|
||||
"name": "\u6837\u672c\u6570",
|
||||
"yAxisIndex": 0,
|
||||
"legendHoverLink": true,
|
||||
"data": [
|
||||
16832,
|
||||
24174,
|
||||
50205,
|
||||
24079,
|
||||
33920
|
||||
],
|
||||
"realtimeSort": false,
|
||||
"showBackground": false,
|
||||
"stackStrategy": "samesign",
|
||||
"cursor": "pointer",
|
||||
"barMinHeight": 0,
|
||||
"barCategoryGap": "35%",
|
||||
"barGap": "15%",
|
||||
"large": false,
|
||||
"largeThreshold": 400,
|
||||
"seriesLayoutBy": "column",
|
||||
"datasetIndex": 0,
|
||||
"clip": true,
|
||||
"zlevel": 0,
|
||||
"z": 2,
|
||||
"label": {
|
||||
"show": true,
|
||||
"position": "left",
|
||||
"color": "#86909C",
|
||||
"margin": 8,
|
||||
"fontSize": "12px",
|
||||
"fontWeight": "bold",
|
||||
"fontFamily": "PingFang SC"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "line",
|
||||
"name": "\u8bc1\u636e\u6743\u91cd",
|
||||
"connectNulls": false,
|
||||
"xAxisIndex": 0,
|
||||
"yAxisIndex": 1,
|
||||
"symbol": "circle",
|
||||
"symbolSize": 6,
|
||||
"showSymbol": true,
|
||||
"smooth": true,
|
||||
"clip": true,
|
||||
"step": false,
|
||||
"data": [
|
||||
[
|
||||
"[-0.01, 33.5)",
|
||||
0.51
|
||||
],
|
||||
[
|
||||
"[33.5, 42.5)",
|
||||
0.34
|
||||
],
|
||||
[
|
||||
"[42.5, 56.5)",
|
||||
0.14
|
||||
],
|
||||
[
|
||||
"[56.5, 63.5)",
|
||||
-0.35
|
||||
],
|
||||
[
|
||||
"[63.5, 109.01)",
|
||||
-0.92
|
||||
]
|
||||
],
|
||||
"hoverAnimation": true,
|
||||
"label": {
|
||||
"show": true,
|
||||
"position": "top",
|
||||
"color": "#86909C",
|
||||
"margin": 8,
|
||||
"fontSize": "12px",
|
||||
"fontWeight": "bold",
|
||||
"fontFamily": "PingFang SC"
|
||||
},
|
||||
"logBase": 10,
|
||||
"seriesLayoutBy": "column",
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid"
|
||||
},
|
||||
"areaStyle": {
|
||||
"opacity": 0
|
||||
},
|
||||
"zlevel": 1,
|
||||
"z": 0
|
||||
}
|
||||
],
|
||||
"legend": [
|
||||
{
|
||||
"data": [
|
||||
"\u6837\u672c\u6570",
|
||||
"\u8bc1\u636e\u6743\u91cd"
|
||||
],
|
||||
"selected": {},
|
||||
"show": true,
|
||||
"left": "center",
|
||||
"top": "top",
|
||||
"orient": "horizontal",
|
||||
"align": "auto",
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"itemWidth": 10,
|
||||
"itemHeight": 10,
|
||||
"inactiveColor": "#86909C",
|
||||
"textStyle": {
|
||||
"color": "#86909C",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"fontFamily": "PingFang SC",
|
||||
"fontSize": "12px"
|
||||
},
|
||||
"backgroundColor": "transparent",
|
||||
"borderColor": "#ccc",
|
||||
"borderWidth": 0,
|
||||
"borderRadius": 0,
|
||||
"pageButtonItemGap": 5,
|
||||
"pageButtonPosition": "end",
|
||||
"pageFormatter": "{current}/{total}",
|
||||
"pageIconColor": "#2f4554",
|
||||
"pageIconInactiveColor": "#aaa",
|
||||
"pageIconSize": 15,
|
||||
"animationDurationUpdate": 800,
|
||||
"selector": false,
|
||||
"selectorPosition": "auto",
|
||||
"selectorItemGap": 7,
|
||||
"selectorButtonGap": 10
|
||||
}
|
||||
],
|
||||
"tooltip": {
|
||||
"show": false,
|
||||
"trigger": "item",
|
||||
"triggerOn": "mousemove|click",
|
||||
"axisPointer": {
|
||||
"type": "line"
|
||||
},
|
||||
"showContent": true,
|
||||
"alwaysShowContent": false,
|
||||
"showDelay": 0,
|
||||
"hideDelay": 100,
|
||||
"enterable": false,
|
||||
"confine": false,
|
||||
"appendToBody": false,
|
||||
"transitionDuration": 0.4,
|
||||
"textStyle": {
|
||||
"fontSize": 14
|
||||
},
|
||||
"borderWidth": 0,
|
||||
"padding": 5,
|
||||
"order": "seriesAsc"
|
||||
},
|
||||
"xAxis": [
|
||||
{
|
||||
"name": "\u5206\u7bb1",
|
||||
"show": true,
|
||||
"scale": false,
|
||||
"nameLocation": "end",
|
||||
"nameGap": 15,
|
||||
"nameTextStyle": {
|
||||
"color": "#86909C",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "bold",
|
||||
"fontFamily": "PingFang SC",
|
||||
"fontSize": "14px"
|
||||
},
|
||||
"gridIndex": 0,
|
||||
"axisLine": {
|
||||
"show": true,
|
||||
"onZero": true,
|
||||
"onZeroAxisIndex": 0,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid",
|
||||
"color": "#86909C"
|
||||
}
|
||||
},
|
||||
"axisTick": {
|
||||
"show": true,
|
||||
"alignWithLabel": false,
|
||||
"inside": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid",
|
||||
"color": "#86909C"
|
||||
}
|
||||
},
|
||||
"axisLabel": {
|
||||
"show": true,
|
||||
"position": "inside",
|
||||
"color": "#86909C",
|
||||
"rotate": 30,
|
||||
"margin": 8,
|
||||
"fontSize": "12px",
|
||||
"fontWeight": "normal",
|
||||
"fontFamily": "PingFang SC"
|
||||
},
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": false,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "dashed",
|
||||
"color": "#E5E6EB"
|
||||
}
|
||||
},
|
||||
"data": [
|
||||
"[-0.01, 33.5)",
|
||||
"[33.5, 42.5)",
|
||||
"[42.5, 56.5)",
|
||||
"[56.5, 63.5)",
|
||||
"[63.5, 109.01)"
|
||||
]
|
||||
}
|
||||
],
|
||||
"yAxis": [
|
||||
{
|
||||
"show": false,
|
||||
"scale": false,
|
||||
"nameLocation": "end",
|
||||
"nameGap": 15,
|
||||
"nameTextStyle": {
|
||||
"color": "#86909C",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"fontFamily": "PingFang SC",
|
||||
"fontSize": "12px"
|
||||
},
|
||||
"gridIndex": 0,
|
||||
"axisLine": {
|
||||
"show": true,
|
||||
"onZero": true,
|
||||
"onZeroAxisIndex": 0,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid",
|
||||
"color": "#86909C"
|
||||
}
|
||||
},
|
||||
"axisTick": {
|
||||
"show": false,
|
||||
"alignWithLabel": false,
|
||||
"inside": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid",
|
||||
"color": "#86909C"
|
||||
}
|
||||
},
|
||||
"axisLabel": {
|
||||
"color": "#86909C",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"fontFamily": "PingFang SC",
|
||||
"fontSize": "12px"
|
||||
},
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": false,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "dashed",
|
||||
"color": "#E5E6EB"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"show": false,
|
||||
"scale": false,
|
||||
"nameLocation": "end",
|
||||
"nameGap": 15,
|
||||
"nameTextStyle": {
|
||||
"color": "#86909C",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"fontFamily": "PingFang SC",
|
||||
"fontSize": "12px"
|
||||
},
|
||||
"gridIndex": 0,
|
||||
"axisLine": {
|
||||
"show": true,
|
||||
"onZero": true,
|
||||
"onZeroAxisIndex": 0,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid",
|
||||
"color": "#86909C"
|
||||
}
|
||||
},
|
||||
"axisTick": {
|
||||
"show": false,
|
||||
"alignWithLabel": false,
|
||||
"inside": true,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "solid",
|
||||
"color": "#86909C"
|
||||
}
|
||||
},
|
||||
"axisLabel": {
|
||||
"color": "#86909C",
|
||||
"fontStyle": "normal",
|
||||
"fontWeight": "normal",
|
||||
"fontFamily": "PingFang SC",
|
||||
"fontSize": "12px"
|
||||
},
|
||||
"inverse": false,
|
||||
"offset": 0,
|
||||
"splitNumber": 5,
|
||||
"minInterval": 0,
|
||||
"splitLine": {
|
||||
"show": false,
|
||||
"lineStyle": {
|
||||
"show": true,
|
||||
"width": 1,
|
||||
"opacity": 1,
|
||||
"curveness": 0,
|
||||
"type": "dashed",
|
||||
"color": "#E5E6EB"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
{
|
||||
"show": true,
|
||||
"target": "blank",
|
||||
"subtarget": "blank",
|
||||
"padding": 5,
|
||||
"itemGap": 10,
|
||||
"textAlign": "auto",
|
||||
"textVerticalAlign": "auto",
|
||||
"triggerEvent": false
|
||||
}
|
||||
]
|
||||
};
|
||||
chart_ede163b87a834f55b6eb4e22fea162ad.setOption(option_ede163b87a834f55b6eb4e22fea162ad);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,131 @@
|
|||
<!DOCTYPE html>
|
||||
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset=“UTF-8”>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="../stylesheet.css">
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table style="width: 100%">
|
||||
|
||||
<tr>
|
||||
|
||||
<th>分箱</th>
|
||||
|
||||
<th>证据权重</th>
|
||||
|
||||
<th>加权基础分数</th>
|
||||
|
||||
<th>加权回归系数</th>
|
||||
|
||||
<th>分数</th>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>[-0.01, 33.5)</td>
|
||||
|
||||
<td>0.51</td>
|
||||
|
||||
<td>87.43</td>
|
||||
|
||||
<td>-39.99</td>
|
||||
|
||||
<td>67.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>[33.5, 42.5)</td>
|
||||
|
||||
<td>0.34</td>
|
||||
|
||||
<td>87.43</td>
|
||||
|
||||
<td>-39.99</td>
|
||||
|
||||
<td>74.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>[42.5, 56.5)</td>
|
||||
|
||||
<td>0.14</td>
|
||||
|
||||
<td>87.43</td>
|
||||
|
||||
<td>-39.99</td>
|
||||
|
||||
<td>82.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>[56.5, 63.5)</td>
|
||||
|
||||
<td>-0.35</td>
|
||||
|
||||
<td>87.43</td>
|
||||
|
||||
<td>-39.99</td>
|
||||
|
||||
<td>101.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td>[63.5, 109.01)</td>
|
||||
|
||||
<td>-0.92</td>
|
||||
|
||||
<td>87.43</td>
|
||||
|
||||
<td>-39.99</td>
|
||||
|
||||
<td>124.00</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<script>
|
||||
|
||||
window.addEventListener('message', function(event) {
|
||||
|
||||
if (event.data.action === 'requestHeight') {
|
||||
|
||||
const iframeId = event.data.iframeId;
|
||||
|
||||
adjustIframeHeight(iframeId);
|
||||
|
||||
}
|
||||
|
||||
}, false);
|
||||
|
||||
function adjustIframeHeight(iframeId) {
|
||||
|
||||
const height = document.documentElement.scrollHeight + 16;
|
||||
|
||||
console.log(height)
|
||||
|
||||
window.parent.postMessage({action: 'responseHeight', iframeId: iframeId, height: height}, '*');
|
||||
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Reference in New Issue