Instantly share code, notes, and snippets.

Benyamin Salimi benyaminsalimi

View GitHub Profile
Data Prediction Fucntion
Author : Esmaeil Hadavandi <>
Python : Benyamin Salimi <>
input : input.xlsx
output: output.xlsx
Prediction Intervals for Gradient Boosting Regression
This example shows how quantile regression can be used
to create prediction intervals.
the regression model is created for coal data.
Author : Benyamin Salimi <>
# its just for command line geeks!
# Enter your username and password and run :)
# I got tired to loging and refreshing my university portal!
#try to make my and my friends life much easer with this simple script
#if you are developer u can use my functions to develope application or bot for university portal, MAKE ME HAPPY with that :)
import requests,hashlib,pickle
from bs4 import BeautifulSoup
def get_session(username, password):
md5 = hashlib.md5()
based on :
run: python
fitness function is performed for matyas problem
mtyas problem :
from random import randint, random, uniform
## sakhte yek fard
def individual(length, min, max):
return [ uniform(min,max) for x in xrange(length) ]

Keybase proof

I hereby claim:

  • I am benyaminsalimi on github.
  • I am benyamin ( on keybase.
  • I have a public key whose fingerprint is 960E 03C8 2839 9B36 FD3D B23C 4832 C83D 7D5C DBB6

To claim this, I am signing this object:

# BPi restFull-api by @BenyaminSalimi
# you can see log of this program in "BPi.log"
from flask import Flask,jsonify,send_file
import picamera
import time
import RPi.GPIO as GPIO
app = Flask(__name__)
# this function can be use for loging to every old sadaf university portal ! also can use for evil thing :)
# there is no captcha and childern can do EVIL thing with this portal :-D
# sadaf portal developed by this company :
# sadaf portal used for Birjand university of techonology and Ferdowsi university of Mashhad
# usage as you know : check('9313344449','123456')
import requests
import hashlib
import bs4
def check(username, password):