Skip to content

Commit

Permalink
Merge pull request #685 from gnanaprakash-ravi/main
Browse files Browse the repository at this point in the history
Fix broken docs links
  • Loading branch information
sonalgoyal authored Oct 12, 2023
2 parents 7503f0c + a8ad0e4 commit ef1df31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/accuracy/definingOwn.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: To add blocking functions and how they work

# Defining Own Functions

You can add your own [blocking functions](https://github.com/zinggAI/zingg/tree/main/core/src/main/java/zingg/hash) which will be evaluated by Zingg to build the [blocking tree.](../zModels.md)
You can add your own [blocking functions](https://github.com/zinggAI/zingg/tree/main/common/core/src/main/java/zingg/common/core/hash) which will be evaluated by Zingg to build the [blocking tree.](../zModels.md)

The blocking tree works on the matched records provided by the user as part of the training. At every node, it selects the hash function and the field on which it should be applied so that there is the least elimination of the matching pairs. Say we have data like this:

Expand Down Expand Up @@ -49,8 +49,8 @@ Pair 1 is getting eliminated above, hence last1char is not a good function.&#x20

So, first1char(firstname) will be chosen. This brings near similar records together - in a way, clusters them to break the cartesian join.

These business-specific blocking functions go into [Hash Functions](https://github.com/zinggAI/zingg/tree/main/core/src/main/java/zingg/hash) and must be added to [HashFunctionRegistry](../../core/src/main/java/zingg/hash/HashFunctionRegistry.java) and [hash functions config](../../core/src/main/resources/hashFunctions.json).
These business-specific blocking functions go into [Hash Functions](https://github.com/zinggAI/zingg/tree/main/common/core/src/main/java/zingg/common/core/hash) and must be added to [HashFunctionRegistry](../../common/core/src/main/java/zingg/common/core/hash/HashFunctionRegistry.java) and [hash functions config](../../common/core/src/main/resources/hashFunctions.json).

Also, for similarity, you can define your own measures. Each dataType has predefined features, for example, [String](../../core/src/main/java/zingg/feature/StringFeature.java) fuzzy type is configured for Affine and Jaro.
Also, for similarity, you can define your own measures. Each dataType has predefined features, for example, [String](../../common/core/src/main/java/zingg/common/core/feature/StringFeature.java) fuzzy type is configured for Affine and Jaro.

You can define your own [comparisons](https://github.com/zinggAI/zingg/tree/main/core/src/main/java/zingg/similarity/function) and use them.
You can define your own [comparisons](https://github.com/zinggAI/zingg/tree/main/common/core/src/main/java/zingg/common/core/similarity/function) and use them.
2 changes: 1 addition & 1 deletion docs/stepbystep/installation/docker/shared-locations.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ The **zinggDir** location where model information is stored may use a shared loc
zingg.sh --phase label --conf config.json --zinggDir /location
```

Similarly, the output and data dir [configurations](../../../setup/configuration.md) inside config.json can be made using a shared location. Please ensure that the running user has access permissions for this location.
Similarly, the output and data dir [configurations](../../../stepbystep/configuration) inside config.json can be made using a shared location. Please ensure that the running user has access permissions for this location.

0 comments on commit ef1df31

Please sign in to comment.