Skip to content

Instantly share code, notes, and snippets.

View hengzhe-zhang's full-sized avatar

Hengzhe Zhang hengzhe-zhang

View GitHub Profile
class DiffEvol(object):
"""
Implements the differential evolution optimization method by Storn & Price
(Storn, R., Price, K., Journal of Global Optimization 11: 341--359, 1997)
:param fun:
the function to be minimized
:param bounds:
parameter bounds as [npar,2] array
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
from common import ElementList
from items import LagouItem
job_list = [
'机器学习 实习',
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
from common import ElementList
from items import LagouItem
job_list = [
'机器学习 实习',
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
from common import ElementList
from items import LagouItem
job_list = [
'机器学习 实习',
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hengzhe-zhang
hengzhe-zhang / FishElm.py
Created August 4, 2017 15:15
基于ELM的图片多分类器
# 基于ELM的图片多分类器
import os
import cv2
import hpelm
import numpy as np
class FishElm(object):
sample_num = 0 # 每种照片样本数
photo_dir = '' # 照片路径