资源简介
gridregression.py 是和前两个一起用的,不过用它的时候(在libsvm中做最优参数选择时)要注意将其里面的路径改一下。
代码片段和文件信息
#!/usr/bin/env python
import os sys
import Queue
import getpass
import re
from sys import exit
from threading import Thread
from string import find split join atof
from time import sleep
is_win32 = (sys.platform == ‘win32‘)
# svmtrain and gnuplot executable
svmtrain_exe = “C:\libsvm-3.14\python\svm-train.exe“
gnuplot_exe = “C:\gnuplot\bin\gnuplot.exe“
# example for windows
# svmtrain_exe = r“c:\tmp\libsvm-2.4\windows\svmtrain.exe“
# gnuplot_exe = r“c:\tmp\gp373w32\pgnuplot.exe“
# global parameters and their default values
fold = 5
c_begin c_end c_step = 10 15 1
g_begin g_end g_step = -10 0 1
p_begin p_end p_step = -8 -7 1
global dataset_pathname dataset_title pass_through_string
global out_filename png_filename
# experimental
ssh_workers = []
# ssh_workers = [‘linux1‘‘linux1‘‘linux2‘‘linux2‘‘linux3‘ ‘linux4‘ ‘linux6‘‘linux7‘‘linux8‘‘linux8‘‘linux9‘‘linux10‘‘linux11‘‘linux12‘]
nr_local_worker = 1
# process comm
- 上一篇:AES加解密
- 下一篇:Cisco Unify Call Manager 6.0.1
相关资源
- IPC-J-STD033潮湿、回流焊敏感表面贴装
- 网络是怎样连接的_户根勤.pdf
- tesseract最新最全资料.rar
- 大话数据结构.epub
- iBATIS实战.pdf
- zw_new_smile-7110337-ImageAnimationTest.zip
- zw_jhn199388-9911706-基于51单片机都_自动
- zw_fan7983377-9600053-RecyclerViewDemo.zip
- zw_CHINA__.zip
- 我的第一本算法书+算法图解.zip
- 数学物理方法_德顾樵编著_2012.01_545页
- zw_WKTConvert.zip
- tdxw.exe
- zw_LabVIEW_8.20程序设计从入门到精通.
- zw_20170105220330215.zip
- unlocker-master最新版.rar
- Nginx核心知识100讲全套课件.zip
- navicat.11.2.16.premium_cs_x64破解版.zip
- 凸优化_Boyd_王书宁译.rar
- 云盘.rar
- Xshell5.exe
- 20170121135652618.rar
- DiskGenius4.7.0专业版.rar
- AlphaControlsv11.16StableFullSource(D5和D10
- 雅奇880官方开源赠品30多个雅奇4.rar
- 2009_LabVIEW编程样式_清晰版.pdf
- tiger_newhu5.99.24.zip
- 大数据架构详解:从数据获取到深度
- 程序是怎样跑起来的_PDF电子书带书签
- MongodbSample.rar
评论
共有 条评论