Skip to content

Commit 2c5e30e

Browse files
committed
Clean up samples, make sure tests run, fix errors, add feature importance
1 parent 5b14c23 commit 2c5e30e

File tree

8 files changed

+1136
-1776
lines changed

8 files changed

+1136
-1776
lines changed

tables/automl/pom.xml

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,45 @@
1-
<!-- Copyright 2019 Google LLC. Licensed under the Apache License, Version
2-
2.0 (the "License"); you may not use this file except in compliance with
3-
the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
4-
Unless required by applicable law or agreed to in writing, software distributed
5-
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
6-
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
1+
<!-- Copyright 2019 Google LLC. Licensed under the Apache License, Version
2+
2.0 (the "License"); you may not use this file except in compliance with
3+
the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
4+
Unless required by applicable law or agreed to in writing, software distributed
5+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
6+
OR CONDITIONS OF ANY KIND, either express or implied. See the License for
77
the specific language governing permissions and limitations under the License. -->
8-
<project xmlns="http://maven.apache.org/POM/4.0.0"
9-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
8+
<project>
119
<modelVersion>4.0.0</modelVersion>
12-
1310
<groupId>com.google.cloud.automl.tables.samples</groupId>
1411
<artifactId>automl-tables</artifactId>
15-
<version>0.0.1-SNAPSHOT</version>
1612
<packaging>jar</packaging>
1713

18-
<name>automl-tables</name>
19-
<url>http://maven.apache.org</url>
14+
<!--
15+
The parent pom defines common style checks and testing strategies for our samples.
16+
Removing or replacing it should not affect the execution of the samples in anyway.
17+
-->
18+
<parent>
19+
<groupId>com.google.cloud.samples</groupId>
20+
<artifactId>shared-configuration</artifactId>
21+
<version>1.0.11</version>
22+
</parent>
2023

2124
<properties>
22-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2325
<maven.compiler.target>1.8</maven.compiler.target>
2426
<maven.compiler.source>1.8</maven.compiler.source>
27+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2528
</properties>
2629

2730
<dependencies>
2831
<!-- [START automl_tables_java_dependencies] -->
2932
<dependency>
3033
<groupId>com.google.cloud</groupId>
3134
<artifactId>google-cloud-automl</artifactId>
32-
<version>0.86.0-beta</version>
35+
<version>0.115.0-beta</version>
3336
</dependency>
3437
<!-- [END automl_tables_java_dependencies] -->
38+
<dependency>
39+
<groupId>com.google.cloud</groupId>
40+
<artifactId>google-cloud-storage</artifactId>
41+
<version>1.100.0</version>
42+
</dependency>
3543
<dependency>
3644
<groupId>net.sourceforge.argparse4j</groupId>
3745
<artifactId>argparse4j</artifactId>
@@ -42,19 +50,19 @@
4250
<dependency>
4351
<groupId>junit</groupId>
4452
<artifactId>junit</artifactId>
45-
<version>4.12</version>
53+
<version>4.13-beta-3</version>
4654
<scope>test</scope>
4755
</dependency>
48-
<dependency>
49-
<groupId>org.apache.commons</groupId>
50-
<artifactId>commons-csv</artifactId>
51-
<version>1.6</version>
52-
</dependency>
5356
<dependency>
5457
<groupId>com.google.truth</groupId>
5558
<artifactId>truth</artifactId>
56-
<version>0.41</version>
59+
<version>1.0</version>
5760
<scope>test</scope>
5861
</dependency>
62+
<dependency>
63+
<groupId>org.apache.commons</groupId>
64+
<artifactId>commons-csv</artifactId>
65+
<version>1.6</version>
66+
</dependency>
5967
</dependencies>
6068
</project>

tables/automl/resources/predictTest.csv

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)