/py-machine-learning-labs

My own quick and basic implementations for Machine Learning Decision Tree classifier algorithm!

Primary LanguagePython

Experiment lab implementations for Machine Learning algorithms!

This project use pipenv project management build tool

commands used:

  • pipenv --three: Which will make use of Python 3 version and created Pipfile to describe project like package.json in node world.

Things to try

Num Py Examples

Where
  a = np.arange(5,10)
  np.where(a < 8)       # tell me where in a, entries are < 8
  (array([0, 1, 2]),)   # answer: entries indexed by 0, 1, 2
  
  a[np.where(a < 8)]    # Pick the indices values from array 
  array([5, 6, 7])      # selects from a entries 0, 1, 2