Decision Trees

from pathlib import Path

DATA_DIR = Path("/kaggle/input")
if (DATA_DIR / "ucfai-core-fa18-decision-trees").exists():
    DATA_DIR /= "ucfai-core-fa18-decision-trees"
else:
    # You'll need to download the data from Kaggle and place it in the `data/`
    #   directory beside this notebook.
    # The data should be here: https://kaggle.com/c/ucfai-core-fa18-decision-trees/data
    DATA_DIR = Path("data")

Other Meetings in this Series

Read more

The world is complex, making it difficult for algorithms to come to solutions in reasonable amounts of time. To speed them along, we can employ Heuristics to get us significantly closer, faster. Today, we’ll try to approximate the Traveling Salesman Problem by using Simulated Annealing and Particle Swarm Optimization – two Heuristics which move us towards finding the shortest path we can use to visit all the destinations.

Read more

Support Vector Machines are a simple and powerful classification algorithm that perform well in nearly every situation. They're commonly used in image recognition, face detection, bioinformatics, handwriting recognition, and text categorization. The math behind it is pretty cool, as it relies upon embedding data into higher dimensional space to create linear divisions between categories. SVMs are a great resource to add to your data science toolkit, as they're relatively simple to understand and are also one of the best classification algorithms that do not involve neural networks.

Contributing Authors