python
文章平均质量分 95
xiaogss
只是个人
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Python简单实现二元一次方程求根
#!/usr/bin/env python3# -*- coding: utf-8 -*- import math def my_def(a,b,c): coeffic = [a,b,c] leng = len(coeffic) - 1 for num in coeffic: #限制输入的数据类型 if no...转载 2018-03-15 16:09:09 · 14753 阅读 · 0 评论 -
python实现内侧菱形三十面体的顶点坐标计算和点积方法
numpy原创 2018-03-17 15:01:24 · 288 阅读 · 0 评论 -
内侧菱形三十面体的顶点坐标计算和点积方法Python实现
内侧菱形三十面体的顶点坐标计算和点积方法实现原创 2018-03-30 14:52:23 · 11914 阅读 · 1 评论 -
metrics
1. sklearn.metrics.roc_curve(true_y. pred_proba_score, pos_labal)计算roc曲线,roc曲线有三个属性:fpr, tpr,和阈值,因此该函数返回这三个变量,l例如import numpy as npfrom sklearn.metrics import roc_curvey = np.array([1,1,2,2])pred =...转载 2018-04-03 10:52:01 · 796 阅读 · 0 评论 -
cross_validation问题
This module was deprecated in version 0.18 in favor of the model_selection module into which all the refactored classes and functions are moved. Also note that the interface of the new CV iterators ar...转载 2018-04-03 11:23:31 · 2767 阅读 · 0 评论
分享