按类别查询搜索结果
关于关键词 "Python" 的检测结果,共 10
【高性能计算】 WRF——wrf-python
aojuan | 2017-06-17 22:56:54 | 阅读(0) | 评论(0)
[root@master envs]# conda create -c conda-forge -n tutorial_2017 netcdf4 basemap cartopy xarray ffmpeg matplotlib=1.5.3 python=2.7 wrf-python [root@master envs]# source activate tutorial_2017 [root@master wrf-python]# conda create -c conda-forge -n tutorial_2017 pyngl CondaValueError: prefix already exists: /u【阅读全文】
【高性能计算】 python——preprocessing
aojuan | 2017-04-10 18:20:31 | 阅读(0) | 评论(0)
[aojuan@master ~]$ python >>> from sklearn import preprocessing >>> import numpy as np >>> y=np.array([[5,1,2],[5,5,10],[5,10,20]]) >>> y_scaled=preprocessing.scale(y) >>> y_scaled array([[ 0. , -1.1769647 , -1.1769647 ], [ 0. , -0.09053575, -0.09053575], [ 0. , 【阅读全文】
aojuan | 2017-03-07 10:01:46 | 阅读(0) | 评论(0)
Q: >>> import pandas as pd >>> titanic=pd.read_csv("/home/aojuan/script/python/game/train.csv") File "pandas/parser.pyx", line 2024, in pandas.parser.raise_parser_error (pandas/parser.c:27037) pandas.io.common.CParserError: Error tokenizing data. C error: Expected 1 fields in line 13, saw 2 【阅读全文】
【高性能计算】 python——查看库里的函数
aojuan | 2017-03-07 09:44:33 | 阅读(0) | 评论(0)
[aojuan@master ~]$ python >>> import sklearn >>> help(sklearn) DESCRIPTION Machine learning module for python ================================== See http://scikit-learn.org for complete documentation. PACKAGE CONTENTS __check_build (package) _build_utils (package) _isotonic base 【阅读全文】
aojuan | 2017-03-06 17:26:43 | 阅读(0) | 评论(0)
[aojuan@master ~]$ pip freeze [aojuan@master ~]$ python >>> import sklearn Segmentation fault [aojuan@master ~]$ conda remove scikit-learn -y [aojuan@master ~]$ conda remove numpy -y [aojuan@master ~]$ conda remove scipy -y [aojuan@master ~]$ conda install numpy -y [aojuan@master ~]$ conda instal【阅读全文】
aojuan | 2017-03-06 14:45:31 | 阅读(0) | 评论(0)
[aojuan@master ~]$ python >>> import pandas Segmentation fault [aojuan@master ~]$ pip install pandas [aojuan@master ~]$ pip install --upgrade pandas OSError: [Errno 13] Permission denied: '/usr/local/anaconda2/lib/python2.7/site-packages/numpy/__co [root@master ~]# cd /usr/local/ drwxr-xr-x. 20 ro【阅读全文】
【高性能计算】 python——anaconda安装
aojuan | 2017-03-06 09:45:56 | 阅读(0) | 评论(0)
1、Download Anaconda https://www.continuum.io/downloads/ python 2.7 version 64bit 2、Install Anaconda [root@master ~]# cp /home/aojuan/software/Anaconda2-4.3.0-Linux-x86_64.sh /mnt/pub/aojuan/software/ [root@master ~]# cd /mnt/pub/aojuan/software/ [root@master software]#bash Anaconda2-4.3.0-Linux-x86_64.sh 【阅读全文】
【高性能计算】 python学习(二)高级
aojuan | 2017-03-03 16:41:32 | 阅读(0) | 评论(0)
参考网址:http://www.runoob.com/python/python-object.html 1、面向对象 1)类 [aojuan@master game]$ vi test1.py 24 class employee: 25 '?~I~@?~\~I?~Q~X工?~Z~D类' 26 empCount=0 27 def __init__(self,name,salary): 28 self.name=name 29 self.salary=salary 30 employee.empCount += 1 31 def displayCount(self): 32 【阅读全文】
【高性能计算】 python学习(一)基础
aojuan | 2017-03-03 10:25:26 | 阅读(0) | 评论(0)
参考网址:http://www.runoob.com/python/python-chinese-encoding.html 1、python下载与安装 python官网:www.python.org 集成开发环境IDE:https://www.jetbrains.com/pycharm/download/ 2、python中文编码 # coding:utf-8 before: 1 #!/opt/miniconda/bin/python 2 print "Hello, World!"; 3 print "?~V?~U~L?~A"; [aoj【阅读全文】
【高性能计算】 排序算法python实现
yueming | 2015-09-17 13:38:11 | 阅读(480) | 评论(0)