Skip to content

Commit e8cf5c3

Browse files
1.22版本更新 合并至 master (#9)
* 文档更新 * 更新其中的1.17版本官方文档 * 开始新版本1.18的开发 开始开发任务 * update * 新增矩阵 AGG 函数的逻辑实现 * update * 新增边框对象 * update * update * 完善模板匹配函数的实现,增加步长,提升效率。 * update * update * 矩阵开始被归一化计算组件支持 * Update Case.md * update * 针对图像矩阵进行了合并功能的更新 * 针对IO数据流进行了优化。 * update * 为AS库添加第三方数据源支持,并允许通过摄像头获取到图像数据 * update * update * update * 更新HDFS数据IO组件 * update * 1.18版本发布 * 1.18版本发布,新版本已发布至maven * update log * 更新日志中英文文档链接 * update * 格式化文档 * Update Case.md * Update Case.md * Create sourceMaterial.md * update * 更新1.18版本的文档 * 更新主页文档 * 1.18-1.19版本开发开始 * update * 新增 单例数据DF对象,其在存在大量重复数据的场景下,内存将节省很多倍。 * update * update * update * update * 支持目标外绝矩形,图像监督分类两种模型的计算。 * Update sourceMaterial.md * Update sourceMaterial.md * Update sourceMaterial.md * update * update * 更新数学模型类 * 新增线性神经网络训练模型 * 数据输入设备对象升级 * Input HDFS 支持针对矩阵的输入操作 * 线性神经网络支持进行训练时的附加Task。 * update * update * 1.19版本上传至maven * 更新1.19版本代码,准备合并分支 * update * Update sourceMaterial.md * update * 更新了单层卷积神经网络模型 * update * update * Update sourceMaterial.md * update * Update sourceMaterial.md * Update sourceMaterial.md * Update sourceMaterial.md * Update sourceMaterial.md * Update sourceMaterial.md * Update ASMath.java * update * 更新本地文件数据集加载器 * Update Share.java * update * 为所有的操作数对象添加不同维度形状的数据类型计算操作,例如其支持矩阵与向量或单个数值之间的计算操作。 * 为所有的操作数对象都提供了父类到子类的转换实现。 * 拓展灵活性 * 矩阵与矩阵空间操作数对象支持维度重设操作。 * 针对图像矩阵对象,新增了均值池化操作 * 图像矩阵新增均值池化与分通道均值池化的常量处理模块。 * 准备更新1.20版本 * 更新文档 * 矩阵灵活性提升,单例池灵活性提升 * 支持 fill 一个数值类型的矩阵对象 * 支持 clear 单例单元格数据存储池 * update * 1.20版本发布 * 新版本更新 * 更新新版本文档 * 1.21版本开始开发 * 1.21版本正式发布 * 修复所有在2023年06月10号前所有已知的bug。 * 1.21版本开始开发 * 新增图像矩阵对象 * 新增 哈希图像矩阵对象,其能够实现像素点的复用,降低内存占用。 * update * 更新API操作方式 * update * 针对 DF 数据类型进行了更加完善的优化。 * 1.22版本上传 * 针对1.21版本的一个优化版本与小更新。
1 parent a75c68e commit e8cf5c3

30 files changed

+3284
-881
lines changed

AsLib/libBeardedManZhao.dll

0 Bytes
Binary file not shown.

README-Chinese.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ AS库目录有多个版本,如果希望查询不同版本的更新日志以及
2323
<dependency>
2424
<groupId>io.github.BeardedManZhao</groupId>
2525
<artifactId>algorithmStar</artifactId>
26-
<version>1.20</version>
26+
<version>1.22</version>
2727
</dependency>
2828
</dependencies>
2929
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ can add it to your maven project, or you can download it from Releases and manua
2929
<dependency>
3030
<groupId>io.github.BeardedManZhao</groupId>
3131
<artifactId>algorithmStar</artifactId>
32-
<version>1.20</version>
32+
<version>1.22</version>
3333
</dependency>
3434
</dependencies>
3535
```

src_code/.idea/scala_compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src_code/README-Chinese.md

Lines changed: 194 additions & 444 deletions
Large diffs are not rendered by default.

src_code/README.md

Lines changed: 209 additions & 372 deletions
Large diffs are not rendered by default.

src_code/pom.xml

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>io.github.BeardedManZhao</groupId>
77
<artifactId>algorithmStar</artifactId>
8-
<version>1.20</version>
8+
<version>1.22</version>
99
<packaging>jar</packaging>
1010
<name>algorithmStar</name>
1111
<description>algorithmStar-java</description>
@@ -33,6 +33,7 @@
3333

3434

3535
<dependencies>
36+
3637
<!-- 使用 log4j2 的适配器进行绑定 -->
3738
<dependency>
3839
<groupId>org.apache.logging.log4j</groupId>
@@ -57,17 +58,19 @@
5758
</dependency>
5859

5960
<dependency>
60-
<groupId>mysql</groupId>
61-
<artifactId>mysql-connector-java</artifactId>
62-
<version>8.0.32</version>
61+
<groupId>com.mysql</groupId>
62+
<artifactId>mysql-connector-j</artifactId>
63+
<version>8.0.33</version>
6364
<scope>provided</scope>
6465
</dependency>
66+
6567
<dependency>
6668
<groupId>org.apache.spark</groupId>
6769
<artifactId>spark-core_2.12</artifactId>
6870
<version>3.4.0</version>
6971
<scope>provided</scope>
7072
</dependency>
73+
7174
<dependency>
7275
<groupId>org.apache.spark</groupId>
7376
<artifactId>spark-sql_2.12</artifactId>
@@ -145,6 +148,34 @@
145148
<build>
146149
<!--发布到中央SNAPSHOT仓库插件-->
147150
<plugins>
151+
<!-- scala 编译插件 -->
152+
<plugin>
153+
<groupId>net.alchim31.maven</groupId>
154+
<artifactId>scala-maven-plugin</artifactId>
155+
<version>3.2.0</version>
156+
<executions>
157+
<execution>
158+
<id>compile-scala</id>
159+
<phase>process-resources</phase>
160+
<goals>
161+
<goal>add-source</goal>
162+
<goal>compile</goal>
163+
</goals>
164+
</execution>
165+
<execution>
166+
<id>scala-compile-first</id>
167+
<phase>compile</phase>
168+
<goals>
169+
<goal>add-source</goal>
170+
<goal>testCompile</goal>
171+
</goals>
172+
</execution>
173+
</executions>
174+
<configuration>
175+
<scalaVersion>2.12.14</scalaVersion>
176+
</configuration>
177+
</plugin>
178+
148179
<plugin>
149180
<groupId>org.sonatype.plugins</groupId>
150181
<artifactId>nexus-staging-maven-plugin</artifactId>

src_code/src/main/java/zhao/algorithmMagic/MAIN1.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66

77
import java.io.File;
88

9-
109
public class MAIN1 {
11-
12-
// 在 main 函数中进行模型的保存和读取以及使用
1310
public static void main(String[] args) {
1411
System.out.println(OperationAlgorithmManager.VERSION);
1512
if (args.length > 0) {

src_code/src/main/java/zhao/algorithmMagic/algorithm/OperationAlgorithmManager.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@
1818
* @author LingYuZhao
1919
*/
2020
public final class OperationAlgorithmManager implements OperationAlgorithm {
21-
public final static float VERSION = 1.20f;
21+
/**
22+
* AS version
23+
*/
24+
public final static float VERSION = 1.22f;
25+
2226
/**
2327
* 计算组件的日志打印开关,当此处值为false的时候,计算组件中的日志将不会被打印,logger也不会被调用,一般来说,这里为了减少冗余的字符串实例化操作,会设置为false,当需要调试的时候才需要打开此处的数值。
2428
* <p>

src_code/src/main/java/zhao/algorithmMagic/core/model/dataSet/Share.java

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ public final class Share {
8888
/**
8989
* 获取到训练的时候使用的图像样本。
9090
*
91-
* @param w 获取图像的尺寸-宽
92-
* @param h 获取图像的尺寸-高
93-
* @param urls 需要被获取的所有图像对应的URL
91+
* @param w 获取图像的尺寸-宽。
92+
* @param h 获取图像的尺寸-高。
93+
* @param urls 需要被获取的所有图像对应的URL。
94+
* @return 经过处理之后返回的所有数据矩阵叠加成为的矩阵空间对象。
95+
* @throws MalformedURLException URL 格式错误会抛出此异常。
9496
*/
9597
public static IntegerMatrixSpace[] getData(int w, int h, String... urls) throws MalformedURLException {
9698
IntegerMatrixSpace[] integerMatrixSpaces = new IntegerMatrixSpace[urls.length];
@@ -108,6 +110,8 @@ public static IntegerMatrixSpace[] getData(int w, int h, String... urls) throws
108110
* @param w 获取图像的尺寸-宽
109111
* @param h 获取图像的尺寸-高
110112
* @param urls 需要被获取的所有图像对应的URL
113+
* @return 经过处理之后返回的所有数据矩阵叠加成为的矩阵空间对象。
114+
* @throws MalformedURLException URL 格式错误会抛出此异常。
111115
*/
112116
public static IntegerMatrixSpace[] getData(int w, int h, String[]... urls) throws MalformedURLException {
113117
IntegerMatrixSpace[] integerMatrixSpaces = new IntegerMatrixSpace[urls.length * urls[0].length];
@@ -124,8 +128,10 @@ public static IntegerMatrixSpace[] getData(int w, int h, String[]... urls) throw
124128
/**
125129
* 获取到权重数据样本
126130
*
127-
* @param w 获取图像的尺寸-宽
128-
* @param h 获取图像的尺寸-高
131+
* @param w 获取图像的尺寸-宽
132+
* @param h 获取图像的尺寸-高
133+
* @param nameAndUrl 所有图像的名称以及其对应的URL的list。
134+
* @return 经过处理之后返回的所有数据矩阵叠加成为的矩阵空间对象。
129135
* @throws MalformedURLException 从网络中提取数据的异常
130136
*/
131137
public static List<KeyValue<String, IntegerMatrixSpace>> getImageWeight(int w, int h, List<KeyValue<String, String>> nameAndUrl) throws MalformedURLException {

0 commit comments

Comments
 (0)