hsz1273327 / scorecardmodel Goto Github PK
View Code? Open in Web Editor NEWScore card model for Credit Scoring System.
Home Page: https://data-science-tools.github.io/ScoreCardModel/
License: Other
Score card model for Credit Scoring System.
Home Page: https://data-science-tools.github.io/ScoreCardModel/
License: Other
新增svm模型用于预测
重构项目的结构,
不再使用继承,各个模块相互独立,
将检测的部分完全剥离,使用函数来实现而不再是通过继承
将预处理和核心完全剥离,核心要求输入的就是分好箱预处理完成的干净数据
File "E:\pwork\ScoreCardModel-master\ScoreCardModel\models\logistic_regression_model.py", line 107, in _predict_proba
return self._model.predict_proba(x)
avg / total 1.00 1.00 1.00 45
File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\linear_model\logistic.py", line 1336, in predict_proba
return super(LogisticRegression, self)._predict_proba_lr(X)
File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\linear_model\base.py", line 338, in _predict_proba_lr
prob = self.decision_function(X)
File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\linear_model\base.py", line 300, in decision_function
X = check_array(X, accept_sparse='csr')
File "C:\ProgramData\Anaconda3\lib\site-packages\sklearn\utils\validation.py", line 441, in check_array
"if it contains a single sample.".format(array))
ValueError: Expected 2D array, got 1D array instead:
array=[ -0.78015856 0.89794159 20. 2.65926004].
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.
新增神经网络模型预测,可以设置训练次数,以挑出最优的模型
计算模型的ks
实现一个smbining分箱算法,暂时不考虑性能
新增评分卡模型的子类,有如下特性:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.