DS-GA-1003 Lab2 Lasso and Coordinate Descent
This is my lab from DS-GA-1003 NYUI put all my code in my github
Import and Construct Dataset123456# Importimport numpy as npfrom scipy.optimize import minimizeimport pandas as pdimport matplotlib.pyplot as pltimport time
12345678910111213141516171819202122232425262728293031323334353637383940# Construct Dataroot_dir: str = "data//"file_ext: str = ".csv"delimiter: str = ","def get_path(file_name: str) -> str: return root_dir + file_name + file_extdef save_csv(f ...
Undergrad Operating System Overview
@[toc]
Chapter 2 Operating System Overviewoperating System definition(定义)
controls the execution of application programs
Acts as an interface between applications and hardware
Operating System Objectives (操作系统目标)
As User/Computer Interface —Convenience/方便Makes the computer more convenient to use
As Resource Manager—Efficiency /有效Allows computer system resources to be used in an efficient manner
As System Software—Ability to evolve /扩展Permit effective development, testing, and introduction of ne ...