Skip to main content

My first Python library

Project description

Edvins Python Library

My library for personally coded python functions and classes
Is sorted into my courses right now
The library isn't superrr useful, but it's fun

Installation

pip install edvinspythonlib

Get started

How to use one of my functions or classes in your own code

# Import one of the modules
from edvinspythonlib import machinelearning as ml

# Call the method you wish to use
model = ml.linearRegression()
model.fit(X,y)
model.residualPlot(X,y)

Documentation

Currently the three working modules are:

  • machinelearning
  • imageanalysis
  • algodata

Later I hope to also add funtionality for:

  • mathstat
  • computervision
  • reinforcementlearning
  • activemachinelearning

Testing is currently sparse, but I hope to work on that soon

machinelearning

Some functions and classes for my course "Machine learning and data mining" Current implementations:

  • function standardizedata
  • function PCAe
  • function kFoldCV
  • function nestedCV
  • class linearRegression
  • class baselineRegression

algodata

Some functions and classes for my course "Algorithms and data structures" Current implementations:

  • class Stack
  • class Queue
  • function SA

imageanalysis

Some functions and classes for my course "Image analysis" Current implementations:

  • function plotimg
  • function todecimal
  • function tobin
  • function histogram
  • function changevectorbasis
  • function thinlensequation
  • function runlengthencoding
  • function chaincode
  • function stretchimage
  • function stretchfunction
  • function gammamapping
  • function logmapping
  • function bilinear
  • function calculateR
  • function calculateentropy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

edvinspythonlib-0.2.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

edvinspythonlib-0.2.0-py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page