Introduction to AI - UCLA CS161 - Lec1

这篇博客介绍了UCLA CS161课程,讲解了人工智能的基础概念和算法,并深入探讨了LISP语言,包括特殊操作符、列表操作及构造函数。
摘要由CSDN通过智能技术生成

Lecture 1

这个专栏用于记录自己上课的笔记和总结

Introduction

UCLA CS161 介绍AI的相关概念和算法以及LISP语言

LISP

Online IDE: https://jscl-project.github.io/

  • functional language
  • Lisp expression:
    • numeric
    • symbolic 象征的
    • boolean
    • branchiy
    • function expression
  • Atom
  • Prefix notation:
> (operator arg1... argn) 

The operator:

  • special operator ±
  • Function(user define built in)

E.g:

> (+ 137 349)
> 486
;------
> (- 1000 334)
> 666
  • atom 原子指不可分割的最小元素

Special operator

  • quote (‘)
> (quote (+ 3 1))
> (+ 3 1)
> '(+ 3 1)
> (+ 3 1)
  • Setq
> (setq x 3)
> 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值