[python]Some anaconda commands

2022-3-12 写技术

conda create --name opencv python=3.9 conda info -e source activate opencv

阅读全文>>

标签: python

评论(1) 浏览(1639)

[ML]Dataset of Watermellon

2022-1-25 写技术

编号,色泽,根蒂,敲声,纹理,脐部,触感,好瓜 1,青绿,蜷缩,浊响,清晰,凹陷,硬滑,是 2,乌黑,蜷缩,沉闷,清晰,凹陷,硬滑,是 3,乌黑,蜷缩,浊响,清晰,凹陷,硬滑,是 4,青绿,蜷缩,沉闷,清晰,凹陷,硬滑,是 5,浅白,蜷缩,浊响,清晰,凹陷,硬滑,是 6,青绿,稍蜷,浊响,清晰,稍凹,软粘,是 7,乌黑,稍蜷,浊响,稍糊,稍凹,软粘,是 8,乌黑,稍蜷,浊响,清晰,稍凹,硬滑,是 9,乌黑,稍蜷,沉闷,稍糊,稍凹,硬滑,否 10,青绿,硬挺,清脆,清晰,平坦,软粘,否 11,浅白,硬挺,清脆,模糊,平坦,硬滑,否 12,浅白,蜷缩,浊响,模糊,平坦,软粘...

阅读全文>>

标签: machine_learning

评论(0) 浏览(1016)

[ML]Decision Tree

2022-1-25 写技术

class node: def __init__(self): self.subtree = [] class decisionTree: def __init__(self): self.raw_data = [] self.raw_data_lines = 0 self.a = [] self.a_num = 0 def load_data(self, path): fp = open(path, "r") lines = 0...

阅读全文>>

标签: machine_learning

评论(0) 浏览(824)

[JS]How to transform from float to buffer by javascript

2021-9-9 写技术

<head> <title>Float to Buffer</title> </head> Input Float: <textarea id="in"></textarea> Output ASCII: <textarea id="out"></textarea> <input type="button" value="Transfor" onclick="transf();" /> <br /> <br /> &...

阅读全文>>

标签: JS

评论(0) 浏览(916)

[JS]Transform from string to ASCII

2021-9-9 写技术

<head> <title>String to ASCII</title> </head> Input String: <textarea id="in"></textarea> Output ASCII: <textarea id="out"></textarea> <input type="button" value="Transfor" onclick="transf();" /> <br /> <br /> ...

阅读全文>>

标签: JS

评论(0) 浏览(929)

[python]Edit excel by xlrd and xlwt

2021-8-26 写技术

import xlrd import xlwt def edit_excel(fromFile, fromSheet): w_workbook = xlwt.Workbook() w_sheet = w_workbook.add_sheet("nicholas", cell_overwrite_ok=True) workbook = xlrd.open_workbook(fromFile) print(workbook.sheet_names()) sheet = workbook.sheet_names()[fromShe...

阅读全文>>

标签: python

评论(0) 浏览(1065)

[python]Read excel by xlrd

2021-8-26 写技术

import xlrd def read_excel(fromFile, fromSheet): workbook = xlrd.open_workbook(fromFile) print(workbook.sheet_names()) sheet = workbook.sheet_names()[fromSheet] sheet = workbook.sheet_by_index(fromSheet) print(sheet) row = sheet.nrows col = sheet.ncols ...

阅读全文>>

标签: python

评论(0) 浏览(1010)

[python]An example of get web page by selenium

2021-8-17 写技术

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.key...

阅读全文>>

标签: python

评论(0) 浏览(933)

How to install pytorch in ubuntu?

2021-8-7 写技术

conda install pytorch torchvision torchaudio cpuonly -c pytorch 1.You'd better install packages one by one. 2.After enter the command, then you may see "there are some packages will be downloaded". If the network is not well, you'd better cancel the installing processing and then download it ...

阅读全文>>

标签: DL

评论(0) 浏览(963)

Ubuntu on windows (WSL)

2021-8-6 写技术

After I installing the WSL by Microsoft Store failed, changed the network options to TLS 1.2 . And may be the location of domain must be America. That's all.

阅读全文>>

标签: ubuntu

评论(0) 浏览(982)

Powered by anycle 湘ICP备15001973号-1