-
# Spark 简介以及与 Hadoop 的对比
## 1 Spark 简介
### 1.1 Spark 概述
Spark 是 UC Berkeley AMP lab 所开源的类 Hadoop MapReduce 的通用的并行计算框架,Spark 基于 map reduce 算法实现的分布式计算,拥有 Hadoop MapReduce 所具有的优点;但不同于 MapReduce 的是 Job Job 中间输出和结果可以保存在内存中,从而不再需要读写 HDFS,因此 Spark 能更好地适用于数据挖掘与机器学习等需要迭代的 map reduce 的算法。
### 1.2 Spark 核心概念
#### 1.2.1 弹性分布数据集(RDD)
RDD 是 Spark 的最基本抽象, 是对分布式内存的抽象使用, 实现了以操作本地集合的方式来操作分布式数据集的抽象实现。RDD 是 Spark 最核心的东西 MapReduce 大量的磁盘 IO 操作。这对于迭代运算比较常见的机器学习算法, 交互式数据挖掘来说, 效率提升比较大。
#### 1.2.2 RDD 的转换与操作
对于 RDD 可以有两种计算方式 :转换( 返回值还是一个 RDD )与操作( 返回值不是一个 RDD )
1. 转换(Transformations) (如:map, filter, groupBy, join 等),Transformations
0 码力 |
3 页 |
172.14 KB
| 2 年前 3
-
'RSOLite'
January 21, 2024
Title SQLite Interface for R
Version 2.3.5
Date 2024-01-20
Description Embeds the SQLite database engine in R and provides an interface compliant with the DBI package.
License LGPL (>= 2.1)
URL https://rsqlite.r-dbi.org, https://github.com/r-dbi/RSQLite
BugReports https://github.com/r-dbi/RSQLite/issues
Depends R (>= 3.1.0)
Imports bit64, blob ( $ \geq $ 'SQLiteConnection.R' 'SQLKeywords_SQLiteConnection.R' 'SQLiteDriver.R' 'SQLite.R' 'SQLiteResult.R' 'coerce.R' 'compatRowNames.R' 'copy.R' 'cpp11.R'
0 码力 |
16 页 |
119.52 KB
| 2 年前 3
-
Element Plus 和 Ant Design Vue 对比测评,哪个更好?
作者:HiJiangChuan
原文链接:https://ld246.com/article/1649305618750
来源网站:链滴
许可协议:署名-相同方式共享4.0国际(CC BY-SA 4.0)
# Element Plus 和 Ant Design Vue 对比测评
卡拉云 kalacloud.com
本文首发:《Element 本文首发:《Element Plus 和 Ant Design Vue 对比测评,哪个更好?》
Vue 3 发布后,各家第三方库开始陆续重构并支持 Vue 3,国内两大知名框架 Element Plus 和 Ant Design Vue 也相续发布新版支持 Vue 3。到底应该怎么选择呢?本文从多个维度对两个框架进行对比测评。
## ant-design-vue vs element-plus
的框架之一,新版本解决了很多 Vue 用户群在旧版本喜欢的「单向数据流 value + change event」,实现了全 v-model 使用组件。
## 维护状态
Element Plus 与 Element UI 一样依然是饿了么团队开发支持和维护。前段时间传闻 Element UI 无维护,不更新了。其实只是团队在全力开发 Element Plus 而已。Element 团队的迭代速度有目共睹可放心使用。
0 码力 |
5 页 |
387.25 KB
| 2 年前 3
-
Google’s R Style Guide
## Google’s R Style Guide
R is a high-level programming language used primarily for statistical computing and graphics. The goal of the R Programming Style Guide is to make our R code The rules below were designed in collaboration with the entire R user community at Google.
## Summary: R Style Rules
1. File Names: end in .R
2. Identifiers: variable.name (or variableName), FunctionName Calls
13. Function Documentation
14. Example Function
15. TODO Style: TODO(username)
## Summary: R Language Rules
1. attach: avoid using it
2. Functions: errors should be raised using stop()
3. Objects
0 码力 |
8 页 |
47.42 KB
| 2 年前 3
-
other Languages 477
38.1 Noteworthy differences from MATLAB 477
38.2 Noteworthy differences from R 479
38.3 Noteworthy differences from Python 482
38.4 Noteworthy differences from C/C++ 484
38.5 Noteworthy
Because Julia's compiler is different from the interpreters used for languages like Python or R, you may find that Julia's performance is unintuitive at first. If you find that something is slow provides ease and expressiveness for high-level numerical computing, in the same way as languages such as R, MATLAB, and Python, but also supports general programming. To achieve this, Julia builds upon the lineage
0 码力 |
1692 页 |
6.33 MB
| 1 年前 3
-
## debian
Référence Debian
Osamu Aoki
Copyright © 2013-2024 Osamu Aoki
Ce guide de
référence Debian (version 2.124) (2024-06-30 04:06:30 UTC) est destiné à procurer un large aperçu du système Debian
| TITRE :Référence Debian | |
| ACTION | NOM | DATE | SIGNATURE |
| RÉDIGÉ PAR | Osamu Aoki | 30 juin l'invite de l'interpréteur de commandes ..... 4
1.1.8 Comment arrêter le système ..... 4
1.1.9 Récupérer une console propre ..... 4
1.1.10 Suggestions de paquets supplémentaires pour le débutant 0 码力 |
279 页 |
1.47 MB
| 1 年前 3 -
other Languages 477
38.1 Noteworthy differences from MATLAB 477
38.2 Noteworthy differences from R 479
38.3 Noteworthy differences from Python 482
38.4 Noteworthy differences from C/C++ 484
38.5 Noteworthy
Because Julia's compiler is different from the interpreters used for languages like Python or R, you may find that Julia's performance is unintuitive at first. If you find that something is slow provides ease and expressiveness for high-level numerical computing, in the same way as languages such as R, MATLAB, and Python, but also supports general programming. To achieve this, Julia builds upon the lineage 0 码力 |
1691 页 |
6.34 MB
| 1 年前 3 -
## 《Deepseek R1 本地部署完全手册》
版权归:HomeBrew Ai Club
作者wechat:samirtan
版本:V2.0
更新日期:2025年2月8日
## 一、 简介
Deepseek R1 是支持复杂推理、多模态处理、技术文档生成的高性能通用大语言模型。本手册为技术团队提供完整的本地部署指南,涵盖硬件配置、国产芯片适配、量化方案、云端替代方案及完整671B
• 个人用户:不建议部署32B及以上模型,硬件成本极高且运维复杂。
• 企业用户:需专业团队支持,部署前需评估ROI(投资回报率)。
## 二、 本地部署核心配置要求
### 1. 模型参数与硬件对应表
|模型参数|Windows 配置要求|Mac 配置要求|适用场景|
|---|---|---|---|
|1.5B|\- RAM: 4GB- GPU: 集成显卡/现代CPU- 存储: 5GB|\- 力需求|
|---|---|---|---|---|
|DeepSeek-R1 (671B)|671B|FP8|≥890GB|2\*XE9680 (16\*H20 GPU)|
|DeepSeek-R1-Distill-70B|70B|BF16|≥180GB|4\*L20 或 2\*H20 GPU|
## 三、 国产芯片与硬件适配方案
### 1. 国内生态合作伙伴动态
|企业|适配内容|性能对标(vs 0 码力 |
7 页 |
932.77 KB
| 1 年前 3 -
# Dessiner de l'UML avec PlantUML
#### Guide de référence du langage PlantUML (Version 1.2021.2)
PlantUML est un composant qui permet de dessiner rapidement des:
• diagrammes de séquence
• diagrammes (hors UML) sont aussi possibles:
• données au format JSON
• données au format YAML
• diagrammes de réseaux (nwdig)
• maquettes d'interface graphique (salt)
• diagrammes Archimate
• diagrammes de améliorer la lisibilité du texte source. Ceci est uniquement vrai pour les diagrammes de séquences, les règles sont différentes pour les autres diagrammes.
@startuml
Alice -> Bob: Authentication Request 0 码力 |
406 页 |
4.24 MB
| 2 年前 3 -
PlantUML

#### Guide de référence du langage PlantUML (Version 1.2019.6)
PlantUML est un composant qui permet de dessiner rapidement améliorer la lisibilité du texte source. Ceci est uniquement vrai pour les diagrammes de séquences, les règles sont différentes pour les autres diagrammes.
@startuml
Alice -> Bob: Authentication Request -> server : conReq
hnote over caller : idle
caller <- server : conConf
rnote over server
"r" as rectangle
"h" as hexagon
endrnote
@enduml
![Image](/uploads/documents/1/3/6/3/136 0 码力 |
174 页 |
1.91 MB
| 2 年前 3
|