Skip to content

Instantly share code, notes, and snippets.

Benyamin Salimi benyaminsalimi

View GitHub Profile
benyaminsalimi /
Last active Dec 19, 2018
Prediction jmp model to python stand alone script
Data Prediction Fucntion
Author : Esmaeil Hadavandi <>
Python : Benyamin Salimi <>
input : input.xlsx
output: output.xlsx
benyaminsalimi /
Created Aug 26, 2018
This example shows how regression can be used to create prediction intervals. i just change it for working in pandas data farm (coal data)
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 <>
benyaminsalimi /
Last active Jan 8, 2017
simple python script for getting report card form birjand university of technology portal
# 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()
benyaminsalimi /
Created Dec 26, 2016
genetic algorithm for matyas founction
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:

benyaminsalimi /
Created Sep 15, 2016
simple RestApi for RaspberryPi RPIO & camera model with flask
# 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__)
benyaminsalimi /
Last active Dec 26, 2018
python function for login to
# 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):
You can’t perform that action at this time.