Introduction
Imagine using a powerful tool that helps solve many problems but also uses a lot of energy and resources. This is the challenge with artificial intelligence (AI), which can affect the environment in several ways.
Jump into concepts and practice - no test required
Think of AI like a giant factory that makes useful products but uses a lot of electricity and water, and creates waste. Just like factories, if not managed well, it can harm the environment.
┌───────────────────────────────┐ │ Environmental Impact │ │ of AI │ ├─────────────┬─────────────┬────┤ │ Energy │ Hardware │ Data│ │ Consumption │ Production │Center│ │ │ │Impact│ ├─────────────┴─────────────┴────┤ │ E-Waste Generation │ ├───────────────────────────────┤ │ Efforts to Reduce Impact │ └───────────────────────────────┘
energy_per_epoch = 50 # kWh epochs = 10 carbon_per_kwh = 0.4 # kg CO2 carbon_footprint = energy_per_epoch * epochs * carbon_per_kwh print(carbon_footprint)
energy_per_epoch = 40 epochs = '10' carbon_per_kwh = 0.3 carbon_footprint = energy_per_epoch * epochs * carbon_per_kwh print(carbon_footprint)