首页 文章 精选 留言 我的

精选列表

搜索[scala],共2018篇文章
优秀的个人博客,低调大师

[ & Kotlin Java Scala 文章集锦]

Java 8 is a mature language and with more developers and a community to support its use in android development with great results and productivity and more developers are used to Java 8. Kotlin is safe, concise, interoperable, tool friendly and comes with data classes and other useful features below which java 8 does not offer. “Kotlin has way, way more to offer than Java 8. Here is just a sampling (in no particular order) Null-safetyType inferenceString interpolationData classesDelegationSmart castsConditionals as expressionsSealed classesThe when expressionExtension functionsCo-routines in 1.1 ... and I'm sure I've just scratched the surface”-What if the future of Kotlin when/if Java 8 becomes available on Android? • r/Kotlin How will Java 8 impact Kotlin?“Comparison to Java Programming LanguageSome Java issues addressed in KotlinKotlin fixes a series of issues that Java suffers fromNull references are controlled by the type system.No raw typesArrays in Kotlin are invariantKotlin has proper function types, as opposed to Java's SAM-conversionsUse-site variance without wildcards Kotlin does not have checked exceptions What Java has that Kotlin does notChecked exceptionsPrimitive types that are not classesStatic membersNon-private fieldsWildcard-types What Kotlin has that Java does notLambda expressions+Inline functions = performant custom control structuresExtension functionsNull-safetySmart castsString templatesPropertiesPrimary constructorsFirst-class delegationType inference for variable and property typesSingletonsDeclaration-site variance & Type projectionsRange expressionsOperator overloadingCompanion objectsData classesSeparate interfaces for read-only and mutable collectionsCoroutines Comparison to Java - Kotlin Programming Language footnotes:Kotlin vs. Java: First Impressions Using Kotlin | ArcTouchJava vs. Kotlin: Should You Be Using Kotlin for Android Development?10 Features I Wish Java Would Steal From the Kotlin LanguageJava vs. Kotlin: First Impressions Using Kotlin for a Commercial Android Project - DZone MobileJava 8 vs KotlinDoes Kotlin have better functional programming support than Java 8 streams and lambdas?Functional programming in Java 8, Kotlin and ScalaJava vs. Kotlin: Android Programming LanguagesWhat are the advantages of Kotlin over Java?Kotlin vs Java: key differences between Android's officially-supported languagesKotlin Programming Language

优秀的个人博客,低调大师

《Scala机器学习》一一第3章 使用Spark和MLlib

**第3章使用Spark和MLlib**上一章介绍了在全局数据驱动的企业架构中的什么地方以及如何利用统计和机器学习来处理知识,但接下来不会介绍Spark和MLlib的具体实现,MLlib是Spark顶层的机器学习库。Spark是大数据生态系统中相对较新的成员,它基于内存使用而不是磁盘来进行优化。数据仍然可以根据需要转储到磁盘上,但Spark只有在明确指示这样做或活动数据集不适合内存时才会执行转储。如果节点出现故障或由于某些原因从内存中擦除信息,Spark会利用存储的信息来重新计算活动数据集。这与传统的MapReduce方法不同,传统的MapReduce方法会将每个map或reduce的数据保留到磁盘上。Spark特别适合于在分布式节点集上的迭代或统计机器学习算法,并且可以对其进行扩展。对于Spark,唯一的问题是节点中可用的总内存

优秀的个人博客,低调大师

《Scala机器学习》一一第1章 探索数据分析

第1章 探索数据分析 在本书深入研究复杂的数据分析方法之前,先来关注一些基本的数据探索任务,这些任务几乎会占据数据科学家80%~90%的工作时间。据估计,每年仅仅是数据准备、清洗、转换和数据聚合就有440亿美元的产值(Data Preparation in the Big Data Era by Federico Castanedo; Best Practices for Data Integration, O?Reilly Media, 2015)。即便如此,人们最近才开始把更多的时间花费在如何科学地开发最佳实践,以及为整个数据准备过程建立文档、教学材料的良好习惯上,这是一件令人惊讶的事情(Beautiful Data: The Stories Behind Elegant Data Solutions, edited by T

资源下载

更多资源
优质分享App

优质分享App

近一个月的开发和优化,本站点的第一个app全新上线。该app采用极致压缩,本体才4.36MB。系统里面做了大量数据访问、缓存优化。方便用户在手机上查看文章。后续会推出HarmonyOS的适配版本。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

用户登录
用户注册
修改密码
忘记密码